equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2007, 2017, 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. |
22 */ |
22 */ |
23 |
23 |
24 /* @test |
24 /* @test |
25 * @bug 4640544 8044773 |
25 * @bug 4640544 8044773 |
26 * @summary Unit test for setOption/getOption/options methods |
26 * @summary Unit test for setOption/getOption/options methods |
|
27 * @requires !vm.graal.enabled |
27 * @run main SocketOptionTests |
28 * @run main SocketOptionTests |
28 * @run main/othervm --limit-modules=java.base SocketOptionTests |
29 * @run main/othervm --limit-modules=java.base SocketOptionTests |
29 */ |
30 */ |
30 |
31 |
31 import java.nio.*; |
32 import java.nio.*; |