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

Incorrect class version 55.0 #257

Closed
gotson opened this issue Nov 2, 2022 · 4 comments · Fixed by #258
Closed

Incorrect class version 55.0 #257

gotson opened this issue Nov 2, 2022 · 4 comments · Fixed by #258

Comments

@gotson
Copy link

gotson commented Nov 2, 2022

Hi,

version 3.0.3 has incorrect class version 55.0 instead of 52.0:

error: cannot access KLogger
    private static final mu.KLogger logger = null;
                           ^
  bad class file: .gradle/caches/modules-2/files-2.1/io.github.microutils/kotlin-logging-jvm/3.0.3/a22ed63df54739199d36b967812e50ea68bf3bab/kotlin-logging-jvm-3.0.3.jar(mu/KLogger.class)
    class file has wrong version 55.0, should be 52.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.

Seems like it could be because of 2004665 or #251 ?

The README doesn't mention any minimum Java version requirement, and 3.0.0 works well on Java 8.

@github-actions
Copy link

github-actions bot commented Nov 2, 2022

Thank you for reporting an issue. See the wiki for documentation and slack for questions.

@oshai
Copy link
Owner

oshai commented Nov 2, 2022

Yes, bumping the Java version as part of #251 was unintentional. I will fix it.

oshai added a commit that referenced this issue Nov 2, 2022
@oshai oshai closed this as completed in #258 Nov 2, 2022
oshai added a commit that referenced this issue Nov 2, 2022
To fix #257.
* Update build.gradle.kts
@oshai
Copy link
Owner

oshai commented Nov 2, 2022

Please make sure it works in 3.0.4 once it's available.

@gotson
Copy link
Author

gotson commented Nov 3, 2022

Please make sure it works in 3.0.4 once it's available.

Thanks, i confirm it's back to Java 8 on the latest 3.0.4

0x6675636b796f75676974687562 added a commit to saveourtool/diktat that referenced this issue Nov 7, 2022
0x6675636b796f75676974687562 added a commit to saveourtool/diktat that referenced this issue Nov 7, 2022
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 a pull request may close this issue.

2 participants