8179538: Update jdk.jdi to be HTML-5 friendly

Reviewed-by: mchung, sspitsyn
This commit is contained in:
Kumar Srinivasan 2017-05-03 07:39:45 -07:00
parent 48c6f05cf3
commit bf1507936d
10 changed files with 51 additions and 60 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -217,9 +217,6 @@ public interface ClassType extends ReferenceType {
* a member of this class or a superclass, if the size of the argument list * a member of this class or a superclass, if the size of the argument list
* does not match the number of declared arguments for the method, or * does not match the number of declared arguments for the method, or
* if the method is an initializer, constructor or static intializer. * if the method is an initializer, constructor or static intializer.
* @throws {@link InvalidTypeException} if any argument in the
* argument list is not assignable to the corresponding method argument
* type.
* @throws ClassNotLoadedException if any argument type has not yet been loaded * @throws ClassNotLoadedException if any argument type has not yet been loaded
* through the appropriate class loader. * through the appropriate class loader.
* @throws IncompatibleThreadStateException if the specified thread has not * @throws IncompatibleThreadStateException if the specified thread has not
@ -322,9 +319,6 @@ public interface ClassType extends ReferenceType {
* a member of this class, if the size of the argument list * a member of this class, if the size of the argument list
* does not match the number of declared arguments for the constructor, * does not match the number of declared arguments for the constructor,
* or if the method is not a constructor. * or if the method is not a constructor.
* @throws {@link InvalidTypeException} if any argument in the
* argument list is not assignable to the corresponding method argument
* type.
* @throws ClassNotLoadedException if any argument type has not yet been loaded * @throws ClassNotLoadedException if any argument type has not yet been loaded
* through the appropriate class loader. * through the appropriate class loader.
* @throws IncompatibleThreadStateException if the specified thread has not * @throws IncompatibleThreadStateException if the specified thread has not

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -168,9 +168,6 @@ public interface InterfaceType extends ReferenceType {
* a member of this interface, if the size of the argument list * a member of this interface, if the size of the argument list
* does not match the number of declared arguments for the method, or * does not match the number of declared arguments for the method, or
* if the method is not static or is a static initializer. * if the method is not static or is a static initializer.
* @throws {@link InvalidTypeException} if any argument in the
* argument list is not assignable to the corresponding method argument
* type.
* @throws ClassNotLoadedException if any argument type has not yet been loaded * @throws ClassNotLoadedException if any argument type has not yet been loaded
* through the appropriate class loader. * through the appropriate class loader.
* @throws IncompatibleThreadStateException if the specified thread has not * @throws IncompatibleThreadStateException if the specified thread has not

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,8 +40,9 @@ package com.sun.jdi;
* permission allows, and discusses the risks of granting code the * permission allows, and discusses the risks of granting code the
* permission. * permission.
* *
* <table border=1 cellpadding=5 summary="Table shows permission * <table border="1" cellpadding=5>
* target name, what the permission allows, and associated risks"> * <caption style="display:none">Table shows permission target name, what the
* permission allows, and associated risks</caption>
* <tr> * <tr>
* <th>Permission Target Name</th> * <th>Permission Target Name</th>
* <th>What the Permission Allows</th> * <th>What the Permission Allows</th>

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -41,7 +41,7 @@ import java.util.List;
* Several mirror interfaces have locations. Each such mirror * Several mirror interfaces have locations. Each such mirror
* extends a {@link Locatable} interface. * extends a {@link Locatable} interface.
* <p> * <p>
* <a name="strata"><b>Strata</b></a> * <a id="strata"><b>Strata</b></a>
* <p> * <p>
* The source information for a Location is dependent on the * The source information for a Location is dependent on the
* <i>stratum</i> which is used. A stratum is a source code * <i>stratum</i> which is used. A stratum is a source code

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -249,9 +249,6 @@ public interface ObjectReference extends Value {
* if the method is a constructor or static initializer, or * if the method is a constructor or static initializer, or
* if {@link #INVOKE_NONVIRTUAL} is specified and the method is * if {@link #INVOKE_NONVIRTUAL} is specified and the method is
* abstract. * abstract.
* @throws {@link InvalidTypeException} if any argument in the
* argument list is not assignable to the corresponding method argument
* type.
* @throws ClassNotLoadedException if any argument type has not yet been loaded * @throws ClassNotLoadedException if any argument type has not yet been loaded
* through the appropriate class loader. * through the appropriate class loader.
* @throws IncompatibleThreadStateException if the specified thread has not * @throws IncompatibleThreadStateException if the specified thread has not

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -45,13 +45,14 @@ package com.sun.jdi;
* <P> * <P>
* The following table illustrates which subinterfaces of Type * The following table illustrates which subinterfaces of Type
* are used to mirror types in the target VM -- * are used to mirror types in the target VM --
* <TABLE BORDER=1 SUMMARY="Maps each type declared in target to a mirrored * <TABLE BORDER="1">
* instance of a subinterface of PrimitiveType or ReferenceType"> * <CAPTION style="display:none">Maps each type declared in target to a mirrored
* <TR BGCOLOR="#EEEEFF"> * instance of a subinterface of PrimitiveType or ReferenceType"</CAPTION>
* <TR style="background-color:#EEEEFF">
* <TH id="primtype" colspan=3>Subinterfaces of {@link PrimitiveType}</TH> * <TH id="primtype" colspan=3>Subinterfaces of {@link PrimitiveType}</TH>
* <TR BGCOLOR="#EEEEFF"> * <TR style="background-color:#EEEEFF">
* <TH id="declared" align="left" colspan=2>Type declared in target as</TH> * <TH id="declared" style="text-align:left" colspan=2>Type declared in target as</TH>
* <TH id="mirrored" align="left">Is mirrored as an instance of</TH> * <TH id="mirrored" style="text-align:left">Is mirrored as an instance of</TH>
* <TR> * <TR>
* <TD headers="primtype declared" colspan=2><CODE>boolean</CODE></TD> * <TD headers="primtype declared" colspan=2><CODE>boolean</CODE></TD>
* <TD headers="primtype mirrored"> {@link BooleanType}</TD> * <TD headers="primtype mirrored"> {@link BooleanType}</TD>
@ -79,12 +80,12 @@ package com.sun.jdi;
* <TR> * <TR>
* <TD headers="primtype declared" colspan=2><CODE>void</CODE></TD> * <TD headers="primtype declared" colspan=2><CODE>void</CODE></TD>
* <TD headers="primtype mirrored">{@link VoidType}</TD> * <TD headers="primtype mirrored">{@link VoidType}</TD>
* <TR BGCOLOR="#EEEEFF"> * <TR style="background-color:#EEEEFF">
* <TH id="reftype" colspan=3>Subinterfaces of {@link ReferenceType}</TH> * <TH id="reftype" colspan=3>Subinterfaces of {@link ReferenceType}</TH>
* <TR BGCOLOR="#EEEEFF"> * <TR style="background-color:#EEEEFF">
* <TH id="declared2" align="left">Type declared in target as</TH> * <TH id="declared2"style="text-align:left">Type declared in target as</TH>
* <TH id="example2" align="left">For example</TH> * <TH id="example2" style="text-align:left">For example</TH>
* <TH id="mirrored2" align="left">Is mirrored as an instance of</TH> * <TH id="mirrored2" style="text-align:left">Is mirrored as an instance of</TH>
* <TR> * <TR>
* <TD headers="reftype declared2"><I>a class</I></TD> * <TD headers="reftype declared2"><I>a class</I></TD>
* <TD headers="reftype example2"><CODE>Date</CODE></TD> * <TD headers="reftype example2"><CODE>Date</CODE></TD>

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -31,7 +31,7 @@ package com.sun.jdi;
* value hierarchy encompassing primitive values and object values. * value hierarchy encompassing primitive values and object values.
* <P> * <P>
* Some examples of where values may be accessed: * Some examples of where values may be accessed:
* <BLOCKQUOTE><TABLE SUMMARY="layout"> * <BLOCKQUOTE><TABLE><CAPTION style="display:none">layout</CAPTION>
* <TR> * <TR>
* <TD>{@link ObjectReference#getValue(com.sun.jdi.Field) * <TD>{@link ObjectReference#getValue(com.sun.jdi.Field)
* ObjectReference.getValue(Field)} * ObjectReference.getValue(Field)}
@ -52,15 +52,16 @@ package com.sun.jdi;
* <P> * <P>
* The following table illustrates which subinterfaces of Value * The following table illustrates which subinterfaces of Value
* are used to mirror values in the target VM -- * are used to mirror values in the target VM --
* <TABLE BORDER=1 SUMMARY="Maps each kind of value to a mirrored * <TABLE BORDER="1">
* instance of a subinterface of Value"> * <CAPTION style="display:none">Maps each kind of value to a mirrored
* <TR BGCOLOR="#EEEEFF"> * instance of a subinterface of Value</CAPTION>
* <TR style="background-color:#EEEEFF">
* <TH id="primval" colspan=4>Subinterfaces of {@link PrimitiveValue}</TH> * <TH id="primval" colspan=4>Subinterfaces of {@link PrimitiveValue}</TH>
* <TR BGCOLOR="#EEEEFF"> * <TR style="background-color:#EEEEFF">
* <TH id="kind" align="left">Kind of value</TH> * <TH id="kind" style="text-align:left">Kind of value</TH>
* <TH id="example" align="left">For example -<br>expression in target</TH> * <TH id="example" style="text-align:left">For example -<br>expression in target</TH>
* <TH id="mirrored" align="left">Is mirrored as an<br>instance of</TH> * <TH id="mirrored" style="text-align:left">Is mirrored as an<br>instance of</TH>
* <TH id="type" align="left">{@link Type} of value<br>{@link #type() Value.type()}</TH> * <TH id="type" style="text-align:left">{@link Type} of value<br>{@link #type() Value.type()}</TH>
* <TR> * <TR>
* <TD headers="primval kind"> a boolean</TD> * <TD headers="primval kind"> a boolean</TD>
* <TD headers="primval example"> {@code true}</TD> * <TD headers="primval example"> {@code true}</TD>
@ -106,13 +107,13 @@ package com.sun.jdi;
* <TD headers="primval example"> </TD> * <TD headers="primval example"> </TD>
* <TD headers="primval mirrored"> {@link VoidValue}</TD> * <TD headers="primval mirrored"> {@link VoidValue}</TD>
* <TD headers="primval type"> {@link VoidType}</TD> * <TD headers="primval type"> {@link VoidType}</TD>
* <TR BGCOLOR="#EEEEFF"> * <TR style="background-color:#EEEEFF">
* <TH id="objref" colspan=4>Subinterfaces of {@link ObjectReference}</TH> * <TH id="objref" colspan=4>Subinterfaces of {@link ObjectReference}</TH>
* <TR BGCOLOR="#EEEEFF"> * <TR style="background-color:#EEEEFF">
* <TH id="kind2" align="left">Kind of value</TH> * <TH id="kind2" style="text-align:left">Kind of value</TH>
* <TH id="example2" align="left">For example -<br>expression in target</TH> * <TH id="example2" style="text-align:left">For example -<br>expression in target</TH>
* <TH id="mirrored2" align="left">Is mirrored as an<br>instance of</TH> * <TH id="mirrored2" style="text-align:left">Is mirrored as an<br>instance of</TH>
* <TH id="type2" align="left">{@link Type} of value<br>{@link #type() Value.type()}</TH> * <TH id="type2" style="text-align:left">{@link Type} of value<br>{@link #type() Value.type()}</TH>
* <TR> * <TR>
* <TD headers="objref kind2"> a class instance</TD> * <TD headers="objref kind2"> a class instance</TD>
* <TD headers="objref example2"> {@code this}</TD> * <TD headers="objref example2"> {@code this}</TD>
@ -148,13 +149,13 @@ package com.sun.jdi;
* <TD headers="objref example2"> {@code this.getClass()}<br>&nbsp;&nbsp;{@code .getClassLoader()}</TD> * <TD headers="objref example2"> {@code this.getClass()}<br>&nbsp;&nbsp;{@code .getClassLoader()}</TD>
* <TD headers="objref mirrored2"> {@link ClassLoaderReference}</TD> * <TD headers="objref mirrored2"> {@link ClassLoaderReference}</TD>
* <TD headers="objref type2"> {@link ClassType}</TD> * <TD headers="objref type2"> {@link ClassType}</TD>
* <TR BGCOLOR="#EEEEFF"> * <TR style="background-color:#EEEEFF">
* <TH id="other" colspan=4>Other</TH> * <TH id="other" colspan=4>Other</TH>
* <TR BGCOLOR="#EEEEFF"> * <TR style="background-color:#EEEEFF">
* <TD id="kind3" align="left">Kind of value</TD> * <TD id="kind3" style="text-align:left">Kind of value</TD>
* <TD id="example3" align="left">For example -<br>expression in target</TD> * <TD id="example3" style="text-align:left">For example -<br>expression in target</TD>
* <TD id="mirrored3" align="left">Is mirrored as</TD> * <TD id="mirrored3" style="text-align:left">Is mirrored as</TD>
* <TD id="type3" align="left">{@link Type} of value</TD> * <TD id="type3" style="text-align:left">{@link Type} of value</TD>
* <TR> * <TR>
* <TD headers="other kind3"> null</TD> * <TD headers="other kind3"> null</TD>
* <TD headers="other example3"> {@code null}</TD> * <TD headers="other example3"> {@code null}</TD>

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -51,8 +51,8 @@ import java.io.IOException;
* Some {@link com.sun.jdi.connect.Connector} implementations may require slightly * Some {@link com.sun.jdi.connect.Connector} implementations may require slightly
* different handling than presented below. * different handling than presented below.
* *
* <TABLE BORDER WIDTH="75%" SUMMARY="Four scenarios for connecting a debugger * <TABLE BORDER="1" style="width:75%">
* to a virtual machine"> * <CAPTION style="display:none">Four scenarios for connecting a debugger to a virtual machine"</CAPTION>
* <TR> * <TR>
* <TH scope=col>Scenario</TH> * <TH scope=col>Scenario</TH>
* <TH scope=col>Description</TH> * <TH scope=col>Description</TH>

View File

@ -4,7 +4,7 @@
JDI Type Signatures JDI Type Signatures
</TITLE> </TITLE>
</HEAD> </HEAD>
<BODY BGCOLOR="white"> <BODY style="background-color:white">
<dl><dd> <dl><dd>
<Table Border="0"> <Table Border="0">
<caption><font size=5><b>JDI Type Signatures</b></font></caption> <caption><font size=5><b>JDI Type Signatures</b></font></caption>

View File

@ -45,8 +45,8 @@
* Platform Debugger Architecture documentation</a> for this release and the <a * Platform Debugger Architecture documentation</a> for this release and the <a
* href="http://java.sun.com/products/jpda">Java Platform Debugger Architecture * href="http://java.sun.com/products/jpda">Java Platform Debugger Architecture
* website</a>. * website</a>.
* <p> * <p style="font-size:larger">
* <font size="+1"><b>Global Exceptions:</b></font> * <b>Global Exceptions:</b>
* <p> * <p>
* This section documents exceptions which apply to the entire API and are thus * This section documents exceptions which apply to the entire API and are thus
* not documented on individual methods. * not documented on individual methods.