epliskin opened a new issue, #4669: URL: https://github.com/apache/netbeans/issues/4669
### Apache NetBeans version Apache NetBeans 15 ### What happened My Maven Java project includes some classes with non-ascii names. Suppose I place some error in one of this files and start build in IDE. Then NetBeans console displays error messages with distorted file names. Messages look like what you can see opening UTF-8 text file with wrong "windows-1251" encoding. The Maven log in separate file (maven install > log) contains correct filenames in UTF-8 encoding but in the NetBeans output build panel those error messages look corrupt. The problem is specific to JDK 17 (with netbeans_jdkhome="C:\Program Files\Java\jdk-17" in netbeans.conf file) as opposed to JDK 15. When I set "netbeans_jdkhome" to JDK 15 then error messages in the NetBeans output build panel display correct UTF-8 class names. The "netbeans_default_options" in my "netbeans.conf" file includes "-J-Dfile.encoding=UTF-8" clause. The Windows environment variable JAVA_TOOL_OPTIONS is set to "-Dfile.encoding=UTF-8". ### How to reproduce I believe the problem is easily reproducible with non-ascii Java class name containig some invalid identifier for example. ### Did this work correctly in an earlier version? No / Don't know ### Operating System Windows 10 ### JDK OpenJDK 17 ### 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
