Skip to content
Permalink
Browse files
8272395: Bad HTML in JVMTI man page
Reviewed-by: dholmes, iris
  • Loading branch information
Serguei Spitsyn committed Dec 7, 2021
1 parent f22d157 commit e535cb3fbac11785cfdb43c9b6f73b2a38a621d6
Showing 1 changed file with 3 additions and 3 deletions.
@@ -6861,7 +6861,7 @@ class C2 extends C1 implements I2 {
<ul>
<li>By loading and deriving a class from a <code>class</code> file representation
using a class loader (see <vmspec chapter="5.3"/>).</li>
<li>By invoking <externallink id="../api/java.base/java/lang/invoke/MethodHandles.Lookup.html#defineHiddenClass(byte[],boolean,java.lang.invoke.MethodHandles.Lookup.ClassOption...)">Lookup::defineHiddenClass</externallink>
<li>By invoking <externallink id="../api/java.base/java/lang/invoke/MethodHandles.Lookup.html#defineHiddenClass(byte%5B%5D,boolean,java.lang.invoke.MethodHandles.Lookup.ClassOption...)">Lookup::defineHiddenClass</externallink>
that creates a hidden class or interface from a <code>class</code> file representation.</li>
<li>By invoking methods in certain Java SE Platform APIs such as reflection.</li>
</ul>
@@ -6923,7 +6923,7 @@ class C2 extends C1 implements I2 {
<code>class_count_ptr</code>, and the array itself via
<code>classes_ptr</code>.
<p/>
See <externallink id="../api/java.base/java/lang/invoke/MethodHandles.Lookup.html#defineHiddenClass(byte[],boolean,java.lang.invoke.MethodHandles.Lookup.ClassOption...)">Lookup::defineHiddenClass</externallink>.
See <externallink id="../api/java.base/java/lang/invoke/MethodHandles.Lookup.html#defineHiddenClass(byte%5B%5D,boolean,java.lang.invoke.MethodHandles.Lookup.ClassOption...)">Lookup::defineHiddenClass</externallink>.
</description>
<origin>jvmdi</origin>
<capabilities>
@@ -6973,7 +6973,7 @@ class C2 extends C1 implements I2 {
<code>"L" + N + "." + S + ";"</code>
where <code>N</code> is the binary name encoded in internal form (JVMS 4.2.1)
indicated by the <code>class</code> file passed to
<externallink id="../api/java.base/java/lang/invoke/MethodHandles.Lookup.html#defineHiddenClass(byte[],boolean,java.lang.invoke.MethodHandles.Lookup.ClassOption...)">Lookup::defineHiddenClass</externallink>,
<externallink id="../api/java.base/java/lang/invoke/MethodHandles.Lookup.html#defineHiddenClass(byte%5B%5D,boolean,java.lang.invoke.MethodHandles.Lookup.ClassOption...)">Lookup::defineHiddenClass</externallink>,
and <code>S</code> is an unqualified name.
The returned name is not a type descriptor and does not conform to JVMS 4.3.2.
For example, com.foo.Foo/AnySuffix is "Lcom/foo/Foo.AnySuffix;"

1 comment on commit e535cb3

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on e535cb3 Dec 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.