Re: javax.sql.rowset.serial.SerialBlob doesn't support free and getBinaryStream

2012-07-04 Thread Deven You
Hi Lance, Did you review the patch and compare it to yours. I just have some more words for the patch. 1. I think the current spec for free() is not clear, how about add below comments: After free has been called, any attempt to invoke a method other than free will result in a SerialEx

Re: A bug in filesystem bootstrap (unix/ linux) prevents

2012-07-04 Thread Dawid Weiss
Well, what's the "right" way to enforce an initial encoding for charset-less string-to-byte conversions and legacy streams? I still think that snippet of code is buggy, no matter if file.encoding is or isn't a supported settable property. Besides, from what I see in JDK code base everything seems

Re: A bug in filesystem bootstrap (unix/ linux) prevents

2012-07-04 Thread Ulf Zibis
Am 05.07.2012 03:09, schrieb Xueming Shen: -Dfile.encoding=xyz is NOT a supported configuration. file.encoding is supposed to be a read-only informative system property. Hm, but if one would build the JDK with e.g. x-SJIS_0213 set as default encoding, would it work? I don't understand the res

Re: A bug in filesystem bootstrap (unix/ linux) prevents

2012-07-04 Thread Xueming Shen
-Dfile.encoding=xyz is NOT a supported configuration. file.encoding is supposed to be a read-only informative system property. -Sherman On 7/4/2012 1:21 PM, Dawid Weiss wrote: There is a similar bug: Bug 6795536 - No system start for file.encoding=x-SJIS_0213 Yeah... I looked at the sources i

Re: A bug in filesystem bootstrap (unix/ linux) prevents

2012-07-04 Thread Dawid Weiss
> There is a similar bug: > Bug 6795536 - No system start for file.encoding=x-SJIS_0213 Yeah... I looked at the sources in that package and there is at least one more place which converts a String to bytes using getBytes(). This seems to be a trivial fix in UnixFileSystem though. Anyway, bug ID fo

Re: A bug in filesystem bootstrap (unix/ linux) prevents

2012-07-04 Thread Ulf Zibis
Hi, There is a similar bug: Bug 6795536 - No system start for file.encoding=x-SJIS_0213 In this case on Windows. -Ulf Am 04.07.2012 14:43, schrieb Dawid Weiss: Hi folks. Run the following with -Dfile.encoding=UTF-16: public cla

A bug in filesystem bootstrap (unix/ linux) prevents

2012-07-04 Thread Dawid Weiss
Hi folks. Run the following with -Dfile.encoding=UTF-16: public class TestBlah { public static void main(String []) throws Exception { TimeZone.getDefault(); } } This on linux (and any unixish system I think) will result in: java.lang.ExceptionInInitializerError at java.nio.file