Gaffer icon indicating copy to clipboard operation
Gaffer copied to clipboard

Make use of Java 11 features/improvements

Open GCHQDeveloper314 opened this issue 1 year ago • 2 comments

Describe the new feature you'd like Gaffer to make use of Java 11 code features/improvements.

Why do you want this feature? Currently the codebase can be built with Java 8 and Java 11, this means Java 11 specific improvements cannot be used in the codebase. Once support for Hadoop & Accumulo versions which require Java 8 compatibility has been dropped, Java 11 only code can be introduced.

Using Java 11 code features will allow for improved code quality, readability and reduced reliance on 3rd party dependencies (e.g. Guava).

Additional context A previous discussion about how Java 9+ try with resources could be used to improve the code can be found here.

GCHQDeveloper314 avatar Feb 01 '23 17:02 GCHQDeveloper314