eclipse-ee4j / eclipse-ee4j/parsson
package-info.class files inside org.eclipse.parsson:jakarta.json are compiled with the wrong Java version
- Dominant language
- Java
- Stars
- 17
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
Jars of [org.eclipse.parsson:jakarta.json](https://search.maven.org/artifact/org.eclipse.parsson/jakarta.json) are compiled for Java version 8 (class version 52). However, the `package-info.class` files inside versions `1.0.1`, `1.0.2`, and `1.1.1` are actually compiled for Java version 9 (class version 53).


This is causing issues with IBM Websphere Application Server. It scans the jars before loading them and refuses to load them because they have classes with version>52:
```
W com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource jakarta/json/spi/package-info.class in archive WEB-INF/lib/jakarta.json-1.1.1.jar
java.lang.IllegalArgumentException
```
A workaround is using `jakarta.json:jakarta.json-api` and `org.eclipse.parsson:parsson` instead of `org.eclipse.parsson:jakarta.json`
Contributor guide
Assessment
This issue has not been assessed yet.