Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001159 [Resin] minor always 05-31-06 13:22 06-08-06 18:32
Reporter sam View Status public  
Assigned To ferg
Priority high Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.20 Product Version 3.0.19
  Product Build
Summary 0001159: Byte-code produced for _resin_compat_class_0
Description (rep by L Plaetinck)

We are working on a Java profiling tool and ran into some problems when
instrumenting some of the Resin classes.One of the offending classes
seems to be com.caucho.doc.JavadocRedirectServlet, especially the method
_resin_compat_class0():

private static java.lang.Class _resin_compat_class_0();
  Code:
   Stack=2, Locals=0, Args_size=0
   0: getstatic 0000221; //Field
_resin_compat_class_0:Ljava/lang/Class;
   3: dup
   4: ifnonnull 18
   7: pop
   8: ldc_w 0000219; //String com.caucho.doc.JavadocRedirectServlet
   11: invokestatic 0000225; //Method
java/lang/Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
   14: dup
   15: putstatic 0000221; //Field
_resin_compat_class_0:Ljava/lang/Class;
   18: areturn
   19: aconst_null
   20: areturn
  Exception table:
   from to target type
     0 19 19 Class java/lang/ClassNotFoundException

Since this seems to be a regular try - catch implementation, one would
expect to see the code "astore_0" between instruction 18 and 19. After
instrumentation, this leads to a verify error "Inconsistent stack height
2 != 1"
Any information on how this was compiled would be appreciated.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
05-31-06 13:22 sam New Issue
06-01-06 08:22 sam Project Quercus => Resin
06-08-06 18:32 ferg Assigned To  => ferg
06-08-06 18:32 ferg Status new => closed
06-08-06 18:32 ferg Resolution open => fixed
06-08-06 18:32 ferg Fixed in Version  => 3.0.20


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker