[ 
https://issues.apache.org/jira/browse/GROOVY-12362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18111978#comment-18111978
 ] 

ASF GitHub Bot commented on GROOVY-12362:
-----------------------------------------

paulk-asert opened a new pull request, #2891:
URL: https://github.com/apache/groovy/pull/2891

   …ookup and sanitized traces
   
   In a native image, dynamically built MethodHandle chains run in GraalVM's 
interpreter, whose com.oracle.svm.core.methodhandles frames are visible to 
StackWalker, and its reflection accessors live in com.oracle.svm.core.reflect. 
Treat com.oracle.svm.* as runtime frames in ReflectionUtils.getCallingClass 
(which affects getBundle and Grape) and in StackTraceUtils.sanitize. Use 
Class.getPackageName rather than getPackage, which is null for those classes 
inside an image.




> ReflectionUtils.getCallingClass and StackTraceUtils.sanitize should ignore 
> GraalVM's com.oracle.svm frames
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-12362
>                 URL: https://issues.apache.org/jira/browse/GROOVY-12362
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to