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.
Created attachment 121692 [details] Output log. It is not possible to compile refactoring.java tests with JDK6u33 on Windows. With JDK7 it works. To reproduce: ant -f refactoring.java clean test-build you get: [nb-javac] The system is out of resources. [nb-javac] Consult the following stack trace for details. [nb-javac] java.lang.StackOverflowError [nb-javac] at com.sun.tools.javac.comp.AttrContext.dup(AttrContext.java:72) [nb-javac] at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1140) [nb-javac] at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1210) [nb-javac] at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360) [nb-javac] at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:1799) [nb-javac] at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1522) [nb-javac] at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360) [nb-javac] at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:377) [nb-javac] at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1241) [nb-javac] at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1210) Java(TM) SE Runtime Environment (build 1.6.0_33-b03) Java HotSpot(TM) Client VM (build 20.8-b03, mixed mode)
Jirka, I'm not able to reproduce on: Java: 1.6.0_33; Java HotSpot(TM) 64-Bit Server VM 20.8-b03 System: Windows 7 version 6.1 running on amd64; Cp1250; cs_CZ (nb) Could it be specific to your setup?
I reinstalled JDK6u33 and it started to work. Now I have 64bit, previously I had 32bit java.
Thanks. It is a 32bit specific problem, caused by a very long method chain in IntroduceLocalExtensionTest.
Changeset: 933a28c4aa4f Author: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Date: 2012-11-08 11:18
Integrated into 'main-golden', will be available in build *201211090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/933a28c4aa4f User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: Issue #215117 - StackOverflowError when compiling tests on Windows