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 13969247 made SingleArgumentMethodEventListenerTest work on JDK 18+
13969247 is described below

commit 139692472157d25c39ea0e13c918ae0ca49b27fb
Author: lprimak <[email protected]>
AuthorDate: Thu Dec 22 14:20:28 2022 -0600

    made SingleArgumentMethodEventListenerTest work on JDK 18+
---
 .../shiro/event/support/SingleArgumentMethodEventListenerTest.groovy    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/event/src/test/groovy/org/apache/shiro/event/support/SingleArgumentMethodEventListenerTest.groovy
 
b/event/src/test/groovy/org/apache/shiro/event/support/SingleArgumentMethodEventListenerTest.groovy
index 52dd1c9d..16a1a994 100644
--- 
a/event/src/test/groovy/org/apache/shiro/event/support/SingleArgumentMethodEventListenerTest.groovy
+++ 
b/event/src/test/groovy/org/apache/shiro/event/support/SingleArgumentMethodEventListenerTest.groovy
@@ -68,7 +68,7 @@ class SingleArgumentMethodEventListenerTest {
             Method getMethod() {
                 //sneakily swap out the valid method with an erroneous one.  
This wouldn't ever happen normally, we're
                 //just doing this as a test harness:
-                return Object.class.getMethods()[0] //any method will do
+                return SimpleSubscriber.class.getMethods()[0] //any method 
will do
             }
         }
 

Reply via email to