equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2016, 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. |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8020433 |
26 * @bug 8020433 |
27 * @summary Crash when using -XX:+RestoreMXCSROnJNICalls |
27 * @summary Crash when using -XX:+RestoreMXCSROnJNICalls |
28 * @library /testlibrary |
28 * @library /test/lib |
29 * @modules java.base/jdk.internal.misc |
29 * @modules java.base/jdk.internal.misc |
30 * java.management |
30 * java.management |
31 * |
31 * |
32 * @run driver compiler.cpuflags.RestoreMXCSR |
32 * @run driver compiler.cpuflags.RestoreMXCSR |
33 */ |
33 */ |
34 |
34 |
35 package compiler.cpuflags; |
35 package compiler.cpuflags; |
36 |
36 |
37 import jdk.test.lib.OutputAnalyzer; |
37 import jdk.test.lib.process.OutputAnalyzer; |
38 import jdk.test.lib.ProcessTools; |
38 import jdk.test.lib.process.ProcessTools; |
39 |
39 |
40 public class RestoreMXCSR { |
40 public class RestoreMXCSR { |
41 public static void main(String[] args) throws Exception { |
41 public static void main(String[] args) throws Exception { |
42 ProcessBuilder pb; |
42 ProcessBuilder pb; |
43 OutputAnalyzer out; |
43 OutputAnalyzer out; |