diff -r 1fa861caf840 -r 2ee9017c7597 jdk/src/java.base/share/classes/sun/misc/CharacterEncoder.java --- a/jdk/src/java.base/share/classes/sun/misc/CharacterEncoder.java Wed Sep 16 08:24:40 2015 -0400 +++ b/jdk/src/java.base/share/classes/sun/misc/CharacterEncoder.java Tue Sep 15 21:56:04 2015 -0700 @@ -79,10 +79,10 @@ protected PrintStream pStream; /** Return the number of bytes per atom of encoding */ - abstract protected int bytesPerAtom(); + protected abstract int bytesPerAtom(); /** Return the number of bytes that can be encoded per line */ - abstract protected int bytesPerLine(); + protected abstract int bytesPerLine(); /** * Encode the prefix for the entire buffer. By default is simply @@ -114,7 +114,7 @@ } /** Encode one "atom" of information into characters. */ - abstract protected void encodeAtom(OutputStream aStream, byte someBytes[], + protected abstract void encodeAtom(OutputStream aStream, byte someBytes[], int anOffset, int aLength) throws IOException; /**