changeset 15360:997eb92cd683

8163877: Tests added in JDK-8163518 fail on some platforms Reviewed-by: darcy
author igerasim
date Thu, 11 Aug 2016 23:41:48 +0300
parents 4524cf0ad135
children 8559f6e0a25d
files test/java/io/CharArrayReader/OverflowInRead.java test/java/io/StringBufferInputStream/OverflowInRead.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/io/CharArrayReader/OverflowInRead.java	Thu Aug 11 17:02:46 2016 +0000
+++ b/test/java/io/CharArrayReader/OverflowInRead.java	Thu Aug 11 23:41:48 2016 +0300
@@ -24,7 +24,7 @@
 /* @test
  * @bug 8163518
  * @summary Integer overflow when reading in large buffer
- * @requires (os.simpleArch == "x64" & os.maxMemory > 8g)
+ * @requires (sun.arch.data.model == "64" & os.maxMemory > 8g)
  * @run main/othervm -Xmx8g OverflowInRead
  */
 
--- a/test/java/io/StringBufferInputStream/OverflowInRead.java	Thu Aug 11 17:02:46 2016 +0000
+++ b/test/java/io/StringBufferInputStream/OverflowInRead.java	Thu Aug 11 23:41:48 2016 +0300
@@ -24,7 +24,7 @@
 /* @test
  * @bug 8163518
  * @summary Integer overflow when reading in large buffer
- * @requires (os.simpleArch == "x64" & os.maxMemory > 4g)
+ * @requires (sun.arch.data.model == "64" & os.maxMemory > 4g)
  * @run main/othervm -Xmx4g OverflowInRead
  */