Skip to content

Commit

Permalink
fix for "java.lang.NoClassDefFoundError: java/rmi/activation/Activato…
Browse files Browse the repository at this point in the history
…r" jaxws tck test failure with JDK 17

Signed-off-by: gurunrao <gurunandan.rao@oracle.com>
  • Loading branch information
gurunrao committed Mar 4, 2022
1 parent ed46de9 commit cc74750
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2020 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -862,7 +862,7 @@ public void GetPort2NegTest1WithWsdl() throws Fault {
TestUtil.logMsg("Call Service.getPort(Class)");
TestUtil.logMsg("Should not find port (expect Exception)");
Hello tests = (Hello) service
.getPort(java.rmi.activation.Activator.class);
.getPort((Class) java.util.regex.Pattern.class);
TestUtil.logErr("Did not throw expected Exception");
TestUtil.logErr("hello port=" + tests);
pass = false;
Expand Down

0 comments on commit cc74750

Please sign in to comment.