greenozon opened a new issue, #4425:
URL: https://github.com/apache/netbeans/issues/4425
### Apache NetBeans version
Apache NetBeans 14
### What happened
For some reason Netbeans issues an error on a regular java class:
```
import sun.invoke.util.BytecodeDescriptor;
````
error:
```
error: package sun.invoke.util does not exist
```
This is a regular package located in java's rt.jar
### How to reproduce
here is a minimalistic POC code to see the error:
```
package delme1;
import java.util.List;
import sun.invoke.util.BytecodeDescriptor;
public class Delme1 {
public static void main(String[] args) {
List<Class<?>> l =
sun.invoke.util.BytecodeDescriptor.parseMethod("test",
ClassLoader.getSystemClassLoader());
}
}
```
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Windows7 x64
### JDK
jdk1.8.0_331
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists