kashipai / h2database

H2 Database for reference.
0 stars 0 forks source link

Use Charset for type-safety #454

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This also removes a source of UnsupportedEncodingException and thus 
IOException.  String.getBytes(Charset) requires Java 6:

http://docs.oracle.com/javase/6/docs/api/java/lang/String.html#getBytes(java.nio
.charset.Charset)

which H2 requires as per:

http://www.h2database.com/html/installation.html#requirements

I attached a patch.

Original issue reported on code.google.com by g...@maginatics.com on 16 Apr 2013 at 7:00

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the patch! I will apply it, but it will take a few days.

Original comment by thomas.t...@gmail.com on 16 Apr 2013 at 8:38

GoogleCodeExporter commented 9 years ago
This is now committed to the trunk.

Original comment by thomas.t...@gmail.com on 21 Apr 2013 at 6:11

GoogleCodeExporter commented 9 years ago
Fixed in version 1.3.172.

Original comment by thomas.t...@gmail.com on 25 May 2013 at 1:48