Skip to content

Migrate to Java 11#1284

Open
vasiliy-mikhailov wants to merge 1 commit into
ontodev:masterfrom
vasiliy-mikhailov:bump-java-11
Open

Migrate to Java 11#1284
vasiliy-mikhailov wants to merge 1 commit into
ontodev:masterfrom
vasiliy-mikhailov:bump-java-11

Conversation

@vasiliy-mikhailov
Copy link
Copy Markdown

Resolves #935.

Migrates the build from Java 8 to Java 11. The project no longer compiles under Java 8 as-is — obographs-core 0.3.2 ships as Java-11 bytecode (class file version 55.0) — so this also unblocks the build.

Changes (via OpenRewrite Java8toJava11):

  • bump maven.compiler.source/target to 11
  • add jakarta.annotation-api (the javax.annotation module removed in JDK 11)
  • modernize Paths.getPath.of in ReportOperation

Verified locally: mvn test is green under Temurin 11 — all 171 tests pass.

Prepared with the open-source bump-java-version skill.

Bump source/target 1.8 -> 11, add jakarta.annotation-api (javax.annotation removed
in JDK 11), Paths.get -> Path.of. Green under Temurin 11 (171 tests, also unblocks
the broken Java-8 build).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate to Java 11

1 participant