Open ddebrunner opened 8 years ago
I'm unable to reproduce this bug. There is something weird about it: the log shows that the X class has 2 or 5 lambdas (possibly 3 lambdas in a dependency), but your example code has only one. Also your example code doesn't compile; there is no type T.
Please post the full .java file and also a copy of the .class file before it was processed by Retrolambda.
Sorry, the markup stripped the generics:
public interface X<T>
{
static X<Object> DISCARD = t -> {};
void accept(T x);
}
I'm unable to reproduce this with the source code. Please send me the X.class file as it is before processing it with Retrolambda.
Also, which compiler are you using?
I'm using the IBM Java 8 compiler.
X.class should be here
I'm able to backport that X.class without problems. So the class file has no problems. I'll still need to test whether running Retrolambda on IBM Java 8 is the problem.
Converting this class causes a Deque full exception. The addition of the field DISCARD causes the problem.
public interface X
{
static X