harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcfi...@apache.org
Subject svn commit: r634719 - /harmony/enhanced/buildtest/trunk/tests/reliability/src/java/org/apache/harmony/test/reliability/api/kernel/thread/ThreadSuspendResume/ThreadSuspendResume.java
Date Fri, 07 Mar 2008 15:53:07 GMT
Author: mcfirst
Date: Fri Mar  7 07:53:07 2008
New Revision: 634719

URL: http://svn.apache.org/viewvc?rev=634719&view=rev
Log:
Applying patch to the reliability test ThreadSuspendResume from HARMONY-5447

Modified:
    harmony/enhanced/buildtest/trunk/tests/reliability/src/java/org/apache/harmony/test/reliability/api/kernel/thread/ThreadSuspendResume/ThreadSuspendResume.java

Modified: harmony/enhanced/buildtest/trunk/tests/reliability/src/java/org/apache/harmony/test/reliability/api/kernel/thread/ThreadSuspendResume/ThreadSuspendResume.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/trunk/tests/reliability/src/java/org/apache/harmony/test/reliability/api/kernel/thread/ThreadSuspendResume/ThreadSuspendResume.java?rev=634719&r1=634718&r2=634719&view=diff
==============================================================================
--- harmony/enhanced/buildtest/trunk/tests/reliability/src/java/org/apache/harmony/test/reliability/api/kernel/thread/ThreadSuspendResume/ThreadSuspendResume.java
(original)
+++ harmony/enhanced/buildtest/trunk/tests/reliability/src/java/org/apache/harmony/test/reliability/api/kernel/thread/ThreadSuspendResume/ThreadSuspendResume.java
Fri Mar  7 07:53:07 2008
@@ -116,6 +116,11 @@
             thrds[k].start();
         }
         
+        // load Sestem class to avoid deadlock in ClassLoader due to 
+        // unsafe suspend/resume operations
+        Class sysClass = System.class;
+        sysClass = null;
+        
         // suspend/resume section
         //System.out.println("Startign suspension/resuming");
         int cycles = numberOfIterations * 2;



Mime
View raw message