[Bug 2956] GWT modules are failing to compile under 1.6.0_39
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Wed May 25 18:55:03 UTC 2016
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2956
--- Comment #14 from paguayo at indexengines.com <paguayo at indexengines.com> ---
Sorry for the delay.
Different errors:
<mock-chroot>[root at bullhead JSON]# ant build
Buildfile: build.xml
libs:
javac:
gwtc:
[java] Compiling module com.google.gwt.sample.json.JSON
[java] java.lang.ExceptionInInitializerError
[java] at
com.google.gwt.dev.javac.JdtCompiler$INameEnvironmentImpl.isPackage(JdtCompiler.java:547)
[java] at
com.google.gwt.dev.javac.JdtCompiler$INameEnvironmentImpl.findType(JdtCompiler.java:441)
[java] at
com.google.gwt.dev.javac.JdtCompiler$INameEnvironmentImpl.findType(JdtCompiler.java:433)
[java] at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createPackage(LookupEnvironment.java:755)
[java] at
org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:107)
[java] at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:188)
[java] at
org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:723)
[java] at
org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:383)
[java] at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:428)
[java] at
com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:985)
[java] at
com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:339)
[java] at
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildGeneratedTypes(CompilationStateBuilder.java:649)
[java] at
com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.addGeneratedTypes(CompilationStateBuilder.java:242)
[java] at
com.google.gwt.dev.javac.CompilationState.addGeneratedCompilationUnits(CompilationState.java:125)
[java] at
com.google.gwt.dev.javac.StandardGeneratorContext.finish(StandardGeneratorContext.java:557)
[java] at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createStaticRebindExpression(UnifyAst.java:491)
[java] at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createRebindExpression(UnifyAst.java:443)
[java] at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:576)
[java] at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:306)
[java] at
com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:248)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[java] at
com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:128)
[java] at
com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:67)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[java] at
com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:128)
[java] at
com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:49)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:95)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:351)
[java] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[java] at
com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:149)
[java] at
com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:145)
[java] at
com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:83)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[java] at
com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:600)
[java] at
com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:569)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[java] at
com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:1505)
[java] at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:870)
[java] at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1305)
[java] at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1038)
[java] at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.precompile(JavaToJavaScriptCompiler.java:954)
[java] at
com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.precompile(MonolithicJavaToJavaScriptCompiler.java:303)
[java] at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:38)
[java] at
com.google.gwt.dev.Precompile.precompile(Precompile.java:286)
[java] at
com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
[java] at
com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
[java] at com.google.gwt.dev.Compiler.run(Compiler.java:206)
[java] at com.google.gwt.dev.Compiler.run(Compiler.java:158)
[java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:120)
[java] at
com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
[java] at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
[java] at com.google.gwt.dev.Compiler.main(Compiler.java:127)
[java] [ERROR] An internal compiler exception occurred
[java] Caused by: java.lang.ClassCastException:
sun.net.www.protocol.file.FileURLConnection cannot be cast to
java.net.JarURLConnection
[java] com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error
during visit.
[java] at
com.google.gwt.dev.javac.JdtCompiler$JreIndex.readPackages(JdtCompiler.java:176)
[java] at
com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:121)
[java] at
com.google.gwt.dev.javac.JdtCompiler$JreIndex.<clinit>(JdtCompiler.java:154)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:296)
[java] ... 62 more
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[java] at
com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:128)
[java] at
com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:67)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[java] at
com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:128)
[java] at
com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:49)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:95)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:351)
[java] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[java] at
com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:149)
[java] at
com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:145)
[java] at
com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:83)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[java] at
com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:600)
[java] at
com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:569)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[java] at
com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:1505)
[java] at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:870)
[java] at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1305)
[java] at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1038)
[java] at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.precompile(JavaToJavaScriptCompiler.java:954)
[java] at
com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.precompile(MonolithicJavaToJavaScriptCompiler.java:303)
[java] at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:38)
[java] at
com.google.gwt.dev.Precompile.precompile(Precompile.java:286)
[java] at
com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
[java] at
com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
[java] at com.google.gwt.dev.Compiler.run(Compiler.java:206)
[java] at com.google.gwt.dev.Compiler.run(Compiler.java:158)
[java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:120)
[java] at
com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
[java] at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
[java] at com.google.gwt.dev.Compiler.main(Compiler.java:127)
[java] Caused by: java.lang.ExceptionInInitializerError
[java] at
com.google.gwt.dev.javac.JdtCompiler$INameEnvironmentImpl.isPackage(JdtCompiler.java:547)
[java] at
com.google.gwt.dev.javac.JdtCompiler$INameEnvironmentImpl.findType(JdtCompiler.java:441)
[java] at
com.google.gwt.dev.javac.JdtCompiler$INameEnvironmentImpl.findType(JdtCompiler.java:433)
[java] at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createPackage(LookupEnvironment.java:755)
[java] at
org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:107)
[java] at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:188)
[java] at
org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:723)
[java] at
org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:383)
[java] at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:428)
[java] at
com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:985)
[java] at
com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:339)
[java] at
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildGeneratedTypes(CompilationStateBuilder.java:649)
[java] at
com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.addGeneratedTypes(CompilationStateBuilder.java:242)
[java] at
com.google.gwt.dev.javac.CompilationState.addGeneratedCompilationUnits(CompilationState.java:125)
[java] at
com.google.gwt.dev.javac.StandardGeneratorContext.finish(StandardGeneratorContext.java:557)
[java] at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createStaticRebindExpression(UnifyAst.java:491)
[java] at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createRebindExpression(UnifyAst.java:443)
[java] at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:576)
[java] at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:306)
[java] at
com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:248)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
[java] at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[java] ... 40 more
[java] Caused by: java.lang.ClassCastException:
sun.net.www.protocol.file.FileURLConnection cannot be cast to
java.net.JarURLConnection
[java] at
com.google.gwt.dev.javac.JdtCompiler$JreIndex.readPackages(JdtCompiler.java:176)
[java] at
com.google.gwt.dev.javac.JdtCompiler$JreIndex.<clinit>(JdtCompiler.java:154)
[java] ... 62 more
[java] [ERROR] at Tree.java(133): GWT.create(Tree$Resources.class)
[java] com.google.gwt.dev.jjs.ast.JMethodCall
[java] [ERROR] at Tree.java(133): (Tree$Resources)
GWT.create(Tree$Resources.class)
[java] com.google.gwt.dev.jjs.ast.JCastOperation
[java] [ERROR] at Tree.java(133): final static Tree$Resources
DEFAULT_RESOURCES = (Tree$Resources) GWT.create(Tree$Resources.class)
[java] com.google.gwt.dev.jjs.ast.JDeclarationStatement
[java] [ERROR] at Tree.java(132): {
[java] Object.$clinit();
[java] final static Tree$Resources DEFAULT_RESOURCES = (Tree$Resources)
GWT.create(Tree$Resources.class);
[java] }
[java] com.google.gwt.dev.jjs.ast.JBlock
[java] [ERROR] at Tree.java(132): {
[java] Object.$clinit();
[java] final static Tree$Resources DEFAULT_RESOURCES = (Tree$Resources)
GWT.create(Tree$Resources.class);
[java] }
[java] com.google.gwt.dev.jjs.ast.JMethodBody
[java] [ERROR] at Tree.java(132): private static final void
$clinit();
[java]
[java] com.google.gwt.dev.jjs.ast.JMethod
BUILD FAILED
/builddir/build/SOURCES/gwt-2.7.0/samples/JSON/build.xml:40: Java returned: 1
Total time: 1 minute 10 seconds
<mock-chroot>[root at bullhead JSON]# java -version
java version "1.6.0_39"
OpenJDK Runtime Environment (IcedTea6 1.14.0pre+rb04ff35af086) (CentOS build
1.6.0_39-b39)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
<mock-chroot>[root at bullhead JSON]# javac -version
javac 1.6.0_39
<mock-chroot>[root at bullhead JSON]#
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20160525/2dc09c92/attachment-0001.html>
More information about the distro-pkg-dev
mailing list