[JIRA] (OSJ-369) Eliminate class exceptions from string-based context accessors
Scott Cantor (Jira)
jira at shibboleth.atlassian.net
Thu Jan 19 18:58:38 UTC 2023
Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) *created* an issue
OpenSAML - Java ( https://shibboleth.atlassian.net/browse/OSJ?atlOrigin=eyJpIjoiYjMzMWUzYjlmYWYyNDFhY2FjNTFiMDcwNzk4OWNhM2QiLCJwIjoiaiJ9 ) / Improvement ( https://shibboleth.atlassian.net/browse/OSJ-369?atlOrigin=eyJpIjoiYjMzMWUzYjlmYWYyNDFhY2FjNTFiMDcwNzk4OWNhM2QiLCJwIjoiaiJ9 ) OSJ-369 ( https://shibboleth.atlassian.net/browse/OSJ-369?atlOrigin=eyJpIjoiYjMzMWUzYjlmYWYyNDFhY2FjNTFiMDcwNzk4OWNhM2QiLCJwIjoiaiJ9 ) Eliminate class exceptions from string-based context accessors ( https://shibboleth.atlassian.net/browse/OSJ-369?atlOrigin=eyJpIjoiYjMzMWUzYjlmYWYyNDFhY2FjNTFiMDcwNzk4OWNhM2QiLCJwIjoiaiJ9 )
Issue Type: Improvement Assignee: Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) Components: Message Handling Created: 19/Jan/23 1:58 PM Fix Versions: 5.0.0 Priority: Trivial Reporter: Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 )
The script-friendly getSubcontext methods on BaseContext were defined to throw ClassNotFoundExceptions under certain conditions. This was intended to change at some point and match the nullable semantics of the other methods, since scripting isn’t that friendly to exception handling anyway.
It should log a warning on this to facilitate debugging.
( https://shibboleth.atlassian.net/browse/OSJ-369#add-comment?atlOrigin=eyJpIjoiYjMzMWUzYjlmYWYyNDFhY2FjNTFiMDcwNzk4OWNhM2QiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/OSJ-369#add-comment?atlOrigin=eyJpIjoiYjMzMWUzYjlmYWYyNDFhY2FjNTFiMDcwNzk4OWNhM2QiLCJwIjoiaiJ9 )
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#100214- sha1:5a2a1e8 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230119/13c06ad2/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-48bd5bb8-4483-48d1-9638-04b3f0ed04ba
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230119/13c06ad2/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-3ed0757d-da7a-45c2-9001-557d02aa2464
Type: image/png
Size: 448 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230119/13c06ad2/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-5fc7c854-3ee6-47d5-abd0-0c014ba3bbff
Type: image/png
Size: 446 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230119/13c06ad2/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-e6db7e45-107c-4660-af4f-2ae1afcd4233
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230119/13c06ad2/attachment-0007.png>
More information about the commits
mailing list