< prev index next >

src/java.instrument/share/classes/java/lang/instrument/Instrumentation.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2016, 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) 2003, 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 **** * * <P> * Instances of the retransformed class are not affected. * * <P> ! * The retransformation may change method bodies, the constant pool and attributes. * The retransformation must not add, remove or rename fields or methods, change the ! * signatures of methods, or change inheritance. These restrictions maybe be ! * lifted in future versions. The class file bytes are not checked, verified and installed * until after the transformations have been applied, if the resultant bytes are in * error this method will throw an exception. * * <P> * If this method throws an exception, no classes have been retransformed. --- 217,234 ---- * * <P> * Instances of the retransformed class are not affected. * * <P> ! * The retransformation may change method bodies, the constant pool and ! * attributes (unless explicitly prohibited). * The retransformation must not add, remove or rename fields or methods, change the ! * signatures of methods, or change inheritance. ! * The retransformation must not change the <code>NestHost</code> or ! * <code>NestMembers</code> attributes. ! * These restrictions maybe be lifted in future versions. ! * The class file bytes are not checked, verified and installed * until after the transformations have been applied, if the resultant bytes are in * error this method will throw an exception. * * <P> * If this method throws an exception, no classes have been retransformed.
*** 304,317 **** * * <P> * Instances of the redefined class are not affected. * * <P> ! * The redefinition may change method bodies, the constant pool and attributes. * The redefinition must not add, remove or rename fields or methods, change the ! * signatures of methods, or change inheritance. These restrictions maybe be ! * lifted in future versions. The class file bytes are not checked, verified and installed * until after the transformations have been applied, if the resultant bytes are in * error this method will throw an exception. * * <P> * If this method throws an exception, no classes have been redefined. --- 308,325 ---- * * <P> * Instances of the redefined class are not affected. * * <P> ! * The redefinition may change method bodies, the constant pool and attributes ! * (unless explicitly prohibited). * The redefinition must not add, remove or rename fields or methods, change the ! * signatures of methods, or change inheritance. ! * The retransformation must not change the <code>NestHost</code> or ! * <code>NestMembers</code> attributes. ! * These restrictions maybe be lifted in future versions. ! * The class file bytes are not checked, verified and installed * until after the transformations have been applied, if the resultant bytes are in * error this method will throw an exception. * * <P> * If this method throws an exception, no classes have been redefined.
< prev index next >