Closed cruftex closed 8 years ago
From: https://github.com/jsr107/jsr107spec/issues/357
TCK CacheManagerTest.getNullTypeCacheRequest() mandates to throw NullPointerException when passing null as keyClass or valueClass.
CacheManagerTest.getNullTypeCacheRequest()
NullPointerException
null
From: https://github.com/jsr107/jsr107tck/issues/86
TCK asserts that wrong classes yield ClassCastException but not IllegalArgumentException. Change the Spec JavaDoc to ClassCastException which is more precise and the current behavior that everyone implemented.
ClassCastException
IllegalArgumentException
From: https://github.com/jsr107/jsr107spec/issues/357
TCK
CacheManagerTest.getNullTypeCacheRequest()
mandates to throwNullPointerException
when passingnull
as keyClass or valueClass.From: https://github.com/jsr107/jsr107tck/issues/86
TCK asserts that wrong classes yield
ClassCastException
but notIllegalArgumentException
. Change the Spec JavaDoc toClassCastException
which is more precise and the current behavior that everyone implemented.