--- old/make/common/shared/Defs-control.gmk Wed Oct 31 10:26:42 2012 +++ new/make/common/shared/Defs-control.gmk Wed Oct 31 10:26:42 2012 @@ -1,5 +1,5 @@ # -# Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1995, 2012, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -88,9 +88,9 @@ dummy := $(shell $(MKDIR) -p $(TEMP_DIR)) # The language version we want for this jdk build -SOURCE_LANGUAGE_VERSION=7 +SOURCE_LANGUAGE_VERSION=8 # The class version we want for this jdk build -TARGET_CLASS_VERSION=7 +TARGET_CLASS_VERSION=8 # The MESSAGE, WARNING and ERROR files are used to store sanity check and # source check messages, warnings and errors. --- old/make/java/invoke/Makefile Wed Oct 31 10:26:45 2012 +++ new/make/java/invoke/Makefile Wed Oct 31 10:26:44 2012 @@ -1,5 +1,5 @@ # -# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -36,7 +36,7 @@ # The sources built here use new language syntax to generate # method handle calls. Let's be sure we are using that format. -LANGUAGE_VERSION = -source 7 -CLASS_VERSION = -target 7 +LANGUAGE_VERSION = -source 8 +CLASS_VERSION = -target 8 include $(BUILDDIR)/common/Classes.gmk --- old/src/share/classes/sun/tools/java/RuntimeConstants.java Wed Oct 31 10:26:47 2012 +++ new/src/share/classes/sun/tools/java/RuntimeConstants.java Wed Oct 31 10:26:46 2012 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -67,7 +67,7 @@ /* Class File Constants */ int JAVA_MAGIC = 0xcafebabe; int JAVA_MIN_SUPPORTED_VERSION = 45; - int JAVA_MAX_SUPPORTED_VERSION = 51; + int JAVA_MAX_SUPPORTED_VERSION = 52; int JAVA_MAX_SUPPORTED_MINOR_VERSION = 0; /* Generate class file version for 1.1 by default */ --- old/src/share/native/java/lang/System.c Wed Oct 31 10:26:49 2012 +++ new/src/share/native/java/lang/System.c Wed Oct 31 10:26:48 2012 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1994, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -102,7 +102,7 @@ #define VENDOR_URL_BUG "http://bugreport.sun.com/bugreport/" #endif -#define JAVA_MAX_SUPPORTED_VERSION 51 +#define JAVA_MAX_SUPPORTED_VERSION 52 #define JAVA_MAX_SUPPORTED_MINOR_VERSION 0 #ifdef JAVA_SPECIFICATION_VENDOR /* Third party may NOT overwrite this. */ --- old/test/ProblemList.txt Wed Oct 31 10:26:51 2012 +++ new/test/ProblemList.txt Wed Oct 31 10:26:51 2012 @@ -143,11 +143,6 @@ java/lang/management/MemoryMXBean/MemoryTest.java generic-all java/lang/management/MemoryMXBean/MemoryTestAllGC.sh generic-all -# Exclude until hotspot/jdk repos are sync'd w.r.t. JAVA_MAX_SUPPORTED_VERSION -# Needed when hotspot fix 7054345 is present. Remove when the JDK source is -# updated accordingly. -java/lang/System/Versions.java generic-all - ############################################################################ # jdk_management