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

Bug Report: Schema2BeansProcessor in payara-web does not support JDK 17 #6748

Closed
Jle-github opened this issue Jun 7, 2024 · 4 comments
Closed
Assignees

Comments

@Jle-github
Copy link

Brief Summary

After updating the maven-compiler-plugin from version 3.8.1 to 3.13.0 using JDK17 the compiler shows a warning:
LEVEL: WARNING, MESSAGE: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.schema2beansdev.Schema2BeansProcessor' less than -source '17'

For me it looks like that org.netbeans.modules.schema2beansdev.Schema2BeansProcessor does only support JDK7 as its annotated with "@SupportedSourceVersion(SourceVersion.RELEASE_7)".
This problem only occurs if i add fish.payara.extras:payara-embedded-web:6.2024.5 to a maven project and configure the maven-compiler-plugin in pom with version 3.13.0.

Expected Outcome

The class org.netbeans.modules.schema2beansdev.Schema2BeansProcessor supports JDK 17 and no compiler warning is shown using fish.payara.extras:payara-embedded-web:6.2024.5 as dependency.

Current Outcome

maven-compiler-plugin with version 3.13.0:
LEVEL: WARNING, MESSAGE: Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.schema2beansdev.Schema2BeansProcessor' less than -source '17'

Reproducer

Create a new maven based project and add fish.payara.extras:payara-embedded-web:6.2024.5 as dependency.
Use JDK 17 for compiler and the maven-compiler-plugin with version 3.13.0

Operating System

Windows 10 Pro

JDK Version

OpenJdk 17

Payara Distribution

Payara Embedded Web

@Jle-github Jle-github added Status: Open Issue has been triaged by the front-line engineers and is being worked on verification Type: Bug Label issue as a bug defect labels Jun 7, 2024
@artur-mal
Copy link

I couldn't reproduce the issue.
Could you share your reproducer? Also, are you using an IDE or the command line to compile your project?

@artur-mal artur-mal added Status: Pending Waiting on the issue requester to give more details or share a reproducer and removed Status: Open Issue has been triaged by the front-line engineers and is being worked on verification labels Jul 12, 2024
@github-actions github-actions bot added Status: Abandoned User has not supplied reproducers for bug report, soon to be closed if user doesn’t come back and removed Type: Bug Label issue as a bug defect Status: Pending Waiting on the issue requester to give more details or share a reproducer labels Jul 18, 2024
Copy link

Greetings,
It's been more than 5 days since we requested more information or an update from you on the details of this issue. Could you provide an update soon, please?
We're afraid that if we do not receive an update, we'll have to close this issue due to inactivity.

Copy link

Greetings,
It's been more than 5 days since this issue was identified as abandoned.
We have closed this issue due to inactivity, please feel free to re-open it if you have more information to share.

@github-actions github-actions bot removed the Status: Abandoned User has not supplied reproducers for bug report, soon to be closed if user doesn’t come back label Jul 23, 2024
@Jle-github
Copy link
Author

Hi, here are the steps to reproduce it:

  1. Install OPEN JDK 17
  2. Install Maven 3.9.7
  3. mvn archetype:generate -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.5
  4. Add this dependency to your pom.xml:
fish.payara.extras payara-embedded-web 6.2024.9
  1. mvn clean install -DskipTests

Now in the build logs you will find this warning:
"[WARNING] Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.schema2beansdev.Schema2BeansProcessor' less than -source '17'"

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

No branches or pull requests

2 participants