8311175: Move BufWriter::asByteBuffer to BufWriterImpl

Reviewed-by: asotona
This commit is contained in:
Chen Liang 2024-05-21 08:02:18 +00:00 committed by Adam Sotona
parent 451cc23905
commit 414a7fdc5e
4 changed files with 4 additions and 11 deletions

View file

@ -24,7 +24,6 @@
*/
package java.lang.classfile;
import java.nio.ByteBuffer;
import java.util.List;
import java.lang.classfile.constantpool.ConstantPool;
@ -192,11 +191,6 @@ public sealed interface BufWriter
*/
int size();
/**
* {@return a {@link java.nio.ByteBuffer ByteBuffer} view of the bytes in the buffer}
*/
ByteBuffer asByteBuffer();
/**
* Copy the contents of the buffer into a byte array.
*