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

Upgrading to Java 23 with RELEASE250 causes cannot find symbol variable Bundle compile error #8399

Closed
jdsmithsos opened this issue Apr 6, 2025 · 2 comments
Labels
kind:bug Bug report or fix Maven [ci] enable "build tools" tests Platform [ci] enable platform tests (platform/*)

Comments

@jdsmithsos
Copy link

Apache NetBeans version

Apache NetBeans 25

What happened

Upgrading from Java 21 to 23 causes NetBeans RELEASE250 to not generate the Bundle class.
For some reason when using Java 23 the nbm-maven-plugin is not generating the required Bundle class.
This works in Java 21.

Language / Project Type / NetBeans Component

Java 23, nbm-maven-plugin

How to reproduce

Use Java 23 and NetBeans RELEASE250 to build the project.

Did this work correctly in an earlier version?

Apache NetBeans 25

Operating System

Windows 11

JDK

Java 23 openjdk-23.0.2_windows-x64_bin

Apache NetBeans packaging

Apache NetBeans platform

Anything else

No response

Are you willing to submit a pull request?

No

@jdsmithsos jdsmithsos added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Apr 6, 2025
@matthiasblaesing
Copy link
Contributor

You are seeing most probably this: https://inside.java/2024/06/18/quality-heads-up/

Check that you instruct the maven-compiler plugin to run all annotation processors (see: https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#proc, you most probably want <proc>full</proc>.

@mbien mbien added Maven [ci] enable "build tools" tests Platform [ci] enable platform tests (platform/*) and removed needs:triage Requires attention from one of the committers labels Apr 7, 2025
@mbien
Copy link
Member

mbien commented Apr 7, 2025

added a how-to guide: #8402, closing.

@mbien mbien closed this as completed Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Bug report or fix Maven [ci] enable "build tools" tests Platform [ci] enable platform tests (platform/*)
Projects
None yet
Development

No branches or pull requests

3 participants