This is an automated email from the ASF dual-hosted git repository.
lprimak pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shiro.git
The following commit(s) were added to refs/heads/main by this push:
new ea18c927b chore(deps-dev): bump org.bouncycastle:bcprov-jdk18on from
1.82 to 1.84 (#2662)
ea18c927b is described below
commit ea18c927bc1e1d8da1f61f91e78202426096fa32
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Wed Apr 29 18:17:28 2026 -0400
chore(deps-dev): bump org.bouncycastle:bcprov-jdk18on from 1.82 to 1.84
(#2662)
---
.../java/org/apache/shiro/testing/jakarta/ee/ShiroBeansIT.java | 9 +++++++--
pom.xml | 2 +-
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git
a/integration-tests/jakarta-ee/src/test/java/org/apache/shiro/testing/jakarta/ee/ShiroBeansIT.java
b/integration-tests/jakarta-ee/src/test/java/org/apache/shiro/testing/jakarta/ee/ShiroBeansIT.java
index 4b37a97a7..9dca95eeb 100644
---
a/integration-tests/jakarta-ee/src/test/java/org/apache/shiro/testing/jakarta/ee/ShiroBeansIT.java
+++
b/integration-tests/jakarta-ee/src/test/java/org/apache/shiro/testing/jakarta/ee/ShiroBeansIT.java
@@ -14,6 +14,7 @@
package org.apache.shiro.testing.jakarta.ee;
import java.net.URL;
+import java.util.Arrays;
import static org.apache.shiro.ee.util.JakartaTransformer.isJakarta;
import static org.apache.shiro.ee.util.JakartaTransformer.jakartify;
@@ -122,9 +123,13 @@ public class ShiroBeansIT {
"anonymous user should get an exception");
webDriver.get(baseURL + "lastException");
String exceptionText =
webDriver.findElement(By.tagName("body")).getText();
- assertTrue(exceptionText
+ // Workaround for Payara 5 only: Filter out lines with 'Unsupported
class file major version XX'
+ String filteredExceptionText =
Arrays.stream(exceptionText.split("\\n"))
+ .filter(line -> !line.contains("Unsupported class file major
version"))
+ .reduce("", (a, b) -> a.isEmpty() ? b : a + "\n" + b);
+ assertTrue(filteredExceptionText
.startsWith(jakartify("WARNING:
javax.ejb.EJBException: Attempting to perform a user-only operation")),
- String.format("capturing correct warning from the server: %s",
exceptionText));
+ String.format("capturing correct warning from the server: %s",
filteredExceptionText));
}
@Test
diff --git a/pom.xml b/pom.xml
index b01a7ed5f..5f0950626 100644
--- a/pom.xml
+++ b/pom.xml
@@ -122,7 +122,7 @@
<guice.version>4.2.3</guice.version>
<jaxrs.api.version>2.1.6</jaxrs.api.version>
<htmlunit.version>4.21.0</htmlunit.version>
- <bouncycastle.version>1.82</bouncycastle.version>
+ <bouncycastle.version>1.84</bouncycastle.version>
<!-- Test 3rd-party dependencies: -->
<easymock.version>5.6.0</easymock.version>