On Wednesday 31 May 2006 1:27 am, Matt Jibson wrote: > FreeBSD's jdk1.5 has the same problem as OpenBSD's, discussed in [1]. > Kurt Miller said it would be fixed in patchset 3 [2], but it wasn't. > Attached is the patch from [1]. There's a NullPointerException if > Charset.availableCharsets() is called without the patch. Tested on > amd64, -current. > > [1] > http://lists.freebsd.org/mailman/htdig/freebsd-java/2005-September/004355.html > [2] http://lists.freebsd.org/pipermail/freebsd-java/2006-February/004963.html >
Hi Matt, Its kinda strange that you're quoting me with references on a public mailing list without contacting me directly first. Anyway, the patch proposed on the freebsd mailing list was incorrect. It did not fix the root cause of the NPE. The root cause was the incomplete addition of the KOI8_U charset and the fix was in j2se/make/java/sun_io FILES_java.gmk. The TestCase program provided in your references pass on OpenBSD/i386, so I don't know what you are trying to fix now. -Kurt
