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.
In a NB dev build running the 6.0 profiler on JDK 6, I open a dev NB module which is set to use JDK 5. I right-click the module and select Profile Project, and get a warning dialog: "The specification version of project Java Platform is greater than specification version of platform that will be used for profiling. [there may be problems etc.]" (note: English is poor here, get someone to review) Now what does this mean? What are the specification versions in question? The project currently uses source level 1.4 but is requested to run in a 1.5 VM (in my nbbuild/user.build.properties); nothing unusual there. What, exactly, is the platform that will be used for profiling? Tools > Options > Profiler > Profiler Platform also says 1.5. I guess I could set that to be platform used in project, but I don't know if the profiler understands Java platform settings for NB modules. In fact if I just accept the dialog, everything seems fine. So what was it warning me about?
Note: "everything seems fine" was maybe optimistic; in fact in the middle of the action I was trying to profile, my target IDE hung (no CPU) and had to be killed. But this is maybe something unrelated.
Currently there is only limited and not very "friendly" support for profiling NetBeans modules using the Profiler. We know about this problem and will improve this area in future. We will appreciate any other feedback on this topic.
Changing target milestone to dev, since NetBeans 6.0 is in high resistance mode.
Should be fixed now (http://hg.netbeans.org/profiler-main/rev/62cee47d654f) Profiler reuses the platform defined for a project and does not try to overload it for profiling.