Skip to content

Commit ccf3340

Browse files
author
Brian Burkhalter
committed
8303083: (bf) Remove private DirectByteBuffer(long, int) constructor before JDK 21 GA
Reviewed-by: alanb, lancea
1 parent 83d77b1 commit ccf3340

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/java.base/share/classes/java/nio/Direct-X-Buffer.java.template

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,6 @@ class Direct$Type$Buffer$RW$$BO$
187187
att = null;
188188
}
189189

190-
// Temporarily keep the long,int constructor around
191-
private Direct$Type$Buffer(long addr, int cap) {
192-
this(addr, (long)cap);
193-
}
194-
195190
// Throw an IllegalArgumentException if the capacity is not in
196191
// the range [0, Integer.MAX_VALUE]
197192
//

0 commit comments

Comments
 (0)