< prev index next >

test/runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 73,83 **** public static void main(String[] args) throws Exception { int failedTests; List<JVMOption> allOptions; ! allOptionsAsMap = JVMOptionsUtils.getOptionsWithRangeAsMap(); /* Shared flags can cause JVM to exit with error code 2 */ setAllowedExitCodes("SharedReadWriteSize", 2); setAllowedExitCodes("SharedReadOnlySize", 2); setAllowedExitCodes("SharedMiscDataSize", 2); --- 73,83 ---- public static void main(String[] args) throws Exception { int failedTests; List<JVMOption> allOptions; ! allOptionsAsMap = JVMOptionsUtils.getOptionsWithRangeAsMap(origin -> (!(origin.contains("develop") || origin.contains("notproduct")))); /* Shared flags can cause JVM to exit with error code 2 */ setAllowedExitCodes("SharedReadWriteSize", 2); setAllowedExitCodes("SharedReadOnlySize", 2); setAllowedExitCodes("SharedMiscDataSize", 2);
< prev index next >