-
Notifications
You must be signed in to change notification settings - Fork 352
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
Upgrade Gaffer to build with Java 8 and Java 11 #2300
Comments
Edited description to remove modularisation from the scope of this ticket. This will be added as an issue once the upgrade has happened. |
The work required for the Java 11 upgrade has been drafted in the |
If that work does not belong in this issue, then please will you open a new issue to cover it? I don't want those code changes to get lost |
The migration of the improved integration tests is specific to this ticket as that work is only required for the Java upgrade. It's not required for any other purpose - the tests are fine for Java 8 but do not compile under Java 11. |
* Allow for upgrading Accumulo to latest 1.x version Required a change to remove use of Accumulo Base64 class. See this accumulo commit for removal: apache/accumulo@bcc8379#diff-c3f45f5bc091b19c94783c4ca893678cd5c9ccf607b470dfd9398e3fd96ab164 This for the changes required: apache/accumulo@bcc8379#diff-c64c9d73232d8e218d29a912a080ee8f691d88c94b2005058b86962d9ef0eec9 * Fix Javadoc to work with HTML5, as required by Java 11 Also remove incorrect <p> elements causing warnings * Add javax.annotation dependency for Java 11 * Add manual cast to fix strict Java 11 type checking * Remove redundent ArrayList usage This fixes a type casting problem in Java 11 * Remove use of internal API, add missing tests Internal API should not be used and is not available in Java 11. Added two tests to cover arrays and generic arrays; this ensures coverage of the modified code paths. * Add a profile for use with Java 11 Uses the newest Hadoop, only 3.3.0 and above can be used with Java 11 * Fix lamda which is ambiguous with Java 11 * Add JAXB dependency - required for Java 11 * Move Spark version properties to parent POM Also include Java 11 compatible versions in the Java 11 profile * Add property for javax.xml.bind dependency version also relocate version properties which were above the section
Closed by #2624 |
Radical descoping of original issue:
The scope of this change is to make Gaffer able to be built as a Java 11 project as well as the current Java 8.
Actually adopting Java 11 is on hold for now, so we will not be leveraging any of the new features in post-Java 8 versions such as better integration with container technologies, the JShell and new language features.
The text was updated successfully, but these errors were encountered: