Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@ghost
Copy link

@ghost ghost commented Oct 10, 2015

Trying to build a new JSONArray from a Collection (where E != Object) throws an exception because it uses another constructor that takes an Object as argument which is supposed to be an array.

…lections of any kind.

Trying to build a new JSONArray from a Collection<E> (where E != Object) throws an exception because it uses another constructor that takes an Object as argument which is supposed to be an array.
@ghost
Copy link
Author

ghost commented Oct 10, 2015

I just noticed that a similar pull request has been closed.

Updating the JSON library from a version without generics (before may 6th 2014!) broke our code because Collection (for instance) is a subtype of Collection, but not of Collection.

@stleary
Copy link
Owner

stleary commented Oct 10, 2015

Please continue this discussion in #153.

@stleary stleary closed this Oct 10, 2015
@ghost ghost deleted the upstream branch October 11, 2015 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.