Skip to content

Pin orchestra dependency to last Java 8-compatible release; add bytecode enforcer - #75

Draft
chrjohn with Copilot wants to merge 1 commit into
masterfrom
copilot/downgrade-dependency-version
Draft

chrjohn with Copilot wants to merge 1 commit into
masterfrom
copilot/downgrade-dependency-version

Conversation

Copilot AI commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

io.fixprotocol.orchestra:repository:1.7.3 advertises Multi-Release: true but violates the spec: its base classes are compiled at bytecode version 55 (Java 11), not 52 (Java 8). JDK8 fails with class file has wrong version 55.0, should be at most 52.0. Version 1.6.8 is the last compatible release.

Changes

  • pom.xml — comment on orchestra.repository.version explaining the 1.6.x ceiling; adds maven-enforcer-plugin with EnforceBytecodeVersion (via extra-enforcer-rules:1.9.0) to fail the build if any dependency introduces bytecode > Java 8 (module-info.class excluded)
  • .github/dependabot.yml — ignores io.fixprotocol.orchestra:repository >= 1.7 to prevent Dependabot from re-proposing the breaking upgrade

Copilot AI changed the title Fix JDK8 compile error: pin orchestra dependency and add bytecode enforcer Pin orchestra dependency to last Java 8-compatible release; add bytecode enforcer Aug 1, 2026
Copilot AI requested a review from chrjohn August 1, 2026 12:22
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.

2 participants