JodaOrg / joda-convert

Java library to enable conversion to and from standard string formats.

Home Page:http://www.joda.org/joda-convert/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Include Guava code directly avoiding reflection

jodastephen opened this issue · comments

Joda-Convert previously use setAccessible() to access package scoped methods in Guava due to Guava #1645 not being fixed. With Java 9, this is no longer tenable, thus fix #20 needs to go further - actually copying code from Guava to Joda-Convert.

As a side effect of this, the converter for Type now works regardless of whether Guava is present or not, and it also handles subclass implementations correctly (a bug fix).