This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
2 JDK are defined in my Java Platform Manager : 1.6 which is the default one and 1.7 (from OpenJDK) I created a java project where I changed the current java platform to 1.7. When I debug this project et step into JDK classes, JDK 1.6 sources are displayed instead of JDK 1.7.
It works for me correctly. When I change project's platform, debugger opens the sources of the given platform. (In NB 6.7.1, but I believe that 6.7 also works this way). What kind of projects do you have? I've tested J2SE projects created by NetBeans through: New Project -> Java -> Java Application.
I also have a J2SE project and I use the 6.7.1 NB version.
I installed another JDK (1.5) and I have the same problem. I change project's platform to 1.5 and debugger still opens the default JDK sources (which is 1.6 for me). That's strange because navigation (Navigate -> Go to source) works fine.
This bug is not present in the dev build (200908171401), but he is in the 6.7.1 (200907230233, up to date). A correction should have already been done.
Since this is already fixed in the dev build and it cannot be made into a patch (fix changeset unknown), marking as WONTFIX.
closing incomplete issues