javax.sql.rowset.serial.SerialBlob doesn't support free and getBinaryStream (original) (raw)
Deven You youdwei at linux.vnet.ibm.com
Mon Jun 25 08🔞30 UTC 2012
- Previous message: RFR: 7161229 - PriorityBlockingQueue keeps hard reference to last removed element
- Next message: hg: jdk8/tl/jdk: 7176784: Windows authentication not working on some computers
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi All,
First of all, if the jdbc problem has a better mailing list to post please tell me.
I find that javax.sql.rowset.serial.SerialBlob is not fully implemented in OpenJDK 8. Methods
public InputStream getBinaryStream(long pos,long length) throws
SQLException public void free() throws SQLException
only throw UnsupportedOperationException.
I have made a patch[1] to implement these 2 methods. Could anyone take a look to review it.
BTW: I think the spec for SerialBlob is not very clear like it doesn't mention if all method rather than free() need throw any exception after free() is invoked. However that behavior seems reasonable.
[1] http://cr.openjdk.java.net/~littlee/OJDK-576/webrev
Thanks a lot.
-- Best Regards,
Deven
- Previous message: RFR: 7161229 - PriorityBlockingQueue keeps hard reference to last removed element
- Next message: hg: jdk8/tl/jdk: 7176784: Windows authentication not working on some computers
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]