Parameter-Type nicht correct #259
Labels
No Label
Codegen
confirmed
duplicate
Eclipse-Plugin
Feature Request
generics
in progress
invalid
JavaCompilerCore
needs info
Parser
Trash
Type
Unify
won't fix
works for me
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: JavaTX/JavaCompilerCore#259
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
branch bytecode2
commit
dcbcf873e4
Der BinaryTest liefert folgendes:
public java.lang.Number m(java.lang.Number);
descriptor: (Ljava/lang/Number;)Ljava/lang/Number;
public java.lang.Number m2(java.lang.Integer, java.lang.Integer);
descriptor: (Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/lang/Number;
public java.lang.Number m2(java.lang.Double, java.lang.Double);
descriptor: (Ljava/lang/Double;Ljava/lang/Double;)Ljava/lang/Number;
Der Typ Number darf nicht als Parameter-Type auftauchen.
Richtig wäre:
public java.lang.Number m(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)Ljava/lang/Number;
public java.lang.Number m(java.lang.Double);
descriptor: (Ljava/lang/Double;)Ljava/lang/Number;
...