< prev index next >
jdk/test/java/net/SocketOption/UnsupportedOptionsTest.java
Print this page
*** 31,41 ****
* @test
* @bug 8143554 8044773
* @summary Test checks that UnsupportedOperationException for unsupported
* SOCKET_OPTIONS is thrown by both getOption() and setOption() methods.
* @run main UnsupportedOptionsTest
! * @run main/othervm -limitmods java.base UnsupportedOptionsTest
*/
public class UnsupportedOptionsTest {
private static final List<SocketOption<?>> socketOptions = new ArrayList<>();
--- 31,41 ----
* @test
* @bug 8143554 8044773
* @summary Test checks that UnsupportedOperationException for unsupported
* SOCKET_OPTIONS is thrown by both getOption() and setOption() methods.
* @run main UnsupportedOptionsTest
! * @run main/othervm --limit-modules=java.base UnsupportedOptionsTest
*/
public class UnsupportedOptionsTest {
private static final List<SocketOption<?>> socketOptions = new ArrayList<>();
< prev index next >