Skip to content

Conversation

@nitram22
Copy link
Contributor

@nitram22 nitram22 commented Jul 9, 2020

Hi,

I tried to fix the issue that the library isn't able to parse an entry that contains the field "extra" in the "extensions" section.

@joshbooks has tried to fix the bug before, so I used his solution as a starting point. Now the code doesn't create an infinite loop anymore and still parses the extensions correctly.

Maybe you guys could look into it and see if it works for you.
Unfortunately I had to replace the NotImplementedException with an UnsupportedOperationException, because I work with OpenJDK and have no access to the reflectiveObjects packages.

@nitram22
Copy link
Contributor Author

nitram22 commented Jul 9, 2020

The llinked issue is: #7

Unfortunately i can't link this pull request myself.

@joshbooks joshbooks linked an issue Jul 9, 2020 that may be closed by this pull request
Copy link
Contributor

@joshbooks joshbooks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@nitram22
Copy link
Contributor Author

nitram22 commented Nov 4, 2020

Could you please merge this if the solution is still okay?

@joshbooks joshbooks merged commit 027705c into CaliDog:master Nov 4, 2020
@nitram22
Copy link
Contributor Author

Hi Josh, could you please build a new release so the error doesn't occur anymore ? Thank you!

@joshbooks
Copy link
Contributor

@nitram22 done

@nitram22
Copy link
Contributor Author

Thank you !

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.

IllegalStateException if entry contains "extra" field

2 participants