cassandra-pr mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snazy <...@git.apache.org>
Subject [GitHub] cassandra pull request #236: 9608 trunk
Date Mon, 02 Jul 2018 09:45:47 GMT
Github user snazy commented on a diff in the pull request:

    https://github.com/apache/cassandra/pull/236#discussion_r199440790
  
    --- Diff: src/java/org/apache/cassandra/security/ThreadAwareSecurityManager.java ---
    @@ -208,7 +225,5 @@ public void checkPackageAccess(String pkg)
                 RuntimePermission perm = new RuntimePermission("accessClassInPackage." +
pkg);
                 throw new AccessControlException("access denied: " + perm, perm);
             }
    -
    -        super.checkPackageAccess(pkg);
    --- End diff --
    
    Otherwise JavaScript based UDFs stop working due to JPMS, that would raise errors like
    `Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission"
"accessClassInPackage.jdk.internal.org.objectweb.asm")`


---

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Mime
View raw message