You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2018/10/07 21:36:52 UTC

svn commit: r1843091 - /webservices/axiom/trunk/systests/osgi-tests/src/test/java/org/apache/axiom/test/UsesConstraintsTest.java

Author: veithen
Date: Sun Oct  7 21:36:52 2018
New Revision: 1843091

URL: http://svn.apache.org/viewvc?rev=1843091&view=rev
Log:
Fix osgi-tests on Java 9.

Modified:
    webservices/axiom/trunk/systests/osgi-tests/src/test/java/org/apache/axiom/test/UsesConstraintsTest.java

Modified: webservices/axiom/trunk/systests/osgi-tests/src/test/java/org/apache/axiom/test/UsesConstraintsTest.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/systests/osgi-tests/src/test/java/org/apache/axiom/test/UsesConstraintsTest.java?rev=1843091&r1=1843090&r2=1843091&view=diff
==============================================================================
--- webservices/axiom/trunk/systests/osgi-tests/src/test/java/org/apache/axiom/test/UsesConstraintsTest.java (original)
+++ webservices/axiom/trunk/systests/osgi-tests/src/test/java/org/apache/axiom/test/UsesConstraintsTest.java Sun Oct  7 21:36:52 2018
@@ -61,8 +61,7 @@ public class UsesConstraintsTest {
     static class Listener implements FrameworkListener {
         private final Pattern regex = Pattern.compile(
                 "Uses constraint violation\\. Unable to resolve .* testbundle. \\[.*\\] because it is exposed to "
-                + "package 'javax\\.xml\\.stream' from .* org\\.apache\\.servicemix\\.specs\\.stax-api-1.0 .* and "
-                + "org\\.apache\\.felix\\.framework .* via two dependency chains\\."
+                + "package 'javax\\.xml\\.stream' .* via two dependency chains\\."
                 + ".*package=org\\.apache\\.axiom\\.om.*", Pattern.DOTALL); 
         private final CountDownLatch latch = new CountDownLatch(1);
         private boolean gotExpectedError;