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.
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.
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.
thanks. this will help as a workaround for now.