[jboss-cvs] JBossAS SVN: r63243 - branches/Branch_4_2/testsuite/src/main/org/jboss/test/iiop/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue May 29 13:05:08 EDT 2007


Author: dimitris at jboss.org
Date: 2007-05-29 13:05:08 -0400 (Tue, 29 May 2007)
New Revision: 63243

Modified:
   branches/Branch_4_2/testsuite/src/main/org/jboss/test/iiop/test/ParameterPassingStressTestCase.java
Log:
JBAS-3613, test still doesn't pass on Sun/HP 1.5 JVMs, after jacorb 2.3.0 upgrade.

Modified: branches/Branch_4_2/testsuite/src/main/org/jboss/test/iiop/test/ParameterPassingStressTestCase.java
===================================================================
--- branches/Branch_4_2/testsuite/src/main/org/jboss/test/iiop/test/ParameterPassingStressTestCase.java	2007-05-29 13:50:25 UTC (rev 63242)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/iiop/test/ParameterPassingStressTestCase.java	2007-05-29 17:05:08 UTC (rev 63243)
@@ -346,9 +346,10 @@
    public void test_getException()
       throws Exception
    {
-      // JBAS-3613, conditionally skip this test on Sun JVM 1.5
-      boolean isSunVM = System.getProperty("java.vm.vendor").indexOf("Sun") > -1;
-      if (Java.isVersion(Java.VERSION_1_5) && isSunVM)
+      // JBAS-3613, conditionally skip this test on Sun & HP 1.5 JVMs
+      boolean isSunVM = System.getProperty("java.vendor.url").indexOf("sun.com") > -1;
+      boolean isHpVM = System.getProperty("java.vendor.url").indexOf("hp.com") > -1;
+      if (Java.isVersion(Java.VERSION_1_5) && (isSunVM || isHpVM))
       {
          return;
       }




More information about the jboss-cvs-commits mailing list