aws / aws-toolkit-eclipse

(End of life: May 31, 2023) AWS Toolkit for Eclipse
http://aws.amazon.com/eclipse
Apache License 2.0
275 stars 178 forks source link

Support 2020 09 #218

Closed twasink closed 3 years ago

twasink commented 3 years ago

Issue #, if available: #217

Description of changes:

Adds support for compiling using Java 11. Adds support for the 2020-09 Eclipse release as a target.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

twasink commented 3 years ago

To get this compiling under Java 11 (though still with a Java 1.8 target), I needed to fix up a bunch of execution environments that were not SE-1.8 but used 1.8 features (like lambdas); I'm guessing the 1.8 compiler didn't enforce those.

In addition, I needed to add the javax.annotation-api module as a dependency, as it was removed from the default in Java 11.

With this, I was able to get it building on the command line. It doesn't build properly in Eclipse, though - Eclipse 2020-09 complains about not being able to find a number of DataTools related bundles, and I don't know enough about Eclipse plugin development to resolve them.

(Alas, this did not appear to solve my issue with the SimpleDB explorer)