Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5035300

Rmic reports error when switching to 1.4.2_03

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.4.2
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_2000

      Description



      Name: gm110360 Date: 04/21/2004


      FULL PRODUCT VERSION :
      java version "1.4.2_03"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
      Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows 2000 [Version 5.00.2195]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Using Ant version 1.3 compiled on March 2 2001

      A DESCRIPTION OF THE PROBLEM :
      Switched to the newest J2SDK and our project does not compile any longer with the instruction to bug report that problem (and a full stacktrace)

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      A fully successful compilation, as in the 1.3 release
      ACTUAL -
      Stacktrace saying checkOverride() synthetic

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      sun.tools.java.CompilerError: checkOverride() synthetic
              at sun.tools.java.MemberDefinition.checkOverride(MemberDefinition.java:560)
              at sun.tools.java.MemberDefinition.checkOverride(MemberDefinition.java:526)
              at sun.tools.java.ClassDefinition.collectOneClass(ClassDefinition.java:1297)
              at sun.tools.java.ClassDefinition.collectInheritedMethods(ClassDefinition.java:1501)
              at sun.tools.java.BinaryClass.basicCheck(BinaryClass.java:73)
              at sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:130)
              at sun.tools.java.BinaryClass.initInnerClasses(BinaryClass.java:344)
              at sun.tools.java.BinaryClass.loadNested(BinaryClass.java:221)
              at sun.tools.java.BinaryClass.loadNested(BinaryClass.java:203)
              at sun.tools.javac.BatchEnvironment.loadDefinition(BatchEnvironment.java:803)
              at sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:120)
              at sun.tools.java.BinaryClass.initInnerClasses(BinaryClass.java:352)
              at sun.tools.java.BinaryClass.loadNested(BinaryClass.java:221)
              at sun.tools.java.BinaryClass.loadNested(BinaryClass.java:203)
              at sun.tools.javac.BatchEnvironment.loadDefinition(BatchEnvironment.java:803)
              at sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:120)
              at sun.rmi.rmic.Main.doCompile(Main.java:523)
              at sun.rmi.rmic.Main.compile(Main.java:130)
              at org.apache.tools.ant.taskdefs.Rmic.execute(Rmic.java:295)
              at org.apache.tools.ant.Target.execute(Target.java:153)
              at org.apache.tools.ant.Project.runTarget(Project.java:898)
              at org.apache.tools.ant.Project.executeTarget(Project.java:536)
              at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
              at org.apache.tools.ant.Target.execute(Target.java:153)
              at org.apache.tools.ant.Project.runTarget(Project.java:898)
              at org.apache.tools.ant.Project.executeTarget(Project.java:536)
              at org.apache.tools.ant.Project.executeTargets(Project.java:510)
              at org.apache.tools.ant.Main.runBuild(Main.java:421)
              at org.apache.tools.ant.Main.main(Main.java:149)
           [rmic] error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).

      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Incident Review ID: 231185)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              peterjones Peter Jones
              Reporter:
              gmanwanisunw Girish Manwani (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: