0N/A/*
0N/A * @test /nodynamiccopyright/
0N/A * @bug 6247324
610N/A * @compile/fail/ref=T6247324.out -XDrawDiagnostics -Xlint -Xlint:-path T6247324.java
0N/A */
0N/Aclass Pair<X,Y> {
0N/A private X x;
0N/A private Y y;
0N/A
0N/A public Pair(X x, Y y){
0N/A this.x = x;
0N/A this.y = y;
0N/A }
0N/A
0N/A public X getX(){
0N/A return x;
0N/A }
0N/A @Seetharam // Undefined annotation...
0N/A public Y getY(){
0N/A return y;
0N/A }
0N/A}
0N/A
0N/Apublic class T6247324{
0N/A public void myMethod(){
0N/A Pair<Integer, String> pair = new Pair<Integer, String>(0, "I am not sure");
0N/A int intValue = pair.getX();
0N/A String strValue = pair.getY();
0N/A }
0N/A}