title: JMeter 4 with JAVA version 10: An illegal reflective access operation has occurred
body: <p>I ran a test script[jmeter.bat] on Java 10 I get the following output:</p>
  
  <pre><code>WARNING: An illegal reflective access operation has occurred
  WARNING: Illegal reflective access by org.apache.jmeter.util.HostNameSetter (file:/opt/apache-JMeter-4.0/lib/ext/ApacheJMeter_core.jar) to method sun.security.ssl.SSLSocketImpl.setHost(java.lang.String)
  WARNING: Please consider reporting this to the maintainers of org.apache.jmeter.util.HostNameSetter
  WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
  WARNING: All illegal access operations will be denied in a future release
  </code></pre>
  
  <p>Sample result for a page:</p>
  
  <pre><code>Response code: Non HTTP response code: javax.net.ssl.SSLProtocolException
  Response Message: Non HTTP response message: handshake alert: Unrecognized name
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <h2>Heading</h2>