Skip to content

Conversation

@graalvmbot
Copy link
Collaborator

Quite simple addition of a new UnsupportedPlatformException exception type that is thrown from analysis when trying to create an element that is not in the platform. Previously, the more general UnsupportedFeatureException was thrown, so we aim at increasing the precision here.

Crema support uptakes this new exception type to allow for a more precise reasoning for catching expected exceptions when looking up declared members when creating resolved types for Crema.

Note that this new exception could potentially be thrown from other places as well, but I think this should be left as a follow-up for a core native image team member if relevant.

…erforming analysis lookup

Co-authored-by: Gilles Duboscq <gilles.m.duboscq@oracle.com>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 17, 2025
@graalvmbot graalvmbot merged commit 5674e69 into master Oct 18, 2025
13 checks passed
@graalvmbot graalvmbot deleted the ag/GR-69628-not-in-platform-exception branch October 18, 2025 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants