tomasbjerre / violations-lib

Java library for parsing report files from static code analysis.
Apache License 2.0
148 stars 39 forks source link

1.157.2 silently upgraded to Java 17 #190

Closed TWiStErRob closed 1 month ago

TWiStErRob commented 1 month ago

I got an error on my CI that didn't happen on 1.157.1:

Caused by: java.lang.UnsupportedClassVersionError: se/bjurr/violations/lib/reports/Parser has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

Ref: https://github.com/TWiStErRob/net.twisterrob.gradle/pull/805 More specifically: https://github.com/TWiStErRob/net.twisterrob.gradle/pull/805/checks?check_run_id=29538464400

tomasbjerre commented 1 month ago

Fixed in 1.157.3

TWiStErRob commented 1 month ago

I just realized something: I'm using Java 11, are you sure that recent versions of the lib were not Java 7 or 8-based?

TWiStErRob commented 1 month ago

Thanks for the quick fix btw!

Re-ran Renovate on my PR, let's see what happens.

tomasbjerre commented 1 month ago

Not sure when it became java 11 but that is what I want.