[jboss-cvs] JBossAS SVN: r60368 - 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
Wed Feb 7 06:02:17 EST 2007


Author: dimitris at jboss.org
Date: 2007-02-07 06:02:16 -0500 (Wed, 07 Feb 2007)
New Revision: 60368

Modified:
   branches/Branch_4_2/testsuite/src/main/org/jboss/test/iiop/test/ParameterPassingStressTestCase.java
Log:
JBAS-3613, conditionally skip test_getException() on Sun JVM 1.5

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-02-07 10:27:39 UTC (rev 60367)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/iiop/test/ParameterPassingStressTestCase.java	2007-02-07 11:02:16 UTC (rev 60368)
@@ -21,7 +21,6 @@
  */
 package org.jboss.test.iiop.test;
 
-
 import java.rmi.Remote;
 import javax.rmi.PortableRemoteObject;
 
@@ -37,6 +36,7 @@
 import org.jboss.test.iiop.interfaces.StatelessSessionHome;
 import org.jboss.test.iiop.interfaces.Zoo;
 import org.jboss.test.iiop.util.Util;
+import org.jboss.util.platform.Java;
 import org.omg.CORBA.ORB;
 import org.omg.PortableServer.POA;
 import org.omg.PortableServer.POAHelper;
@@ -346,6 +346,12 @@
    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)
+      {
+         return;
+      }
       StatelessSessionHome home = 
          (StatelessSessionHome)PortableRemoteObject.narrow(
                     getInitialContext().lookup(StatelessSessionHome.JNDI_NAME),




More information about the jboss-cvs-commits mailing list