changeset 11859:20206230cc9c

8163877: Tests added in JDK-8163518 fail on some platforms Reviewed-by: darcy
author igerasim
date Fri, 12 Aug 2016 01:37:49 +0300
parents 02d89bf02553
children 4b6460883ac5
files test/java/io/CharArrayReader/OverflowInRead.java test/java/io/StringBufferInputStream/OverflowInRead.java
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/io/CharArrayReader/OverflowInRead.java	Thu Aug 11 19:17:36 2016 +0300
+++ b/test/java/io/CharArrayReader/OverflowInRead.java	Fri Aug 12 01:37:49 2016 +0300
@@ -24,7 +24,8 @@
 /* @test
  * @bug 8163518
  * @summary Integer overflow when reading in large buffer
- * @requires (os.simpleArch == "x64" & os.maxMemory > 8g)
+ * @ignore This test has huge memory requirements
+ * @requires (sun.arch.data.model == "64" & os.maxMemory > 8g)
  * @run main/othervm -Xmx8g OverflowInRead
  */
 
--- a/test/java/io/StringBufferInputStream/OverflowInRead.java	Thu Aug 11 19:17:36 2016 +0300
+++ b/test/java/io/StringBufferInputStream/OverflowInRead.java	Fri Aug 12 01:37:49 2016 +0300
@@ -24,7 +24,8 @@
 /* @test
  * @bug 8163518
  * @summary Integer overflow when reading in large buffer
- * @requires (os.simpleArch == "x64" & os.maxMemory > 4g)
+ * @ignore This test has huge memory requirements
+ * @requires (sun.arch.data.model == "64" & os.maxMemory > 4g)
  * @run main/othervm -Xmx4g OverflowInRead
  */