# HG changeset patch # User ihse # Date 1512566264 -3600 # Node ID e2c47e2db0a5d4433d60649324c46ef23264e4b7 # Parent 07d921cdd7a63870e90288346f8d6c6b1ca0f43b# Parent eaa406097d93a5de903561ce5eb05fa8681f183c Merge diff -r 07d921cdd7a6 -r e2c47e2db0a5 make/CompileInterimLangtools.gmk --- a/make/CompileInterimLangtools.gmk Wed Dec 06 14:13:50 2017 +0100 +++ b/make/CompileInterimLangtools.gmk Wed Dec 06 14:17:44 2017 +0100 @@ -69,8 +69,8 @@ Standard.java, \ EXTRA_FILES := $(BUILDTOOLS_OUTPUTDIR)/gensrc/$1.interim/module-info.java, \ COPY := .gif .png .xml .css .js javax.tools.JavaCompilerTool, \ - BIN := $(BUILDTOOLS_OUTPUTDIR)/interim_modules/$1.interim, \ - ADD_JAVAC_FLAGS := --module-path $(BUILDTOOLS_OUTPUTDIR)/interim_modules \ + BIN := $(BUILDTOOLS_OUTPUTDIR)/interim_langtools_modules/$1.interim, \ + ADD_JAVAC_FLAGS := --module-path $(BUILDTOOLS_OUTPUTDIR)/interim_langtools_modules \ $$(INTERIM_LANGTOOLS_ADD_EXPORTS) \ -Xlint:-module, \ )) diff -r 07d921cdd7a6 -r e2c47e2db0a5 make/CompileInterimRmic.gmk --- a/make/CompileInterimRmic.gmk Wed Dec 06 14:13:50 2017 +0100 +++ b/make/CompileInterimRmic.gmk Wed Dec 06 14:17:44 2017 +0100 @@ -65,10 +65,10 @@ EXCLUDE_FILES := $(TOPDIR)/src/jdk.rmic/share/classes/module-info.java, \ EXTRA_FILES := $(BUILDTOOLS_OUTPUTDIR)/gensrc/jdk.rmic.interim/module-info.java, \ INCLUDES := $(RMIC_PKGS), \ - BIN := $(BUILDTOOLS_OUTPUTDIR)/interim_modules/jdk.rmic.interim, \ + BIN := $(BUILDTOOLS_OUTPUTDIR)/interim_rmic_modules/jdk.rmic.interim, \ COPY := .properties, \ ADD_JAVAC_FLAGS := \ - --module-path $(BUILDTOOLS_OUTPUTDIR)/interim_modules \ + --module-path $(BUILDTOOLS_OUTPUTDIR)/interim_rmic_modules \ --add-modules java.corba \ --add-exports java.corba/com.sun.corba.se.impl.util=jdk.rmic.interim \ $(INTERIM_RMIC_ADD_EXPORTS), \ diff -r 07d921cdd7a6 -r e2c47e2db0a5 make/CreateJmods.gmk --- a/make/CreateJmods.gmk Wed Dec 06 14:13:50 2017 +0100 +++ b/make/CreateJmods.gmk Wed Dec 06 14:17:44 2017 +0100 @@ -1,5 +1,4 @@ - -# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2014, 2017, 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 @@ -33,6 +32,8 @@ $(error MODULE must be set when calling CreateJmods.gmk) endif +$(eval $(call IncludeCustomExtension, CreateJmods.gmk)) + ################################################################################ JMODS_DIR := $(IMAGES_OUTPUTDIR)/jmods diff -r 07d921cdd7a6 -r e2c47e2db0a5 make/Help.gmk diff -r 07d921cdd7a6 -r e2c47e2db0a5 make/RunTestsPrebuilt.gmk --- a/make/RunTestsPrebuilt.gmk Wed Dec 06 14:13:50 2017 +0100 +++ b/make/RunTestsPrebuilt.gmk Wed Dec 06 14:17:44 2017 +0100 @@ -69,7 +69,7 @@ $1:=$2 endif else - ifneq ($$(findstring $$(LOG), info debug trace), ) + ifneq ($$(findstring $$(LOG), info debug trace), ) $$(info Prebuilt variable $1=$$($1)) endif endif @@ -91,8 +91,8 @@ $(error Internal makefile error: \ Too many arguments to macro, please update CreateNewSpec in RunTestsPrebuilt.gmk) \ ) \ - $(shell rm -f $1) \ - $(foreach i, 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25, \ + $(shell $(RM) $1) \ + $(foreach i, $(call sequence, 2, 25), \ $(if $(strip $($i)), \ $(call AppendFile, $(strip $($i)), $1) \ ) \ @@ -179,7 +179,7 @@ OPENJDK_TARGET_CPU := $(UNAME_CPU) endif else - # ... all other user uname -m + # ... all others use uname -m UNAME_CPU := $(shell $(UNAME) -m) ifeq ($(UNAME_CPU), i686) OPENJDK_TARGET_CPU := x86 diff -r 07d921cdd7a6 -r e2c47e2db0a5 make/RunTestsPrebuiltSpec.gmk diff -r 07d921cdd7a6 -r e2c47e2db0a5 make/autoconf/boot-jdk.m4 --- a/make/autoconf/boot-jdk.m4 Wed Dec 06 14:13:50 2017 +0100 +++ b/make/autoconf/boot-jdk.m4 Wed Dec 06 14:17:44 2017 +0100 @@ -353,9 +353,6 @@ AC_MSG_CHECKING([flags for boot jdk java command] ) - # Disable special log output when a debug build is used as Boot JDK... - ADD_JVM_ARG_IF_OK([-XX:-PrintVMOptions -XX:-UnlockDiagnosticVMOptions -XX:-LogVMOutput],boot_jdk_jvmargs,[$JAVA]) - # Force en-US environment ADD_JVM_ARG_IF_OK([-Duser.language=en -Duser.country=US],boot_jdk_jvmargs,[$JAVA]) diff -r 07d921cdd7a6 -r e2c47e2db0a5 make/autoconf/generated-configure.sh --- a/make/autoconf/generated-configure.sh Wed Dec 06 14:13:50 2017 +0100 +++ b/make/autoconf/generated-configure.sh Wed Dec 06 14:17:44 2017 +0100 @@ -5159,7 +5159,7 @@ #CUSTOM_AUTOCONF_INCLUDE # Do not change or remove the following line, it is needed for consistency checks: -DATE_WHEN_GENERATED=1512410983 +DATE_WHEN_GENERATED=1512566251 ############################################################################### # @@ -67379,23 +67379,6 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking flags for boot jdk java command " >&5 $as_echo_n "checking flags for boot jdk java command ... " >&6; } - # Disable special log output when a debug build is used as Boot JDK... - - $ECHO "Check if jvm arg is ok: -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput" >&5 - $ECHO "Command: $JAVA -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -version" >&5 - OUTPUT=`$JAVA -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -version 2>&1` - FOUND_WARN=`$ECHO "$OUTPUT" | $GREP -i warn` - FOUND_VERSION=`$ECHO $OUTPUT | $GREP " version \""` - if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then - boot_jdk_jvmargs="$boot_jdk_jvmargs -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput" - JVM_ARG_OK=true - else - $ECHO "Arg failed:" >&5 - $ECHO "$OUTPUT" >&5 - JVM_ARG_OK=false - fi - - # Force en-US environment $ECHO "Check if jvm arg is ok: -Duser.language=en -Duser.country=US" >&5 diff -r 07d921cdd7a6 -r e2c47e2db0a5 make/autoconf/spec.gmk.in --- a/make/autoconf/spec.gmk.in Wed Dec 06 14:13:50 2017 +0100 +++ b/make/autoconf/spec.gmk.in Wed Dec 06 14:17:44 2017 +0100 @@ -565,6 +565,7 @@ BUILD_JAVA_FLAGS := @BOOTCYCLE_JVM_ARGS_BIG@ BUILD_JAVA=@FIXPATH@ $(BUILD_JDK)/bin/java $(BUILD_JAVA_FLAGS) +BUILD_JAR=@FIXPATH@ $(BUILD_JDK)/bin/jar # Interim langtools and rmic modules and arguments INTERIM_LANGTOOLS_BASE_MODULES := java.compiler jdk.compiler jdk.javadoc @@ -577,7 +578,7 @@ INTERIM_LANGTOOLS_ARGS := \ --limit-modules java.base,jdk.zipfs,$(INTERIM_LANGTOOLS_MODULES_COMMA) \ --add-modules $(INTERIM_LANGTOOLS_MODULES_COMMA) \ - --module-path $(BUILDTOOLS_OUTPUTDIR)/interim_modules \ + --module-path $(BUILDTOOLS_OUTPUTDIR)/interim_langtools_modules \ $(INTERIM_LANGTOOLS_ADD_EXPORTS) \ # JAVAC_MAIN_CLASS = -m jdk.compiler.interim/com.sun.tools.javac.Main @@ -588,8 +589,10 @@ INTERIM_RMIC_ADD_EXPORTS := \ --add-exports java.corba/com.sun.corba.se.impl.util=jdk.rmic.interim \ # -INTERIM_RMIC_ARGS := --limit-modules java.base,jdk.compiler,jdk.javadoc,java.corba \ - --module-path $(BUILDTOOLS_OUTPUTDIR)/interim_modules \ +# Use = to delay expansion of PathList since it's not available in this file. +INTERIM_RMIC_ARGS = --limit-modules java.base,jdk.compiler,jdk.javadoc,java.corba \ + --module-path $(call PathList, $(BUILDTOOLS_OUTPUTDIR)/interim_rmic_modules \ + $(BUILDTOOLS_OUTPUTDIR)/interim_langtools_modules) \ $(INTERIM_RMIC_ADD_EXPORTS) \ # diff -r 07d921cdd7a6 -r e2c47e2db0a5 make/common/JarArchive.gmk --- a/make/common/JarArchive.gmk Wed Dec 06 14:13:50 2017 +0100 +++ b/make/common/JarArchive.gmk Wed Dec 06 14:17:44 2017 +0100 @@ -56,6 +56,7 @@ # added to the archive. # EXTRA_MANIFEST_ATTR:=Extra attribute to add to manifest. # CHECK_COMPRESS_JAR Check the COMPRESS_JAR variable +# JAR_CMD:=Optionally override the jar command to use when creating the archive. SetupJarArchive = $(NamedParamsMacroTemplate) define SetupJarArchiveBody @@ -65,6 +66,7 @@ $1_DELETESS_FILE:=$$(dir $$($1_JAR))_the.$$($1_JARNAME)_deletess $1_DELETES_FILE:=$$(dir $$($1_JAR))_the.$$($1_JARNAME)_deletes $1_BIN:=$$(dir $$($1_JAR)) + $$(call SetIfEmpty, $1_JAR_CMD, $$(JAR)) ifeq (,$$($1_SUFFIXES)) # No suffix was set, default to classes. @@ -109,7 +111,7 @@ # Check if this jar needs to have its index generated. ifneq (,$$($1_JARINDEX)) - $1_JARINDEX = (cd $$(dir $$@) && $(JAR) -i $$(notdir $$@)) + $1_JARINDEX = (cd $$(dir $$@) && $$($1_JAR_CMD) -i $$(notdir $$@)) else $1_JARINDEX = true endif @@ -189,7 +191,7 @@ $1_UPDATE_CONTENTS=\ if [ "`$(WC) -l $$($1_BIN)/_the.$$($1_JARNAME)_contents | $(AWK) '{ print $$$$1 }'`" -gt "0" ]; then \ $(ECHO) " updating" `$(WC) -l $$($1_BIN)/_the.$$($1_JARNAME)_contents | $(AWK) '{ print $$$$1 }'` files && \ - $(JAR) $$($1_JAR_UPDATE_OPTIONS) $$@ @$$($1_BIN)/_the.$$($1_JARNAME)_contents; \ + $$($1_JAR_CMD) $$($1_JAR_UPDATE_OPTIONS) $$@ @$$($1_BIN)/_the.$$($1_JARNAME)_contents; \ fi $$(NEWLINE) # The s-variants of the above macros are used when the jar is created from scratch. # NOTICE: please leave the parentheses space separated otherwise the AIX build will break! @@ -208,7 +210,7 @@ | $(SED) 's|$$(src)/|-C $$(src) |g' >> \ $$($1_BIN)/_the.$$($1_JARNAME)_contents) $$(NEWLINE) ) endif - $1_SUPDATE_CONTENTS=$(JAR) $$($1_JAR_UPDATE_OPTIONS) $$@ @$$($1_BIN)/_the.$$($1_JARNAME)_contents $$(NEWLINE) + $1_SUPDATE_CONTENTS=$$($1_JAR_CMD) $$($1_JAR_UPDATE_OPTIONS) $$@ @$$($1_BIN)/_the.$$($1_JARNAME)_contents $$(NEWLINE) # Use a slightly shorter name for logging, but with enough path to identify this jar. $1_NAME:=$$(subst $$(OUTPUTDIR)/,,$$($1_JAR)) @@ -226,7 +228,7 @@ endif # Include all variables of significance in the vardeps file - $1_VARDEPS := $(JAR) $$($1_JAR_CREATE_OPTIONS) $$($1_MANIFEST) \ + $1_VARDEPS := $$($1_JAR_CMD) $$($1_JAR_CREATE_OPTIONS) $$($1_MANIFEST) \ $$($1_JARMAIN) $$($1_EXTRA_MANIFEST_ATTR) $$($1_ORIG_DEPS) $$($1_SRCS) \ $$($1_INCLUDES) $$($1_EXCLUDES) $$($1_EXCLUDE_FILES) $$($1_EXTRA_FILES) $1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, $$(dir $$($1_JAR))_the.$$($1_JARNAME).vardeps) @@ -250,7 +252,7 @@ $$(if $$($1_EXTRA_MANIFEST_ATTR), \ $(PRINTF) "$$($1_EXTRA_MANIFEST_ATTR)\n" >> $$($1_MANIFEST_FILE) $$(NEWLINE)) \ $(ECHO) Creating $$($1_NAME) $$(NEWLINE) \ - $(JAR) $$($1_JAR_CREATE_OPTIONS) $$@ $$($1_MANIFEST_FILE) $$(NEWLINE) \ + $$($1_JAR_CMD) $$($1_JAR_CREATE_OPTIONS) $$@ $$($1_MANIFEST_FILE) $$(NEWLINE) \ $$($1_SCAPTURE_CONTENTS) \ $$($1_SCAPTURE_METAINF) \ $$($1_SUPDATE_CONTENTS) \ diff -r 07d921cdd7a6 -r e2c47e2db0a5 make/conf/jib-profiles.js diff -r 07d921cdd7a6 -r e2c47e2db0a5 make/jdk/src/classes/build/tools/jdwpgen/RootNode.java --- a/make/jdk/src/classes/build/tools/jdwpgen/RootNode.java Wed Dec 06 14:13:50 2017 +0100 +++ b/make/jdk/src/classes/build/tools/jdwpgen/RootNode.java Wed Dec 06 14:17:44 2017 +0100 @@ -40,6 +40,7 @@ } void document(PrintWriter writer) { + writer.println(""); writer.println("
Resolution is the process of computing how modules depend on each other. * The process occurs at compile time and run time.
diff -r 07d921cdd7a6 -r e2c47e2db0a5 src/java.base/share/classes/java/text/MessageFormat.java --- a/src/java.base/share/classes/java/text/MessageFormat.java Wed Dec 06 14:13:50 2017 +0100 +++ b/src/java.base/share/classes/java/text/MessageFormat.java Wed Dec 06 14:17:44 2017 +0100 @@ -701,6 +701,10 @@ * larger than the number of format elements in the pattern string */ public void setFormat(int formatElementIndex, Format newFormat) { + + if (formatElementIndex > maxOffset) { + throw new ArrayIndexOutOfBoundsException(formatElementIndex); + } formats[formatElementIndex] = newFormat; } diff -r 07d921cdd7a6 -r e2c47e2db0a5 src/java.base/share/classes/java/util/StringJoiner.java --- a/src/java.base/share/classes/java/util/StringJoiner.java Wed Dec 06 14:13:50 2017 +0100 +++ b/src/java.base/share/classes/java/util/StringJoiner.java Wed Dec 06 14:17:44 2017 +0100 @@ -24,9 +24,6 @@ */ package java.util; -import jdk.internal.misc.JavaLangAccess; -import jdk.internal.misc.SharedSecrets; - /** * {@code StringJoiner} is used to construct a sequence of characters separated * by a delimiter and optionally starting with a supplied prefix @@ -86,8 +83,6 @@ */ private String emptyValue; - private static final JavaLangAccess jla = SharedSecrets.getJavaLangAccess(); - /** * Constructs a {@code StringJoiner} with no characters in it, with no * {@code prefix} or {@code suffix}, and a copy of the supplied @@ -189,7 +184,7 @@ } } k += getChars(suffix, chars, k); - return jla.newStringUnsafe(chars); + return new String(chars); } /** @@ -252,7 +247,7 @@ elts[i] = null; } while (++i < size); size = 1; - elts[0] = jla.newStringUnsafe(chars); + elts[0] = new String(chars); } } diff -r 07d921cdd7a6 -r e2c47e2db0a5 src/java.base/share/classes/java/util/jar/JarFile.java --- a/src/java.base/share/classes/java/util/jar/JarFile.java Wed Dec 06 14:13:50 2017 +0100 +++ b/src/java.base/share/classes/java/util/jar/JarFile.java Wed Dec 06 14:17:44 2017 +0100 @@ -43,17 +43,12 @@ import java.security.cert.Certificate; import java.util.ArrayList; import java.util.Enumeration; -import java.util.Iterator; import java.util.List; import java.util.Locale; -import java.util.Map; import java.util.NoSuchElementException; import java.util.Objects; -import java.util.Spliterator; -import java.util.Spliterators; -import java.util.stream.Collector; +import java.util.function.Function; import java.util.stream.Stream; -import java.util.stream.StreamSupport; import java.util.zip.ZipEntry; import java.util.zip.ZipException; import java.util.zip.ZipFile; @@ -566,7 +561,14 @@ * given entry name or {@code null} if not found. */ private JarFileEntry getEntry0(String name) { - return (JarFileEntry)JUZFA.getEntry(this, name, JarFileEntry::new); + // Not using a lambda/method reference here to optimize startup time + FunctionThis is a terminal
* operation.
*
- * @return an array containing the elements of this stream
+ * @return an array, whose {@linkplain Class#getComponentType runtime component
+ * type} is {@code Object}, containing the elements of this stream
*/
Object[] toArray();
@@ -694,13 +695,13 @@
* .toArray(Person[]::new);
* }
*
- * @param the element type of the resulting array
+ * @param the component type of the resulting array
* @param generator a function which produces a new array of the desired
* type and the provided length
* @return an array containing the elements in this stream
- * @throws ArrayStoreException if the runtime type of the array returned
- * from the array generator is not a supertype of the runtime type of every
- * element in this stream
+ * @throws ArrayStoreException if the runtime type of any element of this
+ * stream is not assignable to the {@linkplain Class#getComponentType
+ * runtime component type} of the generated array
*/
A[] toArray(IntFunction generator);
diff -r 07d921cdd7a6 -r e2c47e2db0a5 src/java.base/share/classes/jdk/internal/loader/Loader.java
--- a/src/java.base/share/classes/jdk/internal/loader/Loader.java Wed Dec 06 14:13:50 2017 +0100
+++ b/src/java.base/share/classes/jdk/internal/loader/Loader.java Wed Dec 06 14:17:44 2017 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2017, 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
@@ -28,7 +28,6 @@
import java.io.File;
import java.io.FilePermission;
import java.io.IOException;
-import java.io.UncheckedIOException;
import java.lang.module.Configuration;
import java.lang.module.ModuleDescriptor;
import java.lang.module.ModuleReader;
@@ -58,12 +57,8 @@
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
-import java.util.Spliterator;
-import java.util.Spliterators;
import java.util.concurrent.ConcurrentHashMap;
-import java.util.function.Supplier;
import java.util.stream.Stream;
-import java.util.stream.StreamSupport;
import jdk.internal.misc.SharedSecrets;
import jdk.internal.module.Resources;
@@ -403,12 +398,15 @@
// this loader
URL url = findResource(name);
- if (url != null) {
- return url;
- } else {
+ if (url == null) {
// parent loader
- return parent.getResource(name);
+ if (parent != null) {
+ url = parent.getResource(name);
+ } else {
+ url = BootLoader.findResource(name);
+ }
}
+ return url;
}
@Override
@@ -419,7 +417,12 @@
List A thin wrapper around a millisecond value that allows
@@ -46,8 +44,6 @@
*/
public class Date extends java.util.Date {
- private static final JavaLangAccess jla = SharedSecrets.getJavaLangAccess();
-
/**
* Constructs a A thin wrapper around the A thin wrapper around {@code java.util.Date} that allows
@@ -74,8 +72,6 @@
*/
public class Timestamp extends java.util.Date {
- private static final JavaLangAccess jla = SharedSecrets.getJavaLangAccess();
-
/**
* Constructs a {@code Timestamp} object initialized
* with the given values.
@@ -313,7 +309,7 @@
buf[yearSize + 15] = '.';
Date.formatDecimalInt(tmpNanos, buf, yearSize + 16, 9 - trailingZeros);
- return jla.newStringUnsafe(buf);
+ return new String(buf);
}
/**
diff -r 07d921cdd7a6 -r e2c47e2db0a5 src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java
--- a/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java Wed Dec 06 14:13:50 2017 +0100
+++ b/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java Wed Dec 06 14:17:44 2017 +0100
@@ -430,7 +430,7 @@
SetDate
object initialized with the given
* year, month, and day.
@@ -168,7 +164,7 @@
buf[7] = '-';
Date.formatDecimalInt(day, buf, 8, 2);
- return jla.newStringUnsafe(buf);
+ return new String(buf);
}
/**
diff -r 07d921cdd7a6 -r e2c47e2db0a5 src/java.sql/share/classes/java/sql/Time.java
--- a/src/java.sql/share/classes/java/sql/Time.java Wed Dec 06 14:13:50 2017 +0100
+++ b/src/java.sql/share/classes/java/sql/Time.java Wed Dec 06 14:17:44 2017 +0100
@@ -27,8 +27,6 @@
import java.time.Instant;
import java.time.LocalTime;
-import jdk.internal.misc.SharedSecrets;
-import jdk.internal.misc.JavaLangAccess;
/**
* java.util.Date
class that allows the JDBC
@@ -43,8 +41,6 @@
*/
public class Time extends java.util.Date {
- private static final JavaLangAccess jla = SharedSecrets.getJavaLangAccess();
-
/**
* Constructs a Time
object initialized with the
* given values for the hour, minute, and second.
@@ -134,7 +130,7 @@
buf[5] = ':';
Date.formatDecimalInt(second, buf, 6, 2);
- return jla.newStringUnsafe(buf);
+ return new String(buf);
}
// Override all the date operations inherited from java.util.Date;
diff -r 07d921cdd7a6 -r e2c47e2db0a5 src/java.sql/share/classes/java/sql/Timestamp.java
--- a/src/java.sql/share/classes/java/sql/Timestamp.java Wed Dec 06 14:13:50 2017 +0100
+++ b/src/java.sql/share/classes/java/sql/Timestamp.java Wed Dec 06 14:17:44 2017 +0100
@@ -27,8 +27,6 @@
import java.time.Instant;
import java.time.LocalDateTime;
-import jdk.internal.misc.SharedSecrets;
-import jdk.internal.misc.JavaLangAccess;
/**
*