|
Java example source code file (T8015505.java)
The T8015505.java Java example source code/** * @test /nodynamiccopyright/ * @bug 8015505 * @summary Spurious inference error when return type of generic method requires unchecked conversion to target * @compile/fail/ref=T8015505.out -Xlint:-options -source 7 -XDrawDiagnostics T8015505.java * @compile T8015505.java */ import java.util.List; class T8015505 { <Z> List m() { return null; } void test() { List<?> l = m(); } } Other Java examples (source code examples)Here is a short list of links related to this Java T8015505.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.