equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2019, 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. |
7 * published by the Free Software Foundation. |
409 // in JVMS 6.5. |
409 // in JVMS 6.5. |
410 if (exception->is_a(SystemDictionary::Error_klass())) { |
410 if (exception->is_a(SystemDictionary::Error_klass())) { |
411 // Pass through an Error, including BootstrapMethodError, any other form |
411 // Pass through an Error, including BootstrapMethodError, any other form |
412 // of linkage error, or say ThreadDeath/OutOfMemoryError |
412 // of linkage error, or say ThreadDeath/OutOfMemoryError |
413 if (TraceMethodHandles) { |
413 if (TraceMethodHandles) { |
414 tty->print_cr("[constant/invoke]dynamic passes through an Error for " INTPTR_FORMAT, p2i((void *)exception)); |
414 tty->print_cr("bootstrap method invocation wraps BSME around " INTPTR_FORMAT, p2i((void *)exception)); |
415 exception->print(); |
415 exception->print(); |
416 } |
416 } |
417 return; |
417 return; |
418 } |
418 } |
419 |
419 |