--- a/jdk/test/java/io/CharArrayReader/OverflowInRead.java Thu Aug 11 17:02:46 2016 +0000
+++ b/jdk/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/jdk/test/java/io/StringBufferInputStream/OverflowInRead.java Thu Aug 11 17:02:46 2016 +0000
+++ b/jdk/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
*/