< prev index next >

src/java.base/share/native/libjava/System.c

Print this page
rev 48343 : imported patch JDK-8173382-classfile-version

*** 112,124 **** #define VENDOR "Oracle Corporation" #define VENDOR_URL "http://java.oracle.com/" #define VENDOR_URL_BUG "http://bugreport.java.com/bugreport/" #endif - #define JAVA_MAX_SUPPORTED_VERSION 54 - #define JAVA_MAX_SUPPORTED_MINOR_VERSION 0 - #ifdef JAVA_SPECIFICATION_VENDOR /* Third party may NOT overwrite this. */ #error "ERROR: No override of JAVA_SPECIFICATION_VENDOR is allowed" #else #define JAVA_SPECIFICATION_VENDOR "Oracle Corporation" #endif --- 112,121 ----
*** 217,228 **** PUTPROP(props, "java.version", VERSION_SHORT); PUTPROP(props, "java.vendor", VENDOR); PUTPROP(props, "java.vendor.url", VENDOR_URL); PUTPROP(props, "java.vendor.url.bug", VENDOR_URL_BUG); ! jio_snprintf(buf, sizeof(buf), "%d.%d", JAVA_MAX_SUPPORTED_VERSION, ! JAVA_MAX_SUPPORTED_MINOR_VERSION); PUTPROP(props, "java.class.version", buf); if (sprops->awt_toolkit) { PUTPROP(props, "awt.toolkit", sprops->awt_toolkit); } --- 214,225 ---- PUTPROP(props, "java.version", VERSION_SHORT); PUTPROP(props, "java.vendor", VENDOR); PUTPROP(props, "java.vendor.url", VENDOR_URL); PUTPROP(props, "java.vendor.url.bug", VENDOR_URL_BUG); ! jio_snprintf(buf, sizeof(buf), "%d.%d", JVM_CLASSFILE_MAJOR_VERSION, ! JVM_CLASSFILE_MINOR_VERSION); PUTPROP(props, "java.class.version", buf); if (sprops->awt_toolkit) { PUTPROP(props, "awt.toolkit", sprops->awt_toolkit); }
< prev index next >