-
Notifications
You must be signed in to change notification settings - Fork 38.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent resource hint registration for pattern with leading slash
Prior to this commit, if a ResourcePatternHint was created with a resource pattern with a leading slash, the hint was registered and eventually converted to configuration for the GraalVM native image compiler. However, such a resource pattern is invalid for GraalVM. Consequently, the registered resources were not available within the compiled native image. This commit ensures that registered patterns are applicable in a native image by preventing creation of a ResourcePatternHint with a pattern with a leading slash. Closes gh-29088
- Loading branch information
Showing
2 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters