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

fix: Move Java helper methods out of extern class #855

Merged
merged 3 commits into from
Oct 15, 2024

Conversation

robin-aws
Copy link
Contributor

Description of changes:

I added these as a migration workaround for upgrading the Dafny version, but as a side effect it made HMac a mixed Dafny/native class when it wasn't intended to be, and this isn't supported on all target languages (e.g. Go). Easy fix to move them out of the class to the surrounding module instead.

Squash/merge commit message, if applicable:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@robin-aws robin-aws requested a review from a team as a code owner October 11, 2024 17:34
@texastony
Copy link
Contributor

@texastony
Copy link
Contributor

@robin-aws @josecorella This Branch is failing the "does not break DB-ESDK" check:
https://github.com/aws/aws-database-encryption-sdk-dynamodb/actions/runs/11333537614

Question: @josecorella Did I run the check correctly?

Copy link
Contributor

@texastony texastony left a comment

Choose a reason for hiding this comment

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

@texastony
Copy link
Contributor

Tried again with the a newer manual workflow: https://github.com/aws/aws-database-encryption-sdk-dynamodb/actions/runs/11333611590

Copy link
Contributor

@texastony texastony left a comment

Choose a reason for hiding this comment

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

@robin-aws
Copy link
Contributor Author

Thanks @texastony! @josecorella would it be doable to run the "does not break DB-ESDK" check in the CI of this project?

@robin-aws robin-aws merged commit 61fddf8 into main Oct 15, 2024
94 checks passed
@robin-aws robin-aws deleted the robin-aws/avoid-static-functions-in-extern-classes branch October 15, 2024 18:18
lucasmcdonald3 pushed a commit that referenced this pull request Oct 22, 2024
## [1.7.2](v1.7.1...v1.7.2) (2024-10-22)

### Bug Fixes

* Move Java helper methods out of extern class ([#855](#855)) ([61fddf8](61fddf8))
* Smithy-Dafny update for separated classes and unions ([#806](#806)) ([4b7cc5f](4b7cc5f))
* variable name collision fix for Go ([ceaec06](ceaec06))
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.

2 participants