|
Java example source code file (T7090499.java)
The T7090499.java Java example source code
/**
* @test /nodynamiccopyright/
* @bug 7094099
* @summary -Xlint:rawtypes
* @compile/fail/ref=T7090499.out -XDrawDiagnostics -Xlint:rawtypes T7090499.java
*/
class T7090499<E> {
static class B<X> {}
class A<X> {
class X {}
class Z<Y> {}
}
T7090499 t = new T7090499() { //raw warning (2)
A.X x1;//raw warning
A.Z z1;//raw warning
T7090499.B<Integer> b1;//ok
T7090499.B b2;//raw warning
A<String>.X x2;//ok
A<String>.Z
Other Java examples (source code examples)Here is a short list of links related to this Java T7090499.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.