Mantis - Resin
Viewing Issue Advanced Details
151 minor always 05-09-05 00:00 03-09-06 13:26
ferg  
ferg  
high  
closed 2.1.x  
2.1.x fixed  
none    
none 3.0.19  
0000151: jinfo issue with JDK 1.5.0
RSN-145
(rep by Kirk Rasmussen)

On Solaris and Resin 2.1.16

root@foo26a# java1.5/bin/jinfo 19651
Attaching to process ID 19651, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 1.5.0_03-b07
Java System Properties:
 
Exception in thread "main" java.lang.VerifyError: (class: com/caucho/util/L10N, method: l signature: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;) Illegal local variable number
        at com.caucho.util.DynamicClassLoader.<clinit>(DynamicClassLoader.java:68)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:242)
        at sun.jvm.hotspot.utilities.ObjectReader.readClass(ObjectReader.java:461)
        at sun.jvm.hotspot.utilities.ObjectReader.readInstance(ObjectReader.java:125)
        at sun.jvm.hotspot.utilities.ObjectReader.readObject(ObjectReader.java:73)
        at sun.jvm.hotspot.utilities.ObjectReader$FieldSetter.doOop(ObjectReader.java:351)
        at sun.jvm.hotspot.oops.InstanceKlass.visitField(InstanceKlass.java:707)
        at sun.jvm.hotspot.oops.InstanceKlass.iterateNonStaticFields(InstanceKlass.java:454)
        at sun.jvm.hotspot.oops.Instance.iterateFields(Instance.java:39)
        at sun.jvm.hotspot.oops.Oop.iterate(Oop.java:112)
        at sun.jvm.hotspot.utilities.ObjectReader.readInstance(ObjectReader.java:159)
        at sun.jvm.hotspot.utilities.ObjectReader.readObject(ObjectReader.java:73)
        at sun.jvm.hotspot.utilities.ObjectReader$FieldSetter.doOop(ObjectReader.java:351)
        at sun.jvm.hotspot.oops.InstanceKlass.visitField(InstanceKlass.java:707)
        at sun.jvm.hotspot.oops.InstanceKlass.iterateNonStaticFields(InstanceKlass.java:454)
        at sun.jvm.hotspot.oops.Instance.iterateFields(Instance.java:39)
        at sun.jvm.hotspot.oops.Oop.iterate(Oop.java:112)
        at sun.jvm.hotspot.utilities.ObjectReader.readInstance(ObjectReader.java:159)
        at sun.jvm.hotspot.utilities.ObjectReader.readObject(ObjectReader.java:73)
        at sun.jvm.hotspot.runtime.VM$2.doOop(VM.java:680)
        at sun.jvm.hotspot.oops.InstanceKlass.visitField(InstanceKlass.java:707)
        at sun.jvm.hotspot.oops.InstanceKlass.iterateFields(InstanceKlass.java:435)
        at sun.jvm.hotspot.oops.Oop.iterate(Oop.java:112)
        at sun.jvm.hotspot.runtime.VM.readSystemProperties(VM.java:675)
        at sun.jvm.hotspot.runtime.VM.getSystemProperties(VM.java:668)
        at sun.jvm.hotspot.tools.SysPropsDumper.run(SysPropsDumper.java:18)
        at sun.jvm.hotspot.tools.JInfo$1.run(JInfo.java:52)
        at sun.jvm.hotspot.tools.JInfo.run(JInfo.java:67)
        at sun.jvm.hotspot.tools.Tool.start(Tool.java:204)
        at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:111)
 
root@droid26a#

Notes
(0000925)
ferg   
03-09-06 13:26   
For jinfo, you need to set <environment-system-properties>false</environment-system-properties>, which will be available in 3.0.19.