-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Unit test fixes #525
Unit test fixes #525
Conversation
- commented `java() {...}` within build.gradle - added following files 1. gradlew 2. gradlew.bat (for windows) 3. gradle/wrapper/gradle-wrapper.properties (for ./gradlew command execution) 4. gradle/wrapper/gradle-wrapper.jar (for ./gradlew command execution)
@johnjaylward gradle-wrapper.properties specify gradle-6.3, but the test case was fixed in Java 1.7? Can you clarify? |
The test case was using a function that wasnt available until java8. I changed it to not use that function and instead use manual casting and addition |
APPROVED |
Yes, from my testing here: https://github.com/johnjaylward/JSON-java/actions you can see that most of the tests fail in Java7 due to comparison differences due to hash reordering. |
What problem does this code solve?
Fixes #523
Risks
None. No changes to library code, just supporting items
Changes to the API?
No
Will this require a new release?
No
Should the documentation be updated?
No
Does it break the unit tests?
No
Was any code refactored in this commit?
Review status