Removed the println() line from the Interrupted catch block. Since waitForID() Interrupt indicates completion of Image Loading, println as Interrupt handling was not required.
------------- Commit messages: - 8236987: Remove call to System.out.println from ImageIcon.loadImage - 8236987: Remove call to System.out.println from ImageIcon.loadImage - Merge branch 'master' of github.com:TejeshR13/jdk - Initial Commit. Changes: https://git.openjdk.java.net/jdk/pull/7754/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7754&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8236987 Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/7754.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/7754/head:pull/7754 PR: https://git.openjdk.java.net/jdk/pull/7754