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.
steps to reproduce: - run some qa-func. tests from BTD against full IDE - Tool|Java platforms in tested IDE -> Broken java platform -> platform folder is pointing to jre subfolder of JDK Please fix this ASAP, lot of our tests are failing because of this.
Since when this is failing?
I'm suspicious that ever since simpletests migration. I remember we talked about this offline long time ago (before simpletests merge), but those days we were interested in rewriting test, not that tests are failing.....now we are stabilizing tests-that's just why this bug is kind of 'resurrected'..
Perhaps an issue with JavaPlatformManager in how it guesses the "default Java platform"?
Default platform doesn't do any detection of default platform, it simply returns the platform the IDE is running on. The problem is that the tests are started using JRE not JDK. But as far as I remember Jarda did some change in DefaultPlatform to step up from JRE to JDK. changeset: 86407:6606468f1482 user: Jaroslav Tulach <jtulach@netbeans.org> date: Mon Jun 23 15:13:12 2008 +0200 summary: #137552: Fallback to java.home if jdk.home not preset
Please transfer the steps to reproduce into some meaningful language. I have no idea what BTD is neither what to start: - run some qa-func. tests from BTD against full IDE - Tool|Java platforms in tested IDE -> Broken java platform -> platform folder is pointing to jre subfolder of JDK
- download and run binary test distribution - run whatever test you want, point is just to bring up IDE - regardless test, in tested IDE choose Tools | Java Platforms
changeset: 96830:a02ac5da3cb6 tag: tip user: Jaroslav Tulach <jtulach@netbeans.org> date: Tue Aug 19 18:04:03 2008 +0200 summary: #144253: I guess this check for MacOSX shall be reverted. It does not make sense to seek for JDK in .. when on Mac the JDK is somewhere else
Integrated into 'main-golden', available in build *200808200201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/a02ac5da3cb6 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #144253: I guess this check for MacOSX shall be reverted. It does not make sense to seek for JDK in .. when on Mac the JDK is somewhere else
thanks. Works fine now. Verified.