diff -r 3a31259481d8 -r fc2a01ba3d79 test/tools/javac/varargs/6313164/p1/B.java --- a/test/tools/javac/varargs/6313164/p1/B.java Wed Jun 25 16:50:12 2014 +0100 +++ b/test/tools/javac/varargs/6313164/p1/B.java Tue Jun 17 17:33:01 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -23,13 +23,12 @@ package p1; +@SuppressWarnings("unchecked") public class B extends A { - public B() {} public void foo1(A... args) { } public void foo2(A... args) { } public void foo2(Object... args) { } public void foo3(X... args) { } public void foo4(X... args) { } public void foo4(Object... args) { } - }