-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Description
Including JSON-java using maven:
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20151123</version>
</dependency>
for a project that is to be deployed to IBM WebSphere Application Server (WAS) on versions 8.0 and 8.5, so require code compiled for Java 1.6.
Currently, JSON-java is compiled for 1.7 so it does not load. Found two classes org.json.JSONObject and org.json.JSONArray that would not compile at 1.6 due to the use of multi-catch parameters. With these two adjusted, all compiled at 1.6 and the code works in WAS.
Would it be possible to make these changes permanent and release (through Maven at least) a version compiled at Java 1.6?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels