Skip to content

Conversation

@dschneider-pivotal
Copy link
Contributor

Instead of using the jdk internal java.nio.Bits.unaligned, the code
now uses the "os.arch" system property that is part of the public
jdk contract. The list of values came from jdk 1.8.

For all changes:

  • Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

  • Has your PR been rebased against the latest commit within the target branch (typically develop)?

  • Is your initial contribution a single, squashed commit?

  • Does gradlew build run cleanly?

  • Have you written or updated unit tests to verify your changes?

  • If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Copy link
Contributor

@jake-at-work jake-at-work left a comment

Choose a reason for hiding this comment

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

Seems appropriate to add unit test that mutates the os.arch property to test all cases.

Copy link
Contributor

@jake-at-work jake-at-work left a comment

Choose a reason for hiding this comment

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

YES!

@dschneider-pivotal dschneider-pivotal merged commit ad615d1 into apache:develop Apr 21, 2022
@dschneider-pivotal dschneider-pivotal deleted the GEODE-9466 branch April 21, 2022 21:53
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.

3 participants