Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001110 [Resin] minor always 05-14-06 11:42 06-28-06 12:00
Reporter anonymous View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.20 Product Version 3.0.18
  Product Build
Summary 0001110: can not load interntional properties file
Description failed reason is arg passed to loader.getResourceAsStream can not start with '/':

com.caucho.jsp.BundleManager.getBaseBundle(String name) in resin.jar
line 214:
InputStream is = loader.getResourceAsStream('/' + name.replace('.', '/') + ".properties");
//shouldbe loader.getResourceAsStream(name.replace('.', '/') + ".properties");


assume the code:
    InputStream is = SomeLoader.getResourceAsStream("/java/lang/Object.class");
    System.out.println(is); // print result is null

    InputStream is = SomeLoader.getResourceAsStream("java/lang/Object.class");
    System.out.println(is); // print result is correct
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0001346)
ferg
06-28-06 12:00

jsp/1c3w
 

- Issue History
Date Modified Username Field Change
05-14-06 11:42 anonymous New Issue
06-28-06 12:00 ferg Note Added: 0001346
06-28-06 12:00 ferg Assigned To  => ferg
06-28-06 12:00 ferg Status new => closed
06-28-06 12:00 ferg Resolution open => fixed
06-28-06 12:00 ferg Fixed in Version  => 3.0.20


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