Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] 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  
Status closed   Product Version 3.0.18
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
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