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 268510

Summary: Missing and incorrectly named JShell commands
Product: java Reporter: Paul Deitel <pdeitel>
Component: JShellAssignee: Svata Dedic <sdedic>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Paul Deitel 2016-10-13 14:52:04 UTC
1. The /imports command is missing.

2. The /classes command in JShell is named /types. The NetBeans JShell plugin should use the same names as the command0line jshell tool.

3. If there are other JShell command-line-tool commands that will not be implemented in the NetBeans JShell plug-in, these should be listed in the help documentation somewhere, perhaps with a brief mention of why. Some will be obvious--for example, there's no need to configure a text editor with "/set editor".
Comment 1 Svata Dedic 2016-12-01 13:48:14 UTC
With jet-main#d965ddd6800a, I've integrated (almost) the original tools code. The /set command is deliberately missing as changing the prompt would break the console parsing.