This is the mail archive of the mauve-discuss@sources.redhat.com mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FW: Question about Java Lang testcaseJAVA.LANG.REFLECT.ARRAY.NEGATIVEARRAYSIZEEXCEPTION


No. Sun admits that their VM is buggy for not throwing the exception in this case (search their BugParade database).

Patrick Ellis wrote:
the testcase should throw an NegativeArraySizeException but because the negative -1 is the second element and 0 is the first element some JVMs fail to throw the exception. Should the testcase be changed from x = new int[0][-1]; -----> x = new int[1][-1];
--
This signature intentionally left boring.

Eric Blake             ebb9 at email dot byu dot edu
  BYU student, free software programmer



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]