JDK 9 RFR of JDK-8136506: Include sun.arch.data.model as a property that can be queried by jtreg

Joseph D. Darcy joe.darcy at oracle.com
Tue Sep 15 00:30:01 UTC 2015


Hello,

Please review the patch below for

     JDK-8136506: Include sun.arch.data.model as a property that can be 
queried by jtreg

The jtreg TEST.ROOT file in the HotSpot repository puts

sun.arch.data.model

on the list of properties which can be queried by an @requires clause in 
jtreg. This property lets one determine if a jdk/jre is 32-bits or 64-bits.

It would be convenient and consistent for this property to be available 
to be queried by tests in the jdk repo too.

Thanks,

-Joe

diff -r 64827b676968 test/TEST.ROOT
--- a/test/TEST.ROOT    Mon Sep 14 19:54:58 2015 +0300
+++ b/test/TEST.ROOT    Mon Sep 14 17:24:52 2015 -0700
@@ -23,5 +23,8 @@
  # Group definitions
  groups=TEST.groups [closed/TEST.groups]

+# Allow querying of sun.arch.data.model in @requires clauses
+requires.properties=sun.arch.data.model
+
  # Tests using jtreg 4.1 b11 features
  requiredVersion=4.1 b11




More information about the core-libs-dev mailing list