equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
212 case JVMTI_ERROR_UNSUPPORTED_REDEFINITION_CLASS_MODIFIERS_CHANGED: |
212 case JVMTI_ERROR_UNSUPPORTED_REDEFINITION_CLASS_MODIFIERS_CHANGED: |
213 throwableClassName = "java/lang/UnsupportedOperationException"; |
213 throwableClassName = "java/lang/UnsupportedOperationException"; |
214 message = "class redefinition failed: attempted to change the class modifiers"; |
214 message = "class redefinition failed: attempted to change the class modifiers"; |
215 break; |
215 break; |
216 |
216 |
|
217 case JVMTI_ERROR_UNSUPPORTED_REDEFINITION_CLASS_ATTRIBUTE_CHANGED: |
|
218 throwableClassName = "java/lang/UnsupportedOperationException"; |
|
219 message = "class redefinition failed: attempted to change the class NestHost or NestMembers attribute"; |
|
220 break; |
|
221 |
217 case JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_MODIFIERS_CHANGED: |
222 case JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_MODIFIERS_CHANGED: |
218 throwableClassName = "java/lang/UnsupportedOperationException"; |
223 throwableClassName = "java/lang/UnsupportedOperationException"; |
219 message = "class redefinition failed: attempted to change method modifiers"; |
224 message = "class redefinition failed: attempted to change method modifiers"; |
220 break; |
225 break; |
221 |
226 |