Support building with JDK 21 (#234)

- Update google-java-format to a version compatible with JDK 21 and run "gw spotlessApply".
- Fix wrong test assumption
  JavaCodeGenerator writes a properties file using java.util.Properties,
  which doesn't guarantee order of entries.
- Fix most deprecation warnings
- Add CI job for JDK 21
This commit is contained in:
translatenix authored and GitHub committed 2024-04-12 13:38:31 -07:00
1 parent f71323024c
commit 90b461aa58
13 files changed
+69 -35

No files matched your search

@@ -20,5 +20,6 @@ package org.pkl.tools;
*/
// TODO: figure out how to generate javadoc for a shadow jar.
@SuppressWarnings("unused")
public class Empty {
public final class Empty {
private Empty() {}
}