question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not compatible with OpenJDK 14

See original GitHub issue

Plugin is failing when I run with the latest JDK

 [proguard] Error: Can't read [/home/paul/.sdkman/candidates/java/14.0.0.j9-adpt/jmods/java.base.jmod] (Can't process class [module-info.class] (Unsupported version number [58.0] (maximum 57.0, Java 13)))

The project itself has an older compile target

  <properties>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
  </properties>

I have tried the latest proguard-maven-plugin and proguard-base, getting the same error

        <plugin>
          <groupId>com.github.wvengen</groupId>
          <artifactId>proguard-maven-plugin</artifactId>
          <version>2.2.0</version>
          <dependencies>
            <dependency>
              <groupId>net.sf.proguard</groupId>
              <artifactId>proguard-base</artifactId>
              <version>6.2.2</version>
            </dependency>
          </dependencies>
        </plugin>

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
paulericksoncommented, Jun 9, 2020

Proguard 7.0.0 with Java 14 support has been released https://github.com/Guardsquare/proguard/releases/tag/v7.0.0

0reactions
paulericksoncommented, Sep 17, 2020

This is resolved. I found an explicit dependency on the old proguard-core in a parent pom 🤦 but works like a charm with that gone.

Thanks for the help, and I’ll look forward to Java 15 support!

Read more comments on GitHub >

github_iconTop Results From Across the Web

20.04 - why were openjdk 14 and 13 removed from the repos
With OpenJDK 16 being released, the maintenance team did not want to support OpenJDK versions 13, 14, 15, and 16.
Read more >
JDK 14 Release Notes - Oracle
The Kinds of Compatibility page on the OpenJDK wiki identifies three types of potential compatibility issues for Java programs used in these descriptions:....
Read more >
Download and Install JDK 14 (OpenJDK and Oracle JDK)
This article is a guide to download and install OpenJDK and Oracle JDK for Java 14 on Windows operating system. You know, Java...
Read more >
Is Open JDK 14 compatible with Digital Workplace 20.02?
Digital Workplace 20.02 is compatible with OpenJDK 11. OpenJDK 14 is unsupported and there is no guarantee that it will work. URL Name....
Read more >
JDK 14 Releases
JDK 14 has been superseded. Please visit jdk.java.net for the current version. Older releases, which do not include the most up to date...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found