--- old/src/share/classes/java/util/stream/Stream.java 2013-08-04 17:57:31.000000000 -0700 +++ new/src/share/classes/java/util/stream/Stream.java 2013-08-04 17:57:31.000000000 -0700 @@ -827,6 +827,7 @@ * @return the new stream */ @SafeVarargs + @SuppressWarnings("varargs") // Creating a stream for an array is safe public static Stream of(T... values) { return Arrays.stream(values); } --- old/src/share/classes/javax/swing/SwingWorker.java 2013-08-04 17:57:31.000000000 -0700 +++ new/src/share/classes/javax/swing/SwingWorker.java 2013-08-04 17:57:31.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 @@ -405,6 +405,7 @@ * */ @SafeVarargs + @SuppressWarnings("varargs") // Passing chunks to add is safe protected final void publish(V... chunks) { synchronized (this) { if (doProcess == null) { --- old/src/share/classes/sun/reflect/annotation/AnnotationParser.java 2013-08-04 17:57:32.000000000 -0700 +++ new/src/share/classes/sun/reflect/annotation/AnnotationParser.java 2013-08-04 17:57:31.000000000 -0700 @@ -88,6 +88,7 @@ * @param selectAnnotationClasses an array of annotation types to select when parsing */ @SafeVarargs + @SuppressWarnings("varargs") // selectAnnotationClasses is used safely static Map, Annotation> parseSelectAnnotations( byte[] rawAnnotations, ConstantPool constPool, --- old/src/share/classes/sun/swing/AccumulativeRunnable.java 2013-08-04 17:57:32.000000000 -0700 +++ new/src/share/classes/sun/swing/AccumulativeRunnable.java 2013-08-04 17:57:32.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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 @@ -121,6 +121,7 @@ * @param args the arguments to accumulate */ @SafeVarargs + @SuppressWarnings("varargs") // Copying args is safe public final synchronized void add(T... args) { boolean isSubmitted = true; if (arguments == null) {