# HG changeset patch # User jlaskey # Date 1461589147 10800 # Node ID b2812e811d0d77e68fbd052d5cf1ff6fb2b665a6 # Parent ab63cdc0e14e933c88c2a7584fa721b4162cb8b2 8147426: Missing definition for JIMAGE_NOT_FOUND Reviewed-by: hseigel, alanb diff -r ab63cdc0e14e -r b2812e811d0d hotspot/src/share/vm/classfile/jimage.hpp --- a/hotspot/src/share/vm/classfile/jimage.hpp Fri Apr 22 10:46:08 2016 +0200 +++ b/hotspot/src/share/vm/classfile/jimage.hpp Mon Apr 25 09:59:07 2016 -0300 @@ -30,7 +30,7 @@ typedef jlong JImageLocationRef; // Max path length limit independent of platform. Windows max path is 1024, -// other platforms use 4096. The JCK fails several tests when 1024 is used. +// other platforms use 4096. #define JIMAGE_MAX_PATH 4096 // JImage Error Codes @@ -113,7 +113,8 @@ * * Ex. * jlong size; - * JImageLocationRef location = (*JImageFindResource)(image, "java.base", "9.0", "java/lang/String.class", &size); + * JImageLocationRef location = (*JImageFindResource)(image, + * "java.base", "9.0", "java/lang/String.class", &size); */ extern "C" JImageLocationRef JIMAGE_FindResource(JImageFile* jimage, const char* module_name, const char* version, const char* name, @@ -134,7 +135,8 @@ * * Ex. * jlong size; - * JImageLocationRef location = (*JImageFindResource)(image, "java.base", "9.0", "java/lang/String.class", &size); + * JImageLocationRef location = (*JImageFindResource)(image, + * "java.base", "9.0", "java/lang/String.class", &size); * char* buffer = new char[size]; * (*JImageGetResource)(image, location, buffer, size); */ @@ -154,7 +156,8 @@ * required. All strings are utf-8, zero byte terminated.file. * * Ex. - * bool ctw_visitor(JImageFile* jimage, const char* module_name, const char* version, const char* package, const char* name, const char* extension, void* arg) { + * bool ctw_visitor(JImageFile* jimage, const char* module_name, const char* version, + * const char* package, const char* name, const char* extension, void* arg) { * if (strcmp(extension, “class”) == 0) { * char path[JIMAGE_MAX_PATH]; * Thread* THREAD = Thread::current();