Fun1$$.class: Signature von apply falsch #102

Closed
opened 2023-03-10 09:06:15 +00:00 by pl · 1 comment
Owner

branch targetBytecode
commit 9d03080667

So sieht Bytecode aus:

public interface Fun1$$<T1 extends java.lang.Object, R extends java.lang.Object>
minor version: 0
major version: 52
flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: #2 // Fun1$$
super_class: #5 // java/lang/Object
interfaces: 0, fields: 0, methods: 1, attributes: 1
Constant pool:
#1 = Utf8 Fun1$$
#2 = Class #1 // Fun1$$
#3 = Utf8 T1:Ljava/lang/Object;R:Ljava/lang/Object;Ljava/lang/Object;
#4 = Utf8 java/lang/Object
#5 = Class #4 // java/lang/Object
#6 = Utf8 apply
#7 = Utf8 (Ljava/lang/Object;)Ljava/lang/Object;
#8 = Utf8 (LT1;)LR;
#9 = Utf8 Signature
{
public abstract R apply(T1);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: #8 // (LT1;)LR;
}

es sollte so aussehen:
interface Fun1$$<T1 extends java.lang.Object, R extends java.lang.Object>
minor version: 0
major version: 63
flags: (0x0600) ACC_INTERFACE, ACC_ABSTRACT
this_class: #1 // Fun1$$
super_class: #3 // java/lang/Object
interfaces: 0, fields: 0, methods: 1, attributes: 1
Constant pool:
#1 = Class #2 // Fun1$$
#2 = Utf8 Fun1$$
#3 = Class #4 // java/lang/Object
#4 = Utf8 java/lang/Object
#5 = Utf8 apply
#6 = Utf8 (Ljava/lang/Object;)Ljava/lang/Object;
#7 = Utf8 Signature
#8 = Utf8 (TT1;)TR;
#9 = Utf8 T1:Ljava/lang/Object;R:Ljava/lang/Object;Ljava/lang/Object;
{
public abstract R apply(T1);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: #8 // (TT1;)TR;
}
Signature: #9 // T1:Ljava/lang/Object;R:Ljava/lang/Object;Ljava/lang/Object;

branch targetBytecode commit 9d0308066758f878d77d880d9f631d895a84c7bf So sieht Bytecode aus: public interface Fun1$$<T1 extends java.lang.Object, R extends java.lang.Object> minor version: 0 major version: 52 flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT this_class: #2 // Fun1$$ super_class: #5 // java/lang/Object interfaces: 0, fields: 0, methods: 1, attributes: 1 Constant pool: #1 = Utf8 Fun1$$ #2 = Class #1 // Fun1$$ #3 = Utf8 <T1:Ljava/lang/Object;R:Ljava/lang/Object;>Ljava/lang/Object; #4 = Utf8 java/lang/Object #5 = Class #4 // java/lang/Object #6 = Utf8 apply #7 = Utf8 (Ljava/lang/Object;)Ljava/lang/Object; #8 = Utf8 (LT1;)LR; #9 = Utf8 Signature { public abstract R apply(T1); descriptor: (Ljava/lang/Object;)Ljava/lang/Object; flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT Signature: #8 // (LT1;)LR; } es sollte so aussehen: interface Fun1$$<T1 extends java.lang.Object, R extends java.lang.Object> minor version: 0 major version: 63 flags: (0x0600) ACC_INTERFACE, ACC_ABSTRACT this_class: #1 // Fun1$$ super_class: #3 // java/lang/Object interfaces: 0, fields: 0, methods: 1, attributes: 1 Constant pool: #1 = Class #2 // Fun1$$ #2 = Utf8 Fun1$$ #3 = Class #4 // java/lang/Object #4 = Utf8 java/lang/Object #5 = Utf8 apply #6 = Utf8 (Ljava/lang/Object;)Ljava/lang/Object; #7 = Utf8 Signature #8 = Utf8 (TT1;)TR; #9 = Utf8 <T1:Ljava/lang/Object;R:Ljava/lang/Object;>Ljava/lang/Object; { public abstract R apply(T1); descriptor: (Ljava/lang/Object;)Ljava/lang/Object; flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT Signature: #8 // (TT1;)TR; } Signature: #9 // <T1:Ljava/lang/Object;R:Ljava/lang/Object;>Ljava/lang/Object;
Owner

Branch: targetBytecode
Commit: b5af3a42a8

Ist gefixt.

Branch: targetBytecode Commit: b5af3a42a8c7d16e78c2fadddc2690a095dc9ad3 Ist gefixt.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: JavaTX/JavaCompilerCore#102
No description provided.