JaroslavTulach opened a new pull request #3036: URL: https://github.com/apache/netbeans/pull/3036
Bug report: Create single `Hello.java` in an empty folder, with its is main()... method. Run and debug using JDK8. `Hello.class` file appears in the same folder. Change JDK to JDK11. Debug it. Following output prints to Debug console and it does not debug: ``` Listening on 51317 User program running LineBreakpoint Hello.java : 3 successfully submitted. error: class found on application class path: Hello ``` This PR fixes the problem by recompiling the `.class` if it already exists and using `java -cp ...` just like on JDK8 even on newer JDKs in such case. -- 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
