equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2015, 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. |
537 return cache == NULL ? 0 : cache->length; |
537 return cache == NULL ? 0 : cache->length; |
538 } |
538 } |
539 static unsigned char * get_cached_class_file_bytes(JvmtiCachedClassFileData *cache) { |
539 static unsigned char * get_cached_class_file_bytes(JvmtiCachedClassFileData *cache) { |
540 return cache == NULL ? NULL : cache->data; |
540 return cache == NULL ? NULL : cache->data; |
541 } |
541 } |
|
542 |
|
543 // Error printing |
|
544 void print_on_error(outputStream* st) const; |
542 }; |
545 }; |
543 #endif // SHARE_VM_PRIMS_JVMTIREDEFINECLASSES_HPP |
546 #endif // SHARE_VM_PRIMS_JVMTIREDEFINECLASSES_HPP |