Dell Green created NETBEANS-1639:
------------------------------------

             Summary: Inconsistent behaviour with java.net.http.HttpClient in 
Netbeans10-vc2
                 Key: NETBEANS-1639
                 URL: https://issues.apache.org/jira/browse/NETBEANS-1639
             Project: NetBeans
          Issue Type: Bug
          Components: cnd - Editor
    Affects Versions: 10.0
         Environment: NAME="Ubuntu"
VERSION="16.04.5 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.5 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/";
SUPPORT_URL="http://help.ubuntu.com/";
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/";
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial


Netbeans10-vc2
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)

            Reporter: Dell Green


Netbeans initially failed to autocomplete any of the new 
java.net.http.HttpClient classes when trying to import them. I had to manually 
type the import in full before it started working, however then I was then not 
able to ctrl-click on the class names to see the source code of HttpClient etc, 
other classes i could, like Duration

final var client = HttpClient.newBuilder()
 .version(HttpClient.Version.HTTP_1_1)
 .followRedirects(HttpClient.Redirect.NORMAL)
 .connectTimeout(Duration.ofSeconds(20))
.build();

 

 

it builds and runs fine.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to