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 building with JDK 10 and 11 #13

Closed
l0s opened this issue Oct 4, 2020 · 0 comments · Fixed by #14
Closed

Support building with JDK 10 and 11 #13

l0s opened this issue Oct 4, 2020 · 0 comments · Fixed by #14

Comments

@l0s
Copy link
Contributor

l0s commented Oct 4, 2020

As mentioned in #10, the build fails with JDK 10 and higher. Travis CI supports JDK 10 and 11 so at minimum, those versions should be supported.

JDK 10, 12, 14 issue:

[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ xsync ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to /Users/cmacasaet/var/git/xsync/target/test-classes
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by lombok.javac.apt.LombokProcessor to field com.sun.tools.javac.processing.JavacProcessingEnvironment.discoveredProcs
WARNING: Please consider reporting this to the maintainers of lombok.javac.apt.LombokProcessor
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.028 s
[INFO] Finished at: 2020-10-03T18:57:34-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile (default-testCompile) on project xsync: Fatal error compiling: java.lang.ExceptionInInitializerError: com.sun.tools.javac.code.TypeTags -> [Help 1]
l0s added a commit to l0s/xsync that referenced this issue Oct 4, 2020
This updates the CI configuration to build using JDKs 8, 10, and 11.
Locally, I tested using 8, 9, 10, 12, and 14. The build issues were
resolved by upgrading test and plugin dependencies and making minor code
changes.

Resolves: antkorwin#13
l0s added a commit to l0s/xsync that referenced this issue Jun 4, 2023
This updates the CI configuration to build using JDKs 8, 10, and 11.
Locally, I tested using 8, 9, 10, 12, and 14. The build issues were
resolved by upgrading test and plugin dependencies and making minor code
changes.

Resolves: antkorwin#13
l0s added a commit to l0s/xsync that referenced this issue Jun 4, 2023
Add version matrix to GitHub actions and fix test compilation error.

Resolves: antkorwin#13
l0s added a commit to l0s/xsync that referenced this issue Jun 4, 2023
Fix build error on JDK 17

Resolves: antkorwin#13
l0s added a commit to l0s/xsync that referenced this issue Jun 4, 2023
Delete file that was removed upstream

Resolves: antkorwin#13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant