|
Java example source code file (T8016177b.java)
The T8016177b.java Java example source code
/*
* @test /nodynamiccopyright/
* @bug 8016177 8016178
* @summary structural most specific and stuckness
* @compile/fail/ref=T8016177b.out -XDrawDiagnostics T8016177b.java
*/
class T8016177b {
interface ToIntFunction<X> {
int m(X x);
}
interface Function<X, Y> {
Y m(X x);
}
<U, V> Function id(Function arg) { return null; }
<U, V> Function id2(Function arg) { return null; }
<U> ToIntFunction id2(ToIntFunction arg) { return null; }
<X,Y,Z> X f(Y arg, Function
Other Java examples (source code examples)Here is a short list of links related to this Java T8016177b.java source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.