Skip to content

Conversation

@sid-srini
Copy link
Member

Updated the code to obtain the parent diagnostics keys for feature-related errors/warnings to be agnostic to movement across different diagnostic types in different JDKs.
For example, Warning -> LinterWarning

@sid-srini sid-srini added this to the JVSC 24.1.1 milestone Aug 21, 2025
@sid-srini sid-srini requested review from Achal1607 and lahodaj August 21, 2025 12:19
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 21, 2025
lahodaj
lahodaj previously approved these changes Aug 21, 2025
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be fragmentCode.length(), current would cutoff the last char?
or
something like this
prefix = fragmentKey.substring(0, fragmentKey.length() - fragmentCode.length());

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot. I've addressed this blooper. Please re-review. Thanks.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of ignoring, should we log using fine or finer level, so that for debugging purpose it will help?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added logger. Thanks.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of ignoring, should we log using fine or finer level, so that for debugging purpose it will help?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added logger. Thanks

…5+ EA

Updated the code to obtain the parent diagnostics keys for
feature-related errors/warnings to be agnostic to movement across
different diagnostic types in different JDKs.
For example, Warning -> LinterWarning
Copy link
Member

@Achal1607 Achal1607 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks

@sid-srini sid-srini merged commit 04ce72f into oracle:main Aug 22, 2025
3 checks passed
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.

3 participants