]
Hardy Ferentschik resolved HV-233.
----------------------------------
Resolution: Fixed
Added tests for 4.10.3. 4.10.1 not relevant right now since we do autoboxing
Make sure jtype implements the following rules
----------------------------------------------
Key: HV-233
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-233
Project: Hibernate Validator
Issue Type: Task
Components: engine
Affects Versions: 4.0.0.CR1
Environment:
https://forum.hibernate.org/viewtopic.php?f=26&t=998244&p=2418691...
Reporter: Emmanuel Bernard
Fix For: 4.0.0.GA
http://java.sun.com/docs/books/jls/third_edition/html/typesValues.html#4.10
4.10.1 Subtyping among Primitive Types
The following rules define the direct supertype relation among the primitive types:
double >1 float
float >1 long
long >1 int
int >1 char
int >1 short
short >1 byte
4.10.3 Subtyping among Array Types
The following rules define the direct subtype relation among array types:
If S and T are both reference types, then S[] >1 T[] iff S >1 T.
Object >1 Object[]
Cloneable >1 Object[]
java.io.Serializable >1 Object[]
If p is a primitive type, then:
Object >1 p[]
Cloneable >1 p[]
java.io.Serializable >1 p[]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: