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

Require Java 8 for compilation and execution #171

Closed
wants to merge 2 commits into from

Conversation

rovarga
Copy link
Contributor

@rovarga rovarga commented Feb 16, 2023

This bumps the source level and target to Java 8. As a side-effect, the checks for sun.misc.BASE64* are removed, as we can no longer test them.

This bumps the source level and target to Java 8. As a side-effect, the
checks for sun.misc.BASE64* are removed, as we can no longer test them.

Signed-off-by: Robert Varga <[email protected]>
<version>8</version>
<comment>Prefer java.util.Base64.Encoder.encodeToString(byte[])</comment>
</violation>

Copy link
Owner

@gaul gaul Feb 16, 2023

Choose a reason for hiding this comment

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

We should keep the violation but not test it. The tests still reference this so I think maybe you did the opposite?

This reverts the previous patch.
@gaul
Copy link
Owner

gaul commented Feb 20, 2023

Could you explain this a little more? By compiling with Java 1.8 as a dependency, does this allow @SuppressModernizer to apply to local variables? Is this all the needs to be done to resolve #155?

@gaul gaul mentioned this pull request Apr 4, 2023
@gaul
Copy link
Owner

gaul commented Feb 7, 2024

@rovarga Could you explain your motivations for this PR? Does it allow @SuppressModernizer to apply to local variables? If so can you add a test?

@gaul
Copy link
Owner

gaul commented Feb 12, 2024

Closing as per #155 (comment).

@gaul gaul closed this Feb 12, 2024
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