Implementation Note
This class needs to maintain JDK 8 source compatibility. It is used internally in the JDK to implement jimage/jrtfs access, but also compiled and delivered as part of the jrtfs.jar to support access to the jimage file provided by the shipped JDK by tools running on JDK 8.
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| public static final int | |
| public static final int | |
| private static final int[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | decompress(ResourceDecompressor.
Implements jdk. Decompress a resource. |
| public static byte[] | |
| public String | getName()
Implements jdk. Decompressor unique name. |
| public static int[] | |
| public static byte[] | |
| private static String | |
| private static ByteBuffer | |
| private static ByteBuffer |
| CONSTANT_Class | back to summary |
|---|---|
| private static final int CONSTANT_Class | |
| CONSTANT_Double | back to summary |
|---|---|
| private static final int CONSTANT_Double | |
| CONSTANT_Fieldref | back to summary |
|---|---|
| private static final int CONSTANT_Fieldref | |
| CONSTANT_Float | back to summary |
|---|---|
| private static final int CONSTANT_Float | |
| CONSTANT_Integer | back to summary |
|---|---|
| private static final int CONSTANT_Integer | |
| CONSTANT_InterfaceMethodref | back to summary |
|---|---|
| private static final int CONSTANT_InterfaceMethodref | |
| CONSTANT_InvokeDynamic | back to summary |
|---|---|
| private static final int CONSTANT_InvokeDynamic | |
| CONSTANT_Long | back to summary |
|---|---|
| private static final int CONSTANT_Long | |
| CONSTANT_MethodHandle | back to summary |
|---|---|
| private static final int CONSTANT_MethodHandle | |
| CONSTANT_Methodref | back to summary |
|---|---|
| private static final int CONSTANT_Methodref | |
| CONSTANT_MethodType | back to summary |
|---|---|
| private static final int CONSTANT_MethodType | |
| CONSTANT_Module | back to summary |
|---|---|
| private static final int CONSTANT_Module | |
| CONSTANT_NameAndType | back to summary |
|---|---|
| private static final int CONSTANT_NameAndType | |
| CONSTANT_Package | back to summary |
|---|---|
| private static final int CONSTANT_Package | |
| CONSTANT_String | back to summary |
|---|---|
| private static final int CONSTANT_String | |
| CONSTANT_Utf8 | back to summary |
|---|---|
| private static final int CONSTANT_Utf8 | |
| EXTERNALIZED_STRING | back to summary |
|---|---|
| public static final int EXTERNALIZED_STRING | |
| EXTERNALIZED_STRING_DESCRIPTOR | back to summary |
|---|---|
| public static final int EXTERNALIZED_STRING_DESCRIPTOR | |
| SIZES | back to summary |
|---|---|
| private static final int[] SIZES | |
| StringSharingDecompressor | back to summary |
|---|---|
| public StringSharingDecompressor() | |
| decompress | back to summary |
|---|---|
| public byte[] decompress(ResourceDecompressor. Implements jdk. Doc from jdk. Decompress a resource.
| |
| getEncoded | back to summary |
|---|---|
| public static byte[] getEncoded(String pre) throws IOException | |
| getName | back to summary |
|---|---|
| public String getName() Implements jdk. Doc from jdk. Decompressor unique name.
| |
| getSizes | back to summary |
|---|---|
| public static int[] getSizes() | |
| normalize | back to summary |
|---|---|
public static byte[] normalize(ResourceDecompressor.
| |
| reconstruct | back to summary |
|---|---|
| private static String reconstruct(ResourceDecompressor. | |
| safeAdd | back to summary |
|---|---|
| private static ByteBuffer safeAdd(ByteBuffer current, byte b) | |
| safeAdd | back to summary |
|---|---|
| private static ByteBuffer safeAdd(ByteBuffer current, byte[] bytes) | |