Bug 270692 - Ability to provide jshell commandline-flags
Ability to provide jshell commandline-flags
Status: NEW
Product: java
Classification: Unclassified
Component: JShell
Dev
PC Windows 7
: P3 (vote)
: TBD
Assigned To: Svata Dedic
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-20 17:57 UTC by 38leinaD
Modified: 2017-05-22 12:54 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 38leinaD 2017-05-20 17:57:09 UTC
E.g. to access incubating features like the new httpclient, there is the need to start jshell with "./jdk-9_168/bin/jshell --add-modules jdk.incubator.httpclient".
For the jshell within netbeans there seems to be no way to customize/configure this. If i am not missing anything, there seems to be no possibility today to use incubating features from within jshell within netbeans.
Comment 1 Svata Dedic 2017-05-20 19:46:07 UTC
It's not possible currently, but I can suggest a workaround - make a project that requires that module in its module-info. Then use Execute JShell from the project's popup menu. JShell should launch using the project configuration and should get the add-module option.
Comment 2 38leinaD 2017-05-22 12:54:07 UTC
thanks. this will help as a workaround for now.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo