< prev index next >

src/java.base/share/classes/sun/invoke/util/BytecodeName.java

Print this page
rev 12617 : [mq]: 8134356-gt-lt-in-code

*** 293,303 **** * Each resulting array element will be either a dangerous character, * or else a safe bytecode name. * (The safe name might possibly be mangled to hide further dangerous characters.) * For example, the qualified class name {@code java/lang/String} * will be parsed into the array {@code {"java", '/', "lang", '/', "String"}}. ! * The name {@code &lt;init&gt;} will be parsed into { '&lt;', "init", '&gt;'}} * The name {@code foo/bar$:baz} will be parsed into * {@code {"foo", '/', "bar", '$', ':', "baz"}}. * The name {@code ::\=:foo:\=bar\!baz} will be parsed into * {@code {':', ':', "", ':', "foo", ':', "bar:baz"}}. */ --- 293,303 ---- * Each resulting array element will be either a dangerous character, * or else a safe bytecode name. * (The safe name might possibly be mangled to hide further dangerous characters.) * For example, the qualified class name {@code java/lang/String} * will be parsed into the array {@code {"java", '/', "lang", '/', "String"}}. ! * The name {@code <init>} will be parsed into {@code {'<', "init", '>'}}. * The name {@code foo/bar$:baz} will be parsed into * {@code {"foo", '/', "bar", '$', ':', "baz"}}. * The name {@code ::\=:foo:\=bar\!baz} will be parsed into * {@code {':', ':', "", ':', "foo", ':', "bar:baz"}}. */
< prev index next >