Unicode script support in Regex and Character class

Xueming Shen xueming.shen at oracle.com
Mon May 10 01:05:59 UTC 2010


Can you be more specific? I'm not sure I understand your question. What 
are we talking here? If you are referring to code below

    dis = new DataInputStream(new InflaterInputStream(
        AccessController.doPrivileged(new PrivilegedAction<InputStream>()
            public InputStream run() {
               return getClass().getResourceAsStream("uniName.dat");

None of the layers added on top of the "InputStream" is for buffering 


Ulf Zibis wrote:
> Sherman, I don't understand, why you use so much buffering.
> InputStream from getResourceAsStream, and I believe 
> InflaterInputStream too, is yet buffered.
> My understanding until now was, that access to buffered byte streams 
> is as fast as to naked byte arrays.
> Am I wrong?
> -Ulf
> Am 08.05.2010 23:49, schrieb Xueming Shen:
>> Hi,
>> The API  proposals for Unicode script support below have been approved.
>> 6945564: Unicode script support in Character class
>> 6948903: Make Unicode scripts available for use in regular expressions
>> Here is the final webrev ready for push.
>> http://cr.openjdk.java.net/~sherman/6945564_6948903/webrev

More information about the core-libs-dev mailing list