proguard icon indicating copy to clipboard operation
proguard copied to clipboard

Java 14 support

Open vewert opened this issue 4 years ago • 7 comments

When I try obfuscating with Java 14 get the following:

Unsupported version number [58.0] (maximum 57.0, Java 13)

I'm guessing proguard doesn't yet support Java 14

vewert avatar Mar 26 '20 20:03 vewert

I experience the same trouble.

mawiesne avatar Apr 07 '20 06:04 mawiesne

I made a PR #34, albeit untested except to see my build turn green and stop throwing that error

paulerickson avatar Apr 28 '20 20:04 paulerickson

At least for now, I've decided to stay on Java 11 (LTS); I worry this might be a problem every time there is a new Java release, and don't want to always be held up by this every time.

vewert avatar Apr 28 '20 21:04 vewert

Hey there, since JDK 14 was released 2 months ago and 15 will be released in 4 months, could we please prioritize this ticket, it's blocking us from upgrading.

l0rinc avatar May 12 '20 07:05 l0rinc

ProGuard 7.0.0 is officially available now. It supports Java 14 class files, including record types. I'll push a branch with support for the optional Record attribute (when compiling code with -preview) soon.

EricLafortune avatar Jun 09 '20 20:06 EricLafortune

How to use Proguard with -preview? I am using java 14 with Preview features.

bytecod3r avatar Sep 05 '20 02:09 bytecod3r

I think we can close this now, but JDK 15 is still unsupported - see https://github.com/Guardsquare/proguard/issues/64#issuecomment-755295941

l0rinc avatar Feb 07 '21 11:02 l0rinc