Skip to content

Commit

Permalink
bug fix JSONArray to, #287
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed May 20, 2022
1 parent 170e698 commit 03532ce
Show file tree
Hide file tree
Showing 16 changed files with 982 additions and 487 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static ObjectReader createFormattedObjectReader(Type fieldType, Class fieldClass
return JdbcSupport.createDateReader(format, locale);
case "byte[]":
case "[B":
return new ObjectReaderBaseModule.Inte8ArrayImpl(format);
return new ObjectReaderImplInt8Array(format);
default:
if (Calendar.class.isAssignableFrom(fieldClass)) {
return ObjectReaderImplCalendar.of(format, locale);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ default T createInstance(long features) {
* @throws UnsupportedOperationException If the method is not overloaded or otherwise
*/
default T createInstance(Collection collection) {
throw new UnsupportedOperationException();
throw new UnsupportedOperationException(this.getClass().getName());
}

default T createInstance(Map map, JSONReader.Feature... features) {
Expand Down
Loading

0 comments on commit 03532ce

Please sign in to comment.