--- old/src/java.base/share/classes/java/nio/StringCharBuffer.java 2019-12-09 18:15:12.763692113 +0000 +++ new/src/java.base/share/classes/java/nio/StringCharBuffer.java 2019-12-09 18:15:12.307683993 +0000 @@ -35,7 +35,7 @@ CharSequence str; StringCharBuffer(CharSequence s, int start, int end) { // package-private - super(-1, start, end, s.length()); + super(-1, start, end, s.length(), null); int n = s.length(); Objects.checkFromToIndex(start, end, n); str = s; @@ -68,7 +68,7 @@ int limit, int cap, int offset) { - super(mark, pos, limit, cap, null, offset); + super(mark, pos, limit, cap, null, offset, null); str = s; this.isReadOnly = true; }