Skip to content

Recompile at JDK 1.6 #197

@kt-ssp

Description

@kt-ssp

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions