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.
Product Version = NetBeans IDE Dev (Build 201606020002) Operating System = Linux version 4.4.0-22-generic running on amd64 Java; VM; Vendor = 1.8.0_91 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.91-b14 Reproducibility: Happens every time STEPS: 1* download JDK 9 (actual: build 120) 2* launch jshell 3* /set editor netbeans-dev-201606020002/bin/netbeans 4* enter Java stetement 5* /edit --> Netbeans will be started if not yet running, Java statements of jshell session will be displayed 6* modify or add statement(s) 7* press ctrl+S to save --> jshell uses the modified commands 8* open terminal window (window, ide tools, terminal) 9* perform steps 2* to 7* using the terminal window --> jshell ignores the modified data
Created attachment 159948 [details] IDE log
in 3* /set editor netbeans-dev-201606020002/bin/netbeans replace the path with the appropriate path to you nb folder
This seems to be a jshell issue. The same problem appears if I use a different editor like gedit: If spawned from jshell, it is ok. If already running, all changes of the snippet will be ignored by jshell. Thus, I'm going to close this issue.