JDK-8038451: Incorrect initialization order of static fields in sun.nio.cs.ext.JISAutoDetect$Decoder (original) (raw)

Alan Bateman Alan.Bateman at oracle.com
Thu Mar 27 21:06:10 UTC 2014


On 27/03/2014 20:49, Mandy Chung wrote:

This fixes the regression introduced by JDK-8038177 in which the osName field should be initialized before it's accessed in the class static initializer.

https://bugs.openjdk.java.net/browse/JDK-8038451 Webrev at: http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8038451/webrev.00/ Easily done, moving it to the top looks okay to me.

-Alan.



More information about the core-libs-dev mailing list