KengoTODA commented on PR #157: URL: https://github.com/apache/commons-bcel/pull/157#issuecomment-1279853964
full `javap` result: ``` Classfile /private/tmp/ClassWithNullConstantPoolItem.class Last modified Oct 15, 2022; size 278 bytes MD5 checksum 1aa3daf4cf1fe494046af119c6e409b9 Compiled from "ClassWithNullConstantPoolItem.java" class ClassWithNullConstantPoolItem minor version: 0 major version: 55 flags: (0x0020) ACC_SUPER this_class: #5 // ClassWithNullConstantPoolItem super_class: #6 // java/lang/Object interfaces: 0, fields: 1, methods: 1, attributes: 1 Constant pool: #1 = Methodref #6.#15 // java/lang/Object."<init>":()V #2 = Double 42.0d #4 = Fieldref #5.#16 // ClassWithNullConstantPoolItem.d:D #5 = Class #17 // ClassWithNullConstantPoolItem #6 = Class #18 // java/lang/Object #7 = Utf8 d #8 = Utf8 D #9 = Utf8 <init> #10 = Utf8 ()V #11 = Utf8 Code #12 = Utf8 LineNumberTable #13 = Utf8 SourceFile #14 = Utf8 ClassWithNullConstantPoolItem.java #15 = NameAndType #9:#10 // "<init>":()V #16 = NameAndType #7:#8 // d:D #17 = Utf8 ClassWithNullConstantPoolItem #18 = Utf8 java/lang/Object { double d; descriptor: D flags: (0x0000) ClassWithNullConstantPoolItem(); descriptor: ()V flags: (0x0000) Code: stack=3, locals=1, args_size=1 0: aload_0 1: invokespecial #1 // Method java/lang/Object."<init>":()V 4: aload_0 5: ldc2_w #2 // double 42.0d 8: putfield #4 // Field d:D 11: return LineNumberTable: line 1: 0 line 2: 4 } SourceFile: "ClassWithNullConstantPoolItem.java" ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org