[JIRA] (JSCRIPTING-10) Graal-based "nashorn" plugin does not work for IdP 4.1.4 and Java 17 RC
Rod Widdowson (Jira)
jira at shibboleth.atlassian.net
Mon Aug 16 10:27:55 UTC 2021
Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *commented* on JSCRIPTING-10 ( https://shibboleth.atlassian.net/browse/JSCRIPTING-10?atlOrigin=eyJpIjoiN2YxNTk5MjYzMWIxNDRhMjlmOTY1NmZkODY3MTAxZDciLCJwIjoiaiJ9 )
Re: Graal-based "nashorn" plugin does not work for IdP 4.1.4 and Java 17 RC ( https://shibboleth.atlassian.net/browse/JSCRIPTING-10?atlOrigin=eyJpIjoiN2YxNTk5MjYzMWIxNDRhMjlmOTY1NmZkODY3MTAxZDciLCJwIjoiaiJ9 )
The failing bean defines this code
var protocol = null;
var springContext = input.getSubcontext("net.shibboleth.idp.profile.context.SpringRequestContext");
if (springContext != null) {
if (springContext.getRequestContext() != null) {
protocol = springContext.getRequestContext().getActiveFlow().getApplicationContext().getBean('shibboleth.MetadataLookup.Protocol');
}
}
protocol;
And the engine compiles this just tickety-boo stand alone…
( https://shibboleth.atlassian.net/browse/JSCRIPTING-10#add-comment?atlOrigin=eyJpIjoiN2YxNTk5MjYzMWIxNDRhMjlmOTY1NmZkODY3MTAxZDciLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JSCRIPTING-10#add-comment?atlOrigin=eyJpIjoiN2YxNTk5MjYzMWIxNDRhMjlmOTY1NmZkODY3MTAxZDciLCJwIjoiaiJ9 )
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#100172- sha1:c3c6042 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20210816/b0919930/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-93a9cfae-4a3e-4224-b888-59210e68ce23
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20210816/b0919930/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-444d7bc4-8b62-430a-9255-c313965073b9
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20210816/b0919930/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-e0cc592f-25eb-4bb6-a6d4-247a6a033acd
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20210816/b0919930/attachment-0005.png>
More information about the commits
mailing list