From 95090a7507ad920daccd204f5abc765b01b1acd4 Mon Sep 17 00:00:00 2001 From: Sergey Bylokhov Date: Tue, 14 Apr 2015 09:34:59 +0300 Subject: [PATCH] 8076214: [Findbugs]sun.awt.datatransfer.SunClipboard.checkChange(long[]) may expose internal representation Reviewed-by: azvegint, alexsch --- .../share/classes/sun/awt/datatransfer/SunClipboard.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdk/src/java.desktop/share/classes/sun/awt/datatransfer/SunClipboard.java b/jdk/src/java.desktop/share/classes/sun/awt/datatransfer/SunClipboard.java index 68cf798a344..6178f779be0 100644 --- a/jdk/src/java.desktop/share/classes/sun/awt/datatransfer/SunClipboard.java +++ b/jdk/src/java.desktop/share/classes/sun/awt/datatransfer/SunClipboard.java @@ -414,7 +414,7 @@ public abstract class SunClipboard extends Clipboard * @param formats data formats that have just been retrieved from * this clipboard */ - public final void checkChange(final long[] formats) { + protected final void checkChange(final long[] formats) { if (Arrays.equals(formats, currentFormats)) { // we've been able to successfully get available on the clipboard // DataFlavors this and previous time and they are coincident;