mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8335939: Hide element writing across the ClassFile API
Reviewed-by: asotona
This commit is contained in:
parent
e83b4b236e
commit
a2a236f904
50 changed files with 263 additions and 360 deletions
|
@ -189,19 +189,4 @@ public sealed interface ClassReader extends ConstantPool
|
|||
* @param len the length of the range
|
||||
*/
|
||||
void copyBytesTo(BufWriter buf, int offset, int len);
|
||||
|
||||
/**
|
||||
* Compare a range of bytes from the classfile to a range of bytes within
|
||||
* a {@link BufWriter}.
|
||||
*
|
||||
* @param bufWriter the {@linkplain BufWriter}
|
||||
* @param bufWriterOffset the offset within the {@linkplain BufWriter}
|
||||
* @param classReaderOffset the offset within the classfile
|
||||
* @param length the length of the range
|
||||
* @return whether the two ranges were identical
|
||||
*/
|
||||
boolean compare(BufWriter bufWriter,
|
||||
int bufWriterOffset,
|
||||
int classReaderOffset,
|
||||
int length);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue