| Mantis - Resin | |||||
| Viewing Issue Advanced Details | |||||
|  | |||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: | 
| 1110 | minor | always | 05-14-06 11:42 | 06-28-06 12:00 | |
|  | |||||
| Reporter: | anonymous | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.0.18 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.0.20 | ||
|  | |||||
| 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: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|  | |||||
| 
 | 
 | ||||