Skip to content

Massive jump from Java 8 to requiring Java 17 in a patch release (5.6.0 -> 5.6.1) #1134

@nielsbasjes

Description

@nielsbasjes

Describe the bug
With the update from 5.6.0 to 5.6.1 there is a massive jump in the required JRE to use this software.
Such a jump would make sense when going to Kryo 6.0.0, not when doing a patch release.

To Reproduce

On my Linux system;

wget https://repo1.maven.org/maven2/com/esotericsoftware/kryo/5.6.0/kryo-5.6.0.jar
unzip kryo-5.6.0.jar
file com/esotericsoftware/kryo/Kryo.class

outputs

com/esotericsoftware/kryo/Kryo.class: compiled Java class data, version 52.0 (Java 1.8)

and

wget https://repo1.maven.org/maven2/com/esotericsoftware/kryo/5.6.1/kryo-5.6.1.jar
unzip kryo-5.6.1.jar
file com/esotericsoftware/kryo/Kryo.class

outputs

com/esotericsoftware/kryo/Kryo.class: compiled Java class data, version 61.0

Java class version 61 is Java 17

Additional context
My renovate update build https://github.com/nielsbasjes/yauaa/actions/runs/11252889050/job/31286989023?pr=1598 fails with

[INFO] Restricted to JDK 8 yet com.esotericsoftware:kryo:jar:5.6.1:compile contains com/esotericsoftware/kryo/ClassResolver.class targeted to JDK 17

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions