Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 62027 invoked from network); 19 May 2007 11:12:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 May 2007 11:12:33 -0000 Received: (qmail 45132 invoked by uid 500); 19 May 2007 11:12:39 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 45038 invoked by uid 500); 19 May 2007 11:12:38 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 45029 invoked by uid 99); 19 May 2007 11:12:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 May 2007 04:12:38 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 May 2007 04:12:32 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id ECCEF1A981A; Sat, 19 May 2007 04:12:11 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r539728 - /harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/image/ImageDecoder.java Date: Sat, 19 May 2007 11:12:11 -0000 To: commits@harmony.apache.org From: ayza@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070519111211.ECCEF1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ayza Date: Sat May 19 04:12:11 2007 New Revision: 539728 URL: http://svn.apache.org/viewvc?view=rev&rev=539728 Log: Applying patch from HARMONY-3602 ([classlib][awt][drlvm][netbeans] ImageDecoder.terminate() interrupts current thread) Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/image/ImageDecoder.java Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/image/ImageDecoder.java URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/image/ImageDecoder.java?view=diff&rev=539728&r1=539727&r2=539728 ============================================================================== --- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/image/ImageDecoder.java (original) +++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/image/ImageDecoder.java Sat May 19 04:12:11 2007 @@ -114,23 +114,12 @@ } /** - * Stops the decoding by interrupting the current decoding thread. * Used when all consumers are removed and there's no more need to * run the decoder. */ public void terminate() { src.lockDecoder(this); closeStream(); - - AccessController.doPrivileged( - new PrivilegedAction() { - public Void run() { - Thread.currentThread().interrupt(); - return null; - } - } - ); - terminated = true; }