8147426: Missing definition for JIMAGE_NOT_FOUND
authorjlaskey
Mon, 25 Apr 2016 09:57:55 -0300
changeset 37611 46a18ff2e16e
parent 37610 12f7514dccc4
child 37612 2c9bb54c90dc
8147426: Missing definition for JIMAGE_NOT_FOUND Reviewed-by: hseigel, alanb
jdk/src/java.base/share/native/libjimage/jimage.hpp
--- a/jdk/src/java.base/share/native/libjimage/jimage.hpp	Mon Apr 25 09:37:43 2016 +0000
+++ b/jdk/src/java.base/share/native/libjimage/jimage.hpp	Mon Apr 25 09:57:55 2016 -0300
@@ -37,11 +37,13 @@
 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
 
+// Resource was not found
+#define JIMAGE_NOT_FOUND (0)
 // The image file is not prefixed with 0xCAFEDADA
 #define JIMAGE_BAD_MAGIC (-1)
 // The image file does not have a compatible (translatable) version