8303083: (bf) Remove private DirectByteBuffer(long, int) constructor before JDK 21 GA
Reviewed-by: alanb, lancea
This commit is contained in:
parent
83d77b1cbb
commit
ccf3340e82
@ -187,11 +187,6 @@ class Direct$Type$Buffer$RW$$BO$
|
||||
att = null;
|
||||
}
|
||||
|
||||
// Temporarily keep the long,int constructor around
|
||||
private Direct$Type$Buffer(long addr, int cap) {
|
||||
this(addr, (long)cap);
|
||||
}
|
||||
|
||||
// Throw an IllegalArgumentException if the capacity is not in
|
||||
// the range [0, Integer.MAX_VALUE]
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user