Cross Reference: T6594914b.java
xref
: /
openjdk7
/
langtools
/
test
/
tools
/
javac
/
warnings
/
6594914
/
T6594914b.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
851
N/A
/**
851
N/A
*
@test
/nodynamiccopyright/
851
N/A
*
@bug
6594914
851
N/A
*
@summary
\\
@SuppressWarnings
("deprecation") does not not work for the type of a variable
851
N/A
*
@compile
/ref=T6594914b.out -XDenableSunApiLintControl -XDrawDiagnostics -Xlint:sunapi
T6594914b.java
851
N/A
*/
851
N/A
851
N/A
851
N/A
class
T6747671b
{
851
N/A
851
N/A
sun
.
misc
.
Lock
a1
;
//warn
851
N/A
851
N/A
@
SuppressWarnings
(
"sunapi"
)
851
N/A
sun
.
misc
.
Lock
a2
;
851
N/A
851
N/A
<X
extends
sun
.
misc
.
Lock
>
sun
.
misc
.
Lock
m1
(
sun
.
misc
.
Lock
a)
851
N/A
throws
sun
.
misc
.
CEFormatException
{
return
null
; }
//warn
851
N/A
851
N/A
@
SuppressWarnings
(
"sunapi"
)
851
N/A
<X
extends
sun
.
misc
.
Lock
>
sun
.
misc
.
Lock
m2
(
sun
.
misc
.
Lock
a)
851
N/A
throws
sun
.
misc
.
CEFormatException
{
return
null
; }
851
N/A
851
N/A
void
test
() {
851
N/A
sun
.
misc
.
Lock
a1
;
//warn
851
N/A
851
N/A
@
SuppressWarnings
(
"sunapi"
)
851
N/A
sun
.
misc
.
Lock
a2
;
851
N/A
}
851
N/A
}