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.
We have regression in inaccuracy tests from 17-10-2008. Scenario: - Launch IDE with fresh user directory - Open Perl project - Open config.h file in editor ==> This code is highlighted as error: #if 42 != 1 && 42 != 42 # include "Bletch: How does this C preprocessor concatenate tokens?" #endif P2 because I see this problem in RC1 also.
most probably problem is in JVM. Problem is reproducible only on #java -version java version "1.6.0_10" Java(TM) SE Runtime Environment (build 1.6.0_10-b33) Java HotSpot(TM) 64-Bit Server VM (build 11.0-b15, mixed mode) everything is fine with 1.6.0_05 and 1.5.0_16 Looks like the problem with inlining of simple functions. Reassigning to QA for evaluation of possible solutions.
Submitted P1 bug on jvm: http://bt2ws.central.sun.com/CrPrint?id=6761298
Please evaluate
not a stopper for NB6.5 release as non-reproducible with previous java versions (earlier then 1.6.0_10) but should be fixed in next release and in patch for NB6.5
OpenSolaris 11/08 is going to have jdk1.6 update 10 as the default. Does it make this bug a showstopper?
It does not look as a showstopper under any circumstances. And in this case the issue has been reported as purely Linux issue (may be even only Linux64 issue), so I can not believe it affects OpenSolaris. QA may want to double check it. Leonid.
public visible java bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6761298
just a note to QA: We can not fix this problem on our side, so not clear which fix could be included in 6.5 patch?
I have found some tricks how to change code to be not overkilled by java machine 6 Update 10
Created attachment 72928 [details] fixup to workaround jdk bug
another workaround is added due to bug in jdk6 Update 10 http://hg.netbeans.org/main?cmd=changeset;node=caf8a257aebe
Integrated into 'main-golden', will be available in build *200811011401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/caf8a257aebe User: Vladimir Voskresensky <vv159170@netbeans.org> Log: workaround (due to bug in jdk6u10) for IZ#150693: Regression in inaccuracy tests from 17-10-2008
Verified in 200811200201 build
The fix was ported into release65_fixes repository. http://hg.netbeans.org/release65_fixes/rev/b1911198bbf7
verified in nb6.5 with patch1