Details
-
Bug
-
Resolution: Fixed
-
P2
-
7-pool, 8, 8-repo-lambda
-
b84
-
Verified
Description
The following code crashes javac:
interface F<X> { }
abstract class AbstractPipeline<X> {
public <P> void pipeline() {
stream(new F<P>() { });
}
protected abstract <T> AbstractPipeline<?> stream(F<? extends X> supplier);
}
interface F<X> { }
abstract class AbstractPipeline<X> {
public <P> void pipeline() {
stream(new F<P>() { });
}
protected abstract <T> AbstractPipeline<?> stream(F<? extends X> supplier);
}
Attachments
Issue Links
- duplicates
-
JDK-8008736 Javac crash when type-variable referenced from anonymous inner class
- Closed
-
JDK-8014556 AssertionError while trying to print a diagnostic
- Closed
-
JDK-8050221 Missing type variable in where clause
- Resolved