< prev index next >
src/java.base/share/classes/java/nio/StringCharBuffer.java
Print this page
rev 57242 : imported patch 8234049.patch
@@ -33,11 +33,11 @@
extends CharBuffer
{
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;
this.isReadOnly = true;
}
@@ -66,11 +66,11 @@
int mark,
int pos,
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;
}
public CharBuffer duplicate() {
< prev index next >