-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P4
-
None
-
Affects Version/s: 8
-
Component/s: tools
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
When creating an array of type Number, it allows the array of type Integer to assign to it, this coincides with polymorphism, but 0.5 is a double, it allows it to assign it to array of type Integer, and this won't create a compile error, it can create a security issue.
When creating an array of type Number, it allows the array of type Integer to assign to it, this coincides with polymorphism, but 0.5 is a double, it allows it to assign it to array of type Integer, and this won't create a compile error, it can create a security issue.