-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b157
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8175670 | 10 | Robert Field | P2 | Resolved | Fixed | b02 |
After defining a method
int square(int x)
I used the command /methods. The output is
jshell> /methods
| square (int)int
I’d show the method’s first line, just as Shift Tab does—that is
returnType methodName(parameterList)
All existing programmers already understand it. The current output will just be confusing to people learning the language.
int square(int x)
I used the command /methods. The output is
jshell> /methods
| square (int)int
I’d show the method’s first line, just as Shift Tab does—that is
returnType methodName(parameterList)
All existing programmers already understand it. The current output will just be confusing to people learning the language.
- backported by
-
JDK-8175670 jshell tool: /methods signature confusing/non-standard format
-
- Resolved
-