Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
libcore
/
3789983e89c9de252ef546a1b98a732a7d066650
/
.
/
test
/
langtools
/
tools
/
javac
/
cast
/
6219964
/
T6219964.java
blob: 2e7a208b305fce96f48de97ec2edb8fdc35bcd11 [
file
] [
log
] [
blame
]
/*
* @test /nodynamiccopyright/
* @bug 6219964 8161013
* @summary Anonymous class types are not final
* @compile T6219964.java
*/
public
class
T6219964
{
interface
I
{
}
void
foo
()
{
new
Object
()
{
I bar
()
{
return
(
I
)
this
;
}
};
}
}