-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[GR-68984] Fix the reachability-metadata schema and include it with GraalVM. #12255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
61838d7
to
016dfc2
Compare
793c52d
to
5f13ae8
Compare
@zakkak I have fixed all the issues I could find in the schema. Please have a look and see if you see any outstanding issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, other than the minor comments added.
Since you perform pattern matching for Class names and Type names perhaps it would be worth doing the same for field-names and method-names, or is it excessive?
"pattern": "^[^.;\\[/]+(\\.[^.;\\[/]+)*(\\[])*$" | ||
}, | ||
"reason": { | ||
"title": "A reason(s) for including this element (e.g., needed for establishing connections, or needed by method X#Y for task Z)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"title": "A reason(s) for including this element (e.g., needed for establishing connections, or needed by method X#Y for task Z)", | |
"title": "Reason(s) for including this element (e.g., needed for establishing connections, or needed by method X#Y for task Z)", |
"default": {}, | ||
"properties": { | ||
"comment": { | ||
"title": "A comment applying to the whole file (e.g., generation date, author, etc.)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"title": "A comment applying to the whole file (e.g., generation date, author, etc.)", | |
"title": "Comment(s) applying to the whole file (e.g., generation date, author, etc.)", |
82896c5
to
22f2123
Compare
@zakkak thanks for the comments, I have integrated all the fixes proposed. |
3a943ec
to
594004f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @vjovanov
It looks good to me.
594004f
to
24c97ee
Compare
The new `reachability-metadata.json` file doesn't allow the exclusion of resources and uses globs for the inclusion of them. See: * oracle/graal#7487 * oracle/graal#9048 * oracle/graal#12255
Changes are the following:
bundles
,jni
,serialization
. The idea is that this schema should drive users towards the current format, instead of allowing all past formats.field
andreflection
into the document. It is used once now."$ref": "config-condition-schema-v1.0.0.json",
.To review this PR use: