diff -r 08f642d9214f -r e0a340f4ab6e hotspot/test/runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java --- a/hotspot/test/runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java Thu Oct 15 17:35:42 2015 +0200 +++ b/hotspot/test/runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java Thu Oct 15 13:34:21 2015 -0500 @@ -52,6 +52,18 @@ allOptionsAsMap.remove("CICompilerCount"); /* + * JDK-8136766 + * Temporarily remove ThreadStackSize from testing because Windows can set it to 0 + * (for default OS size) but other platforms insist it must be greater than 0 + */ + allOptionsAsMap.remove("ThreadStackSize"); + + /* + * Exclude MallocMaxTestWords as it is expected to exit VM at small values (>=0) + */ + allOptionsAsMap.remove("MallocMaxTestWords"); + + /* * Exclude below options as their maximum value would consume too much memory * and would affect other tests that run in parallel. */