|
Java example source code file (T6722234a.java)
The T6722234a.java Java example source code
/**
* @test /nodynamiccopyright/
* @bug 6722234
* @summary javac diagnostics need better integration with the type-system
* @author mcimadamore
* @compile/fail/ref=T6722234a_1.out -XDrawDiagnostics -XDdiags=disambiguateTvars T6722234a.java
* @compile/fail/ref=T6722234a_2.out -XDrawDiagnostics -XDdiags=disambiguateTvars,where T6722234a.java
*/
class T6722234a<T extends String> {
<T extends Integer> void test(T t) {
m(t);
}
void m(T t) {}
}
Other Java examples (source code examples)Here is a short list of links related to this Java T6722234a.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.