diff -r 390794d000e6 -r c4f2b6749c86 src/java.base/share/classes/jdk/internal/misc/JavaLangAccess.java --- a/src/java.base/share/classes/jdk/internal/misc/JavaLangAccess.java Tue Dec 05 14:10:11 2017 +0100 +++ b/src/java.base/share/classes/jdk/internal/misc/JavaLangAccess.java Tue Dec 05 14:25:16 2017 +0100 @@ -124,16 +124,6 @@ void registerShutdownHook(int slot, boolean registerShutdownInProgress, Runnable hook); /** - * Returns a new string backed by the provided character array. The - * character array is not copied and must never be modified after the - * String is created, in order to fulfill String's contract. - * - * @param chars the character array to back the string - * @return a newly created string whose content is the character array - */ - String newStringUnsafe(char[] chars); - - /** * Returns a new Thread with the given Runnable and an * inherited AccessControlContext. */