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

rmic generates a compiler error -- sun.tools.java.CompilerError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.2.0
    • core-libs
    • None
    • generic
    • generic

      javWhile running rmic on RMI Naming List testsusing the latest JDK1.2 build, got the
      following message:-

      error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
      1 error
      ----------log:rmic(7/491)----------
      sun.tools.java.CompilerError: mangle NItem1Impl javasoft$sqe$tests$api$java$rmi$Naming$NItem2Impl javasoft$sqe$tests$api$java$rmi$Naming$NItem3Impl javasoft$sqe$tests$api$java$rmi$Naming$NItem4Impl
      at sun.tools.java.Type.mangleInnerType(Type.java)
      at sun.tools.java.Type.tClass(Type.java)
      at sun.tools.java.ClassDeclaration.<init>(ClassDeclaration.java)
      at sun.rmi.rmic.Main.doCompile(Main.java)
      at sun.rmi.rmic.Main.compile(Main.java)
      at sun.rmi.rmic.Main.main(Main.java)



      The command used: /js/files/JDK1.2/build/solaris/bin/rmic -d /js/files/adele/JDK1.2/nightly/classes javasoft.sqe.tests.api.java.rmi.Naming.NItem1Impl javasoft.sqe.tests.api.java.rmi.Naming.NItem2Impl javasoft.sqe.tests.api.java.rmi.Naming.NItem3Impl javasoft.sqe.tests.api.java.rmi.Naming.NItem4Impl

      I can provide the source files if needed. BTW, this worked in the JDK1.2I build.

            peterjones Peter Jones (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: