sun.tools.java.CompilerError: referencesMustNotBeFrozen local class Prog. 1

Coderanch | Jerson Chua | 2 decades ago
  1. 0

    Compiler Error

    Coderanch | 2 decades ago | Jerson Chua
    sun.tools.java.CompilerError: referencesMustNotBeFrozen local class Prog. 1
  2. 0

    nested interfaces implemented by outer class...

    Google Groups | 2 decades ago | Mark McDowell
    sun.tools.java.CompilerError: illegal class modifiers
  3. 0

    strange compiler error

    Google Groups | 2 decades ago | ch0k3n
    sun.tools.java.CompilerError: invalid slot: 0: aload -1 This error possibly resulted from poorly constructed class paths. at sun.tools.asm.Instruction.size(Instruction.java, CompiledCode) at sun.tools.asm.Assembler.write(Assembler.java, Compiled Code) at sun.tools.javac.SourceClass.compileClass(SourceClass.java,Compiled Code) at sun.tools.javac.SourceClass.compile(SourceClass.java,Compiled Code)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Compiler bug with jdk1.1.5 on solaris

    Google Groups | 2 decades ago | David MERCERON
    sun.tools.java.CompilerError: addReference CompilerBug this
  6. 0

    Bug ID: JDK-4216736 sun.tools.java.CompilerError: duplicate addition

    java.com | 3 months ago
    sun.tools.java.CompilerError: duplicate addition

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. sun.tools.java.CompilerError

      referencesMustNotBeFrozen local class Prog. 1

      at sun.tools.java.ClassDefinition.referencesMustNotBeFrozen()
    2. Java Tools
      Main.main
      1. sun.tools.java.ClassDefinition.referencesMustNotBeFrozen(ClassDefinition.java:1926)
      2. sun.tools.java.ClassDefinition.addReference(ClassDefinition.java:1898)
      3. sun.tools.java.ClassDefinition.getReference(ClassDefinition.java:1891)
      4. sun.tools.tree.Context.noteReference(Context.java:336)
      5. sun.tools.tree.Context.makeReference(Context.java:357)
      6. sun.tools.tree.UplevelReference.codeArguments(UplevelReference.java:351)
      7. sun.tools.tree.MethodExpression.codeValue(MethodExpression.java:862)
      8. sun.tools.tree.Expression.code(Expression.java:428)
      9. sun.tools.tree.ExpressionStatement.code(ExpressionStatement.java:73)
      10. sun.tools.javac.SourceMember.code(SourceMember.java:825)
      11. sun.tools.javac.SourceClass.compileClass(SourceClass.java:2110)
      12. sun.tools.javac.SourceClass.compile(SourceClass.java:2039)
      13. sun.tools.javac.Main.compile(Main.java:567)
      14. sun.tools.javac.Main.main(Main.java:733)
      14 frames