-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b144
-
Verified
JShell API: compilation fails if class, method or field is annotated and has modifiers: public, protected, static...
The problem is MaskCommentsAndModifiers erases them incorrectly.
-> @A public void f() {}
| Error:
| repeated modifier
| @A public void f() {}
| ^
--------
Note: full annotation syntax should be supported.
Note: int public y -- is treated as int y
The problem is MaskCommentsAndModifiers erases them incorrectly.
-> @A public void f() {}
| Error:
| repeated modifier
| @A public void f() {}
| ^
--------
Note: full annotation syntax should be supported.
Note: int public y -- is treated as int y
- duplicates
-
JDK-8131028 JShell: Annotation on public method does not work if annotation is placed before public modifier
-
- Closed
-