Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The profile jdk8 makes it hard to use this parent with JDK21 #480

Closed
pzygielo opened this issue Feb 21, 2024 · 1 comment · Fixed by #476
Closed

The profile jdk8 makes it hard to use this parent with JDK21 #480

pzygielo opened this issue Feb 21, 2024 · 1 comment · Fixed by #476

Comments

@pzygielo
Copy link

The profile jdk8 makes it hard to use this parent with JDK21, as for anything matching [1.8,] the version 2.43.0 (from main properties) is downgraded back to 2.30.0).
The result is

Error:  Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.30.0:check (spotless-check) on project idlj-maven-plugin: Execution spotless-check of goal com.diffplug.spotless:spotless-maven-plugin:2.30.0:check failed: An API incompatibility was encountered while executing com.diffplug.spotless:spotless-maven-plugin:2.30.0:check: java.lang.NoSuchMethodError: 'com.sun.tools.javac.tree.JCTree com.sun.tools.javac.tree.JCTree$JCImport.getQualifiedIdentifier()'

Originally posted by @pzygielo in #473 (comment)

@pzygielo pzygielo changed the title The profile `jdk8' makes it hard to use this parent with JDK21 The profile jdk8 makes it hard to use this parent with JDK21 Feb 21, 2024
@slawekjaranowski
Copy link
Member

@pzygielo please look at #476

@slawekjaranowski slawekjaranowski linked a pull request Feb 21, 2024 that will close this issue
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 a pull request may close this issue.

2 participants