You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by re...@apache.org on 2025/10/13 17:43:55 UTC

(jackrabbit-oak) branch OAK-11983 created (now 4239599cc5)

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

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


      at 4239599cc5 OAK-11983: benchmarks: remove jackrabbit-core dependency

This branch includes the following new commits:

     new 4239599cc5 OAK-11983: benchmarks: remove jackrabbit-core dependency

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(jackrabbit-oak) 01/01: OAK-11983: benchmarks: remove jackrabbit-core dependency

Posted by re...@apache.org.
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 <re...@apache.org>
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());
         }
     }