We're updating the issue view to help you get more done. 

can't load invuca.dat running in server env

Description

It appears that in a server environment CollationParsedRuleBuilder is unable to
properly load the invuca.dat resource. This is probably because the returned
input stream is not null, because the code is using the class loader for the
string class, and so is looking for a system resource and not in the icu4j jar
file. You'd think this would throw an exception, but it returns a null
InputStream and BufferedInputStream happily accepts it in its constructor.

Change CollationParsedRuleBuilder to use it's own class loader!

(Check other uses of getResourceAsStream in ICU4J too).

Status

Assignee

Douglas Felt

Reporter

TracBot

Labels

Components

Fix versions

Priority

blocker