Skip to content

Remove static from test variable - #1779

Open
Mohit-Rajbhar100698 wants to merge 1 commit into
IBM:java17from
Mohit-Rajbhar100698:backport/java17fix/remove-static-variable
Open

Remove static from test variable#1779
Mohit-Rajbhar100698 wants to merge 1 commit into
IBM:java17from
Mohit-Rajbhar100698:backport/java17fix/remove-static-variable

Conversation

@Mohit-Rajbhar100698

Copy link
Copy Markdown
Collaborator

Remove the static modifier from the test variables to ensure each instance maintains its own state and to support future multithreaded test execution and remove unreferenced variable.

Changes:

  • In src/test/java/ibm/jceplus/junit/tests/TestAESCCM.java file.
  • In src/test/java/ibm/jceplus/junit/tests/TestAESCCM2.java file.

Back-ported from: #1723
Signed-off-by: Mohit Rajbhar mohit.rajbhar@ibm.com

Remove the static modifier from the test variables to ensure each
instance maintains its own state and to support future multithreaded
test execution and remove unreferenced variable.

Changes:
- In src/test/java/ibm/jceplus/junit/tests/TestAESCCM.java file.
- In src/test/java/ibm/jceplus/junit/tests/TestAESCCM2.java file.

Signed-off-by: Mohit Rajbhar <mohit.rajbhar@ibm.com>
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.

1 participant