This is an automated email from the ASF dual-hosted git repository.

reschke pushed a commit to branch OAK-11983
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git

commit 4239599cc5b311b6c85bafa99bfb3ae5a73e5e1f
Author: Julian Reschke <[email protected]>
AuthorDate: Mon Oct 13 18:43:36 2025 +0100

    OAK-11983: benchmarks: remove jackrabbit-core dependency
---
 .../java/org/apache/jackrabbit/oak/benchmark/LoginSystemTest.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/oak-benchmarks/src/main/java/org/apache/jackrabbit/oak/benchmark/LoginSystemTest.java
 
b/oak-benchmarks/src/main/java/org/apache/jackrabbit/oak/benchmark/LoginSystemTest.java
index 12851cb543..7ff5b303c2 100644
--- 
a/oak-benchmarks/src/main/java/org/apache/jackrabbit/oak/benchmark/LoginSystemTest.java
+++ 
b/oak-benchmarks/src/main/java/org/apache/jackrabbit/oak/benchmark/LoginSystemTest.java
@@ -24,10 +24,10 @@ import javax.jcr.RepositoryException;
 import javax.jcr.Session;
 import javax.security.auth.Subject;
 
-import org.apache.jackrabbit.core.security.SystemPrincipal;
 import org.apache.jackrabbit.oak.commons.jdkcompat.Java23Subject;
 import org.apache.jackrabbit.oak.jcr.repository.RepositoryImpl;
 import org.apache.jackrabbit.oak.spi.security.authentication.SystemSubject;
+import org.apache.jackrabbit.oak.spi.security.principal.SystemPrincipal;
 
 public class LoginSystemTest extends AbstractLoginTest {
 
@@ -39,7 +39,7 @@ public class LoginSystemTest extends AbstractLoginTest {
         if (getRepository() instanceof RepositoryImpl) {
             subject = SystemSubject.INSTANCE;
         } else {
-            subject = new Subject(true, Set.of(new SystemPrincipal()), 
Collections.emptySet(), Collections.emptySet());
+            subject = new Subject(true, Set.of(SystemPrincipal.INSTANCE), 
Collections.emptySet(), Collections.emptySet());
         }
     }
 

Reply via email to