[JIRA] (IDP-1901) Bug with Amazon Corretto 17 for Linux, IDP 4.1.5, and WarningIntercept ?
Scott Cantor (Jira)
jira at shibboleth.atlassian.net
Mon Jan 31 19:29:14 UTC 2022
Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) *commented* on IDP-1901 ( https://shibboleth.atlassian.net/browse/IDP-1901?atlOrigin=eyJpIjoiZTQ5MDMyMmI4YjFhNDZjOGEzM2MzZDA3MDhiM2EyNGIiLCJwIjoiaiJ9 )
Re: Bug with Amazon Corretto 17 for Linux, IDP 4.1.5, and WarningIntercept ? ( https://shibboleth.atlassian.net/browse/IDP-1901?atlOrigin=eyJpIjoiZTQ5MDMyMmI4YjFhNDZjOGEzM2MzZDA3MDhiM2EyNGIiLCJwIjoiaiJ9 )
I think what’s going on is that dynamic language features, probably including both SpEL and Javascript, have to use reflection to locate the method to call, and that hits the class and not the interface (i.e. this.getClass()…), and I believe 17 closed off access to most of the JDK internal classes.
Opening them back up like this not only doesn’t really scale, but isn’t even good, since it allows calling internal classes too, which is NOT the need/intent.
I’m not sure there’s really a good answer other than avoid the features where we can by moving more code into pure Java, but for deployers that’s going to be unfortunate.
I’m still surprised I’m not hitting this more. I have oodles of scripts and expressions running by default. I can’t believe this is the only one that hits an internal class by way of an interface, but I suppose java.util would hit a whole lot of them.
( https://shibboleth.atlassian.net/browse/IDP-1901#add-comment?atlOrigin=eyJpIjoiZTQ5MDMyMmI4YjFhNDZjOGEzM2MzZDA3MDhiM2EyNGIiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-1901#add-comment?atlOrigin=eyJpIjoiZTQ5MDMyMmI4YjFhNDZjOGEzM2MzZDA3MDhiM2EyNGIiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100189- sha1:bb3bc26 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220131/ab4796da/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-75894c6c-c2b6-4894-a7cb-dc1847a7c345
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220131/ab4796da/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-f40f9795-19d9-4e8f-9956-21ccb214c1bb
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220131/ab4796da/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-719b242a-563f-4f7d-a823-bd32ac9f4336
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220131/ab4796da/attachment-0005.png>
More information about the commits
mailing list