< prev index next >
test/javax/smartcardio/TerminalFactorySpiTest.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2007, 2014, 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) 2007, 2017, 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.
*** 23,34 ****
/*
* @test
* @bug 8049021
* @summary Test if we can write new provider for smart card
! * @compile --add-modules=java.smartcardio TerminalFactorySpiTest.java
! * @run main/othervm/java.security.policy=policy --add-modules=java.smartcardio TerminalFactorySpiTest
*/
import java.security.Provider;
import java.security.Security;
import java.util.Arrays;
import javax.smartcardio.CardTerminals;
--- 23,33 ----
/*
* @test
* @bug 8049021
* @summary Test if we can write new provider for smart card
! * @run main/othervm/java.security.policy=policy TerminalFactorySpiTest
*/
import java.security.Provider;
import java.security.Security;
import java.util.Arrays;
import javax.smartcardio.CardTerminals;
< prev index next >