< prev index next >
src/jdk.jdi/share/classes/com/sun/jdi/VirtualMachine.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2018, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -217,14 +217,15 @@
* canUnrestrictedlyRedefineClasses()}
* is false, attempting any of the following will throw
* this exception
* <UL>
* <LI>changing the schema (the fields)
- * <LI>changing the hierarchy (subclasses, interfaces)
+ * <LI>changing the hierarchy (superclasses, interfaces)
* <LI>deleting a method
* <LI>changing class modifiers
* <LI>changing method modifiers
+ * <LI>changing the {@code NestHost} or {@code NestMembers} class attributes
* </UL>
* </UL>
*
* @throws java.lang.NoClassDefFoundError if the bytes
* don't correspond to the reference type (the names
@@ -593,12 +594,13 @@
* @since 1.4
*/
boolean canAddMethod();
/**
- * Determines if the target VM supports unrestricted
- * changes when performing class redefinition.
+ * Determines if the target VM supports
+ * changes when performing class redefinition that are
+ * otherwise restricted by {@link #redefineClasses}.
* @see #redefineClasses
*
* @return <code>true</code> if the feature is supported,
* <code>false</code> otherwise.
*
< prev index next >