--- old/test/java/lang/StringCoding/Enormous.java 2014-03-19 11:22:44.000000000 -0700 +++ new/test/java/lang/StringCoding/Enormous.java 2014-03-19 11:22:44.000000000 -0700 @@ -34,6 +34,6 @@ new String(bytes,"ASCII"); // Another manifestation of this bug, reported in bug 6192102. - new sun.misc.BASE64Encoder().encode(bytes); + java.util.Base64.getEncoder().encodeToString(bytes); } }