1.1 --- a/test/tools/javac/varargs/6313164/p1/B.java Wed Jun 25 16:50:12 2014 +0100 1.2 +++ b/test/tools/javac/varargs/6313164/p1/B.java Tue Jun 17 17:33:01 2014 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -23,13 +23,12 @@ 1.11 1.12 package p1; 1.13 1.14 +@SuppressWarnings("unchecked") 1.15 public class B extends A { 1.16 - public B() {} 1.17 public void foo1(A... args) { } 1.18 public void foo2(A... args) { } 1.19 public void foo2(Object... args) { } 1.20 public <X extends A> void foo3(X... args) { } 1.21 public <X extends A> void foo4(X... args) { } 1.22 public void foo4(Object... args) { } 1.23 - 1.24 }