diff -r 445b8b5ae9f4 -r 0928f2cfbf8e src/share/classes/com/sun/tools/javac/util/Convert.java --- a/src/share/classes/com/sun/tools/javac/util/Convert.java Wed May 15 10:39:26 2013 -0700 +++ b/src/share/classes/com/sun/tools/javac/util/Convert.java Fri May 17 13:48:41 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -28,6 +28,24 @@ /** Utility class for static conversion methods between numbers * and strings in various formats. * + *

Note regarding UTF-8. + * The JVMS defines its own version of the UTF-8 format so that it + * contains no zero bytes (modified UTF-8). This is not actually the same + * as Charset.forName("UTF-8"). + * + *

+ * See also: + *

+ * + * The methods here support modified UTF-8. + * *

This is NOT part of any supported API. * If you write code that depends on this, you do so at your own risk. * This code and its internal interfaces are subject to change or