| Summary: | [syntax highlighting] requires static is not highlighted correctly in module-info.java | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Lukas Eder <lukas.eder> |
| Component: | UI | Assignee: | Noopur Gupta <noopur_gupta> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | noopur_gupta |
| Version: | 4.7.3 | ||
| Target Milestone: | 4.8 M7 | ||
| Hardware: | PC | ||
| OS: | Windows 10 | ||
| Whiteboard: | |||
*** This bug has been marked as a duplicate of bug 532735 *** |
Create a module-info.java file as follows: module x { requires static java.compiler; } The keyword "static" should be highlighted as a keyword, but it currently isn't. See also: https://docs.oracle.com/javase/specs/jls/se10/html/jls-7.html#jls-RequiresModifier