Skip to content

Commit

Permalink
Fix build for JDK 21
Browse files Browse the repository at this point in the history
* Use `Annotation.annotationType().getName()` instead of `toString()`
* Also update the style to latest Eclipse version
* Also make the code to convert classpath elements to URLs easier to
  read using a separate converter function and a stream
  • Loading branch information
ctubbsii committed Jul 24, 2024
1 parent 8913975 commit 925d716
Show file tree
Hide file tree
Showing 3 changed files with 390 additions and 349 deletions.
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
</scm>
<properties>
<formatter.configFile>src/build/eclipse-java-style.xml</formatter.configFile>
<formatter.lineEnding>AUTO</formatter.lineEnding>
<invoker.streamLogs>true</invoker.streamLogs>
<maven.compiler.release>8</maven.compiler.release>
</properties>
Expand Down
Loading

0 comments on commit 925d716

Please sign in to comment.