retrolambda icon indicating copy to clipboard operation
retrolambda copied to clipboard

Add "fixJava8Classpath" option to support multirelease projects

Open kohlschuetter opened this issue 1 year ago • 1 comments

In certain environments that build multirelease jars, the Maven "classes" directory contains class files with newer Java versions, whereas the Java 8 versions are stored elsewhere.

Add a boolean "fixJava8Classpath" option that, once enabled, automatically fixes these classpath entries. It checks for the presence of a sibling directory named "classes-java8". If that's available, then the original classpath entry is replaced.

kohlschuetter avatar Sep 25 '23 19:09 kohlschuetter

Requires a test case to reproduce whatever was the issue. "classes-java8" sounds like something project specific.

luontola avatar Sep 25 '23 21:09 luontola