BytecodeGen erzeugt falsche Files #136
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#136
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?
import java.lang.Integer;
public class Lambda {
m () {
var lam1 = (x) -> {
return x * x;
};
return lam1;
}
}
liefert
javap Lambda.class
Compiled from "Lambda.jav"
public class Lambda {
public Lambda();
public <DBJP$, DBJQ$> DBJO$ m();
public <DBJP$, DBJQ$> Fun1$$<java.lang.Integer, java.lang.Integer> m();
}
(erzeugt mit dem Plugin)
statt
javap Lambda.class
Compiled from "Lambda.jav"
public class Lambda {
public Lambda();
public Fun1$$<java.lang.Integer, java.lang.Integer> m();
}
(erzeugt ohne Plugin aber mit dem gleichen commit des bigRefactorings)
Vermutung beim mehrfachen Aufrufe von bytecodegen könnte es Probleme geben.
*** This bug has been marked as a duplicate of bug 147 ***