You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Activity
johnjaylward commentedon Feb 12, 2016
a PR has already been accepted for this. You can close this, the change should be in the next release.
johnjaylward commentedon Feb 12, 2016
#195
stleary commentedon Feb 13, 2016
Fixed in https://github.com/stleary/JSON-java/releases/tag/20160212. Let us know if there are an problems. Maven release pending.
kt-ssp commentedon Feb 16, 2016
Appreciate the speed with which this was resolved and happy to confirm that having updated to the later maven version that all is working.
stleary commentedon Feb 16, 2016
Great, thanks for confirming it is working.