Cross Reference: AccessibilityCheck01.java
xref
: /
openjdk7
/
langtools
/
test
/
tools
/
javac
/
generics
/
7007615
/
acc1
/
AccessibilityCheck01.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
/*
* @test /nodynamiccopyright/
* @bug 7007615
* @summary
java_util
/
generics
/
phase2
/
NameClashTest02
fails since
jdk7
/
pit
/
b123
.
* @author dlsmith
* @compile
AccessibilityCheck01.java
*/
public
class
AccessibilityCheck01
extends
p2
.E {
String
m(
Object
o) {
return
"hi"
; }
// this is okay
int
m(
String
s) {
return
3
; }
// this overrides m(String) illegally
}