< prev index next >

src/jdk.jdi/share/classes/com/sun/jdi/VirtualMachine.java

Print this page
rev 50604 : imported patch jep181-rev1

*** 1,7 **** /* ! * Copyright (c) 1998, 2017, 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 --- 1,7 ---- /* ! * 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,230 **** * 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>deleting a method * <LI>changing class modifiers * <LI>changing method modifiers * </UL> * </UL> * * @throws java.lang.NoClassDefFoundError if the bytes * don't correspond to the reference type (the names --- 217,231 ---- * canUnrestrictedlyRedefineClasses()} * is false, attempting any of the following will throw * this exception * <UL> * <LI>changing the schema (the fields) ! * <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,604 **** * @since 1.4 */ boolean canAddMethod(); /** ! * Determines if the target VM supports unrestricted ! * changes when performing class redefinition. * @see #redefineClasses * * @return <code>true</code> if the feature is supported, * <code>false</code> otherwise. * --- 594,606 ---- * @since 1.4 */ boolean canAddMethod(); /** ! * 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 >