Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upmulti-catch fixed for source release compatibility 1.6 #181
Conversation
Additional discussion of this code change can be found at the bottom of #156 |
Progress will be posted here.
Form factors: Phone and tablet
Confirmed that the only 1.6 incompatibilities in JSON-java are the multi-catches in JSONObject and JSONArray To an Android HelloWorld project, I imported jar package original v1.7 JSON-java, and created a JSONObject. Ran it on a 4.0.3 Ice Cream Sandwich Android phone. No errors. |
Some links for ease of not switching between issues:
|
Agreed that the only code preventing 1. 6 compatibility are the multi-catches, which were a recent enhancement. However, I have been unable to make the case that the existing JSON-java code fails to compile in Android Studio, and deploy/execute on an Android device (see my comment, above). What exactly is your use case for making this change? |
I officially withdraw this PR. You can ignore/decline this pull request. Thanks. |
@jinahya feel free to reopen if you come across any situation where reverting to 1.6 compatibility would provide a benefit to users. |
jinahya commentedDec 9, 2015
Two lines in each file fixed for source code compatible
1.6
.I believe these changes don't affect any functionalities and API changes.
Note that sticking source release
1.6
doesn't mean target class version should be1.6
.Note, also, that even Java 9 might support
1.6
.