-
Bug
-
Resolution: Fixed
-
P2
-
8
-
b04
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8045137 | 8u25 | Paul Govereau | P2 | Resolved | Fixed | b01 |
JDK-8039199 | 8u20 | Paul Govereau | P2 | Closed | Fixed | b11 |
JDK-8052576 | emb-8u26 | Paul Govereau | P2 | Resolved | Fixed | b17 |
This code provokes a javac crash:
public interface Null {
@SafeVarargs
public static <INPUT, OUTPUT> OUTPUT functional(INPUT... input) {
return null;
}
// Uncomment to successfully compile in JDK8 b121 Win32
// public static <INPUT, OUTPUT> OUTPUT functional(INPUT input) {
// return null;
// }
public static <OBJECT> void main(String... arguments) {
java.util.function.Supplier<java.util.function.Consumer<OBJECT>> functional = () -> Null::functional;
}
}
reported by srborlongan@gmail.com in lambda-dev
public interface Null {
@SafeVarargs
public static <INPUT, OUTPUT> OUTPUT functional(INPUT... input) {
return null;
}
// Uncomment to successfully compile in JDK8 b121 Win32
// public static <INPUT, OUTPUT> OUTPUT functional(INPUT input) {
// return null;
// }
public static <OBJECT> void main(String... arguments) {
java.util.function.Supplier<java.util.function.Consumer<OBJECT>> functional = () -> Null::functional;
}
}
reported by srborlongan@gmail.com in lambda-dev
- backported by
-
JDK-8045137 javac crash with method references plus lambda plus var args
- Resolved
-
JDK-8052576 javac crash with method references plus lambda plus var args
- Resolved
-
JDK-8039199 javac crash with method references plus lambda plus var args
- Closed
- relates to
-
JDK-8039178 javac crash with method references plus lambda plus var args
- Closed
-
JDK-8035972 missing test file for 8034048
- Closed