[jboss-cvs] JBossAS SVN: r60369 - trunk/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:03:03 EST 2007
Author: dimitris at jboss.org
Date: 2007-02-07 06:03:02 -0500 (Wed, 07 Feb 2007)
New Revision: 60369
Modified:
trunk/testsuite/src/main/org/jboss/test/iiop/test/ParameterPassingStressTestCase.java
Log:
JBAS-3613, conditionally skip test_getException() on Sun JVM 1.5
Modified: trunk/testsuite/src/main/org/jboss/test/iiop/test/ParameterPassingStressTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/iiop/test/ParameterPassingStressTestCase.java 2007-02-07 11:02:16 UTC (rev 60368)
+++ trunk/testsuite/src/main/org/jboss/test/iiop/test/ParameterPassingStressTestCase.java 2007-02-07 11:03:02 UTC (rev 60369)
@@ -1,27 +1,26 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
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