JDK-4067900 : When I use "rmic -show", it displays a compiler error.
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 1.1.3
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_95
  • CPU: x86
  • Submitted: 1997-07-29
  • Updated: 1997-08-27
  • Resolved: 1997-08-27
Related Reports
Duplicate :  
Description

Name: rlT66838			Date: 07/28/97


1. Type the command "rmic -show"
2. Enter the class name in the Full Class Name Field.
3. It display "error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
   1 error" at the Compilation message text area and display 
   "sun.tools.java.CompilerError: mangle java WeatherForecastApplet$java
            at java.lang.Throwable.<init>(Compiled Code)
            at java.lang.Error.<init>(Compiled Code)
            at sun.tools.java.Co,pilerError.<init>(Compiled Code)
            at sun.tools.java.Type.mangleInnerType(Compiled Code)
            at sun.tools,java.Type.tClass(Compiled Code)
            at sun.tools.java.ClassDeclaration.<init>(Compiled Code)
            at sun.rmi.rmic.Main.doCompile(Compiled Code)
            at sun.rmi.rmic.Main.run(Compiled Code)
            at java.lang.Thread.run(Compiled Code)

My configuration:
CPU : 486 DX4/100
Ram : 16M
Web server : MS personal Web server
OS : MS Windows 95

remark : My harddisk is compressed by MS doublespace.


company - N/A , email - ###@###.###
======================================================================

Comments
EVALUATION peter.jones@East 1997-07-29 I haven't been able to reproduce this problem at first glance, but it looks like the user might be trying to compile a remote inner class, which I haven't tried yet. On Solaris, "rmic -show" seems to work fine for normal return classes. On win32, with the latest JDK 1.2 build, the error messages came out all mangled in the window, like "ev#1" where "#" was a non-printing character, so it seems like there is a different bug here... (This didn't happen with 1.1.3F or "sparkler"...) More to come with a test of a remote inner class, which seems to have a slew of problems anyway. peter.jones@East 1997-08-26 Remote inner classes should work fine with rmic now that 4069296 is fixed. This bug looks to me like a duplicate of 4073373, with the CompilerError/ mangleInnerType stuff. The target class name has a space in it.
11-06-2004

WORK AROUND Name: rlT66838 Date: 07/28/97 ======================================================================
11-06-2004