mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
fix bug in isAssignableFrom such that primitive array types were considered to be subclasses of the Object array type
This commit is contained in:
@ -235,5 +235,7 @@ public class Misc {
|
||||
System.out.println(75.62);
|
||||
System.out.println(75.62d);
|
||||
System.out.println(new char[] { 'h', 'i' });
|
||||
|
||||
expect(! (((Object) new int[0]) instanceof Object[]));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user