-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug with multiple java pragmas in one line #652
Comments
It seems the following example worked before, but not yet anymore. However, it actually shouldn't have worked, because of this comment:
|
RCAThis change changed the order how the options are being parsed. If the options are in one line and not in the exact parse order, the parser does not remove the options before forwarding the code to java compiler; and that causes the observed issue. Next stepsPlan is to make the parser more robust and independent of the order of the languages specific options. Rules for the new parser implementation
Implementation detailsImplement new parser using a simple state machine (likely character based) which checks for the pattern above. |
Blocked because needs also changes in the DB |
The currently accepted solution is only a workaround. |
Background
This one works everywhere (as you understand, any JAR can be used as we don't access its methods):
and this one
fails in 7.1.11 (complains on percent in the beginning of %jvmoption):
The text was updated successfully, but these errors were encountered: