Skip to content
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

[WIP] Migrate runtime APIs for Java 21 #2216

Merged
merged 132 commits into from
Nov 14, 2024

Conversation

HindujaB
Copy link
Contributor

Purpose

$subject

Examples

Checklist

  • Linked to an issue
  • Updated the changelog
  • Added tests
  • Updated the spec
  • Checked native-image compatibility
  • Checked the impact on OpenAPI generation

Copy link

sonarcloud bot commented Nov 14, 2024

@HindujaB
Copy link
Contributor Author

HindujaB commented Nov 14, 2024

Disabled failing json data tests with this de77bf9.
We will need to enable them after fixing ballerina-platform/ballerina-library#7363

String strandParentFunctionName = Objects.isNull(env.getStrandMetadata()) ? null :
env.getStrandMetadata().getParentFunctionName();
if (Objects.nonNull(strandParentFunctionName) && strandParentFunctionName.equals("onMessage")) {
env.setStrandLocal(MAIN_STRAND, true);
Copy link
Contributor

Choose a reason for hiding this comment

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

Dont we need to add this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed it because we didn't read it anywhere. Any specific reason we added this? @warunalakshitha

Copy link
Contributor

Choose a reason for hiding this comment

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

It was there in old code too.

Copy link
Contributor

Choose a reason for hiding this comment

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

+1 to remove

@warunalakshitha warunalakshitha merged commit 7e9f66a into ballerina-platform:java21 Nov 14, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants