mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6866657: add byteLength method to primary classfile types
Reviewed-by: mchung
This commit is contained in:
parent
638db1aabb
commit
219445d03a
8 changed files with 197 additions and 0 deletions
|
@ -76,6 +76,10 @@ public class AccessFlags {
|
|||
return (flags & mask) != 0;
|
||||
}
|
||||
|
||||
public int byteLength() {
|
||||
return 2;
|
||||
}
|
||||
|
||||
private static final int[] classModifiers = {
|
||||
ACC_PUBLIC, ACC_FINAL, ACC_ABSTRACT, ACC_MODULE
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue