Cross Reference: T6245591.java
xref
: /
openjdk7
/
langtools
/
test
/
tools
/
javac
/
T6245591.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
0
N/A
/*
0
N/A
* @test /nodynamiccopyright/
0
N/A
* @bug 6245591
610
N/A
* @
compile
/
ref
=T6245591.out -XDrawDiagnostics -Xlint:all,-path
T6245591.java
0
N/A
*/
0
N/A
enum
Season
{
0
N/A
/**
@deprecated
*/
0
N/A
WINTER
,
SPRING
,
SUMMER
,
FALL
;
0
N/A
}
0
N/A
enum
Season1
{
0
N/A
WINTER
,
SPRING
,
SUMMER
,
FALL
;
0
N/A
}
0
N/A
class
T6245591
{
0
N/A
void
m() {
0
N/A
Season
s1
=
Season
.
WINTER
;
// ref to WINTER should be deprecated
0
N/A
Season1
s2
=
Season1
.
WINTER
;
// nothing here should be deprecated;
0
N/A
// @deprecated should not leak out of Season
0
N/A
}
0
N/A
}