You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2019/03/31 12:54:00 UTC

[jira] [Created] (GROOVY-9061) Failing tests containing @Grab statements within nested scripts fail in JDK12

Paul King created GROOVY-9061:
---------------------------------

             Summary: Failing tests containing @Grab statements within nested scripts fail in JDK12
                 Key: GROOVY-9061
                 URL: https://issues.apache.org/jira/browse/GROOVY-9061
             Project: Groovy
          Issue Type: Bug
            Reporter: Paul King
            Assignee: Paul King


Seems to be due to the class java.security.AccessController now appearing in the execution stack whereas it doesn't up until JDK11. This breaks the current logic for ReflectionUtils#getCallingClass that Grab uses to find the groovy class loader.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)