src/share/classes/sun/awt/image/ImageFetcher.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1995, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -193,11 +193,11 @@
// we're ignoring the return value and just clearing
// the interrupted flag, instead of bailing out if
// the fetcher was interrupted, as we used to,
// because there may be other images waiting
// to be fetched (see 4789067)
- me.interrupted();
+ Thread.interrupted();
me.setPriority(HIGH_PRIORITY);
ImageFetchable src = nextImage();
if (src == null) {
return;
}