This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270692 - Ability to provide jshell commandline-flags
Summary: Ability to provide jshell commandline-flags
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: JShell (show other bugs)
Version: Dev
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-20 17:57 UTC by 38leinaD
Modified: 2017-05-22 12:54 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


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.