--- old/src/demo/share/java2d/J2DBench/Makefile 2020-08-13 20:50:40.757103600 -0700
+++ new/src/demo/share/java2d/J2DBench/Makefile 2020-08-13 20:50:40.188271700 -0700
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -120,7 +120,7 @@
mkdirs: $(DIST) $(CLASSES)
$(CLASSES)/j2dbench/%.class: $(SOURCEPATH)/j2dbench/%.java
- javac -g:none -source 1.6 -target 1.6 -d $(CLASSES) -sourcepath $(SOURCEPATH) $<
+ javac -g:none -source 1.7 -target 1.7 -d $(CLASSES) -sourcepath $(SOURCEPATH) $<
clean:
rm -rf $(CLASSES)
--- old/src/demo/share/java2d/J2DBench/README 2020-08-13 20:50:43.840628800 -0700
+++ new/src/demo/share/java2d/J2DBench/README 2020-08-13 20:50:43.274903800 -0700
@@ -20,8 +20,9 @@
-----------------------------------------------------------------------
The benchmark requires at least jdk1.4 to compile and run. Note that
-source/target is set to 1.6 in the makefile and build.xml, because of
-support in jdk 9 compiler.
+source/target is set to 1.7 in the makefile and build.xml, because of
+support in jdk 14 compiler. To check compatibility with jdk1.4 you can
+use "-source 1.4 -target 1.4" options and jdk1.7.
-----------------------------------------------------------------------
How To Compile
--- old/src/demo/share/java2d/J2DBench/build.xml 2020-08-13 20:50:46.903199900 -0700
+++ new/src/demo/share/java2d/J2DBench/build.xml 2020-08-13 20:50:46.342712700 -0700
@@ -1,5 +1,5 @@
-
+