Community
Participate
Working Groups
Adding provides <a class>; gives a cryptic compile error: "Syntax error on token "provides", requires expected" I would expect that it tells me that "with" is missing. Check what javac "says". Test Case: provides Object;
Should be fixed in 4.7.2 or 4.7.3.
In the presence of restricted keywords, I'm not sure we have the means to influence syntax error messages a lot. Legally, we didn't see a keyword "provides", because we could not successfully parse a module declaration, so *all* restricted keywords are in fact identifiers in this file. Just saying. Still one option we could try: add parser rules for all incomplete variants of module directives and let Parser explicitly raise hand crafted syntax error messages.
Bulk move out of 4.8
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.