Skip to content
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

Support JDK 10 and added testing #242

Merged
merged 2 commits into from
Mar 23, 2018
Merged

Support JDK 10 and added testing #242

merged 2 commits into from
Mar 23, 2018

Conversation

smarr
Copy link
Owner

@smarr smarr commented Mar 23, 2018

This change adds support for JDK 10 in build.xml and works around a JDK 10 bug (we track the bug here via #241).

Because of an issue in javac, we need to provide a concrete ToArgumentsArrayFactory, which we can reference in annotations. Because of the bug, javac would abort before generating the actual factory.

@smarr smarr added the bug Fixes an issue, incorrect implementation label Mar 23, 2018
@smarr smarr added this to the v0.6.0 - Black Diamonds milestone Mar 23, 2018
@coveralls
Copy link

coveralls commented Mar 23, 2018

Coverage Status

Coverage increased (+0.01%) to 77.312% when pulling 3e118c0 on jdk10 into 3317ff4 on dev.

- recognize Java 10
- determine Java versions unconditionally
- update BD and give Java requirement as property
- update docs, for Java 9/10 we’ll need Eclipse Oxygen 4.7

Signed-off-by: Stefan Marr <[email protected]>
As detailed here: https://markmail.org/thread/v3kqlmtwfsokfaod
javac from JDK 10 onwards seems to have a bug in the parser.
We can work around by using a class that exists instead of waiting for the annotation processor to produce it.

Bug is reported as https://bugs.openjdk.java.net/browse/JDK-8200163

Signed-off-by: Stefan Marr <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes an issue, incorrect implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants