Skip to content

[BUG] class file has wrong version 61.0, should be 55.0 #218

@THausherr

Description

@THausherr

Describe the bug
bad class file: XXXXXX\repository\com\github\junrar\junrar\7.5.6\junrar-7.5.6.jar(/com/github/junrar/exception/RarException.class)
[ERROR] class file has wrong version 61.0, should be 55.0

To Reproduce
Take the branch 3 of the Apache Tika project, change the parent pom.xml so that junrar 7.5.6 is used, and try to build (it uses jdk11)

Expected behavior
Successful build / class files should be version 52.0

File

Environment (please complete the following information):

  • OS: W10
  • Junrar version: 7.5.6

Additional context
I extracted RandomAccessInputStream.class from the jar file and I ran "javap -verbose RandomAccessInputStream.class" and got this:

Last modified 16.10.2025; size 4040 bytes
SHA-256 checksum 4b6c17fe63d7a01625bd508fdc541e88f0c0f038ace1bcd78252b9ae47ab0054
Compiled from "RandomAccessInputStream.java"
public final class com.github.junrar.io.RandomAccessInputStream extends java.io.InputStream
minor version: 0
major version: 61

so either the documentation is wrong, or the class files are wrong.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions