equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
54 try { |
54 try { |
55 boolean addTestVMOptions = true; |
55 boolean addTestVMOptions = true; |
56 CommandLineOptionTest.verifyJVMStartup(EXPECTED_MESSAGES, |
56 CommandLineOptionTest.verifyJVMStartup(EXPECTED_MESSAGES, |
57 UNEXPECTED_MESSAGES, "Unexpected exit code", |
57 UNEXPECTED_MESSAGES, "Unexpected exit code", |
58 "Unexpected output", ExitCode.OK, addTestVMOptions, |
58 "Unexpected output", ExitCode.OK, addTestVMOptions, |
59 "-XX:-UseAOT", "-XX:+PrintAOT", |
59 "-XX:+UnlockExperimentalVMOptions", "-XX:-UseAOT", "-XX:+PrintAOT", |
60 "-XX:AOTLibrary=./" + LIB_NAME, |
60 "-XX:AOTLibrary=./" + LIB_NAME, |
61 HelloWorldPrinter.class.getName()); |
61 HelloWorldPrinter.class.getName()); |
62 } catch (Throwable t) { |
62 } catch (Throwable t) { |
63 throw new Error("Problems executing test " + t, t); |
63 throw new Error("Problems executing test " + t, t); |
64 } |
64 } |