Open cruiztorresj opened 1 year ago
Apache NetBeans 17
Creating a new validation constraint (Bean Validation Section) through the UI Wizard still generates imports related to JavaEE even when the project is using JakartaEE 10.
import javax.validation.Constraint; import javax.validation.Payload;
Instead of
import jakarta.validation.Constraint; import jakarta.validation.Payload;
Now. I am not sure if this is actually a bug or even an issue, because some folks may still be using NetBeans to develop JavaEE Applications.
Steps to reproduce it.
Fulfill the required information. e.g.
You will see the aforementioned imports.
No / Don't know
Windows 11, NetBeans 17 is being run over WSL2 (Ubuntu 22.04.2 LTS)
java version "17.0.5" 2022-10-18 LTS Java(TM) SE Runtime Environment (build 17.0.5+9-LTS-191) Java HotSpot(TM) 64-Bit Server VM (build 17.0.5+9-LTS-191, mixed mode, sharing)
Apache NetBeans binary zip
Every time.
Yes
Duplicate of #4828
Apache NetBeans version
Apache NetBeans 17
What happened
Creating a new validation constraint (Bean Validation Section) through the UI Wizard still generates imports related to JavaEE even when the project is using JakartaEE 10.
Instead of
Now. I am not sure if this is actually a bug or even an issue, because some folks may still be using NetBeans to develop JavaEE Applications.
How to reproduce
Steps to reproduce it.
Fulfill the required information. e.g.
You will see the aforementioned imports.
Did this work correctly in an earlier version?
No / Don't know
Operating System
Windows 11, NetBeans 17 is being run over WSL2 (Ubuntu 22.04.2 LTS)
JDK
java version "17.0.5" 2022-10-18 LTS Java(TM) SE Runtime Environment (build 17.0.5+9-LTS-191) Java HotSpot(TM) 64-Bit Server VM (build 17.0.5+9-LTS-191, mixed mode, sharing)
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
Every time.
Are you willing to submit a pull request?
Yes