Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell11
提交
524bafb0
D
dragonwell11
项目概览
openanolis
/
dragonwell11
通知
7
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell11
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
524bafb0
编写于
3月 08, 2017
作者:
A
amlu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8167525: update jdk tests to remove @compile --add-modules workaround
Reviewed-by: mchung
上级
a8c1d828
变更
19
隐藏空白更改
内联
并排
Showing
19 changed file
with
20 addition
and
42 deletion
+20
-42
jdk/test/ProblemList.txt
jdk/test/ProblemList.txt
+0
-2
jdk/test/com/sun/jndi/dns/Parser.java
jdk/test/com/sun/jndi/dns/Parser.java
+0
-3
jdk/test/com/sun/jndi/dns/Test6991580.java
jdk/test/com/sun/jndi/dns/Test6991580.java
+1
-2
jdk/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java
...i/registry/RegistryContext/ContextWithNullProperties.java
+1
-2
jdk/test/java/beans/XMLDecoder/8028054/TestConstructorFinder.java
.../java/beans/XMLDecoder/8028054/TestConstructorFinder.java
+2
-2
jdk/test/java/beans/XMLDecoder/8028054/TestMethodFinder.java
jdk/test/java/beans/XMLDecoder/8028054/TestMethodFinder.java
+2
-2
jdk/test/java/lang/ClassLoader/platformClassLoader/DefinePlatformClass.java
.../ClassLoader/platformClassLoader/DefinePlatformClass.java
+1
-2
jdk/test/javax/smartcardio/CommandAPDUTest.java
jdk/test/javax/smartcardio/CommandAPDUTest.java
+2
-3
jdk/test/javax/smartcardio/HistoricalBytes.java
jdk/test/javax/smartcardio/HistoricalBytes.java
+1
-3
jdk/test/javax/smartcardio/ResponseAPDUTest.java
jdk/test/javax/smartcardio/ResponseAPDUTest.java
+2
-3
jdk/test/javax/smartcardio/Serialize.java
jdk/test/javax/smartcardio/Serialize.java
+1
-3
jdk/test/javax/smartcardio/TEST.properties
jdk/test/javax/smartcardio/TEST.properties
+1
-0
jdk/test/javax/smartcardio/TerminalFactorySpiTest.java
jdk/test/javax/smartcardio/TerminalFactorySpiTest.java
+2
-3
jdk/test/javax/smartcardio/TestCardPermission.java
jdk/test/javax/smartcardio/TestCardPermission.java
+1
-3
jdk/test/javax/smartcardio/TestCommandAPDU.java
jdk/test/javax/smartcardio/TestCommandAPDU.java
+1
-3
jdk/test/sun/security/ec/TestEC.java
jdk/test/sun/security/ec/TestEC.java
+0
-1
jdk/test/sun/security/mscapi/IsSunMSCAPIAvailable.java
jdk/test/sun/security/mscapi/IsSunMSCAPIAvailable.java
+1
-2
jdk/test/sun/security/pkcs11/ec/TestCurves.java
jdk/test/sun/security/pkcs11/ec/TestCurves.java
+0
-1
jdk/test/sun/security/provider/PolicyFile/Modules.java
jdk/test/sun/security/provider/PolicyFile/Modules.java
+1
-2
未找到文件。
jdk/test/ProblemList.txt
浏览文件 @
524bafb0
...
...
@@ -186,8 +186,6 @@ java/nio/file/WatchService/Basic.java 7158947 solaris-
java/nio/file/WatchService/MayFlies.java 7158947 solaris-all Solaris 11
java/nio/file/WatchService/LotsOfEvents.java 7158947 solaris-all Solaris 11
sun/nio/cs/OLD/TestIBMDB.java 8167525 generic-all
############################################################################
# jdk_rmi
...
...
jdk/test/com/sun/jndi/dns/Parser.java
浏览文件 @
524bafb0
...
...
@@ -26,9 +26,6 @@
* @bug 8035105
* @summary DNS resource record parsing
* @modules jdk.naming.dns/com.sun.jndi.dns:+open
*
* @compile --add-modules jdk.naming.dns Parser.java
* @run main Parser
*/
import
com.sun.jndi.dns.ResourceRecord
;
...
...
jdk/test/com/sun/jndi/dns/Test6991580.java
浏览文件 @
524bafb0
/*
* Copyright (c) 2015, 201
6
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 201
7
, 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
...
...
@@ -37,7 +37,6 @@ import java.awt.event.ActionListener;
* @summary IPv6 Nameservers in resolv.conf throws NumberFormatException
* @modules java.desktop
* jdk.naming.dns/com.sun.jndi.dns
* @compile --add-modules jdk.naming.dns IPv6NameserverPlatformParsingTest.java
* @run main/manual Test6991580
*/
...
...
jdk/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java
浏览文件 @
524bafb0
/*
* Copyright (c) 2010, 201
6
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 201
7
, 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
...
...
@@ -29,7 +29,6 @@
* java.rmi/sun.rmi.server java.rmi/sun.rmi.transport java.rmi/sun.rmi.transport.tcp
* @library ../../../../../../java/rmi/testlibrary
* @build TestLibrary
* @compile --add-modules jdk.naming.rmi ContextWithNullProperties.java
* @run main/othervm ContextWithNullProperties
*/
...
...
jdk/test/java/beans/XMLDecoder/8028054/TestConstructorFinder.java
浏览文件 @
524bafb0
/*
* Copyright (c) 2013, 201
6
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 201
7
, 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
...
...
@@ -39,7 +39,7 @@ import java.util.List;
* java.corba
* java.xml.bind
* @compile -XDignore.symbol.file TestConstructorFinder.java
* @run main
/othervm --add-modules=java.activation,java.transaction,java.corba,java.xml.bind
TestConstructorFinder
* @run main TestConstructorFinder
*/
public
class
TestConstructorFinder
{
...
...
jdk/test/java/beans/XMLDecoder/8028054/TestMethodFinder.java
浏览文件 @
524bafb0
/*
* Copyright (c) 2013, 201
6
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 201
7
, 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
...
...
@@ -39,7 +39,7 @@ import java.util.List;
* java.corba
* java.xml.bind
* @compile -XDignore.symbol.file TestMethodFinder.java
* @run main
/othervm --add-modules=java.activation,java.transaction,java.corba,java.xml.bind
TestMethodFinder
* @run main TestMethodFinder
*/
public
class
TestMethodFinder
{
...
...
jdk/test/java/lang/ClassLoader/platformClassLoader/DefinePlatformClass.java
浏览文件 @
524bafb0
/*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016,
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
...
...
@@ -26,7 +26,6 @@
* @summary Test java.* class defined by the platform class loader
* @modules jdk.zipfs/java.fake
* @build jdk.zipfs/java.fake.Fake
* @compile --add-modules jdk.zipfs DefinePlatformClass.java
* @run main DefinePlatformClass
*/
...
...
jdk/test/javax/smartcardio/CommandAPDUTest.java
浏览文件 @
524bafb0
/*
* Copyright (c) 2007, 201
4
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 201
7
, 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
...
...
@@ -26,8 +26,7 @@
* @bug 8049021
* @summary Test different constructors for CommandAPDU and check CLA,INS,NC,NE,
* P1,and P2
* @compile --add-modules=java.smartcardio CommandAPDUTest.java
* @run testng/othervm --add-modules=java.smartcardio CommandAPDUTest
* @run testng CommandAPDUTest
*/
import
java.nio.ByteBuffer
;
import
javax.smartcardio.CommandAPDU
;
...
...
jdk/test/javax/smartcardio/HistoricalBytes.java
浏览文件 @
524bafb0
/*
* Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2006,
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
...
...
@@ -26,8 +26,6 @@
* @bug 6445367
* @summary Verify that ATR.getHistoricalBytes() works
* @author Andreas Sterbenz
* @compile --add-modules=java.smartcardio HistoricalBytes.java
* @run main/othervm --add-modules=java.smartcardio HistoricalBytes
*/
import
java.util.Arrays
;
...
...
jdk/test/javax/smartcardio/ResponseAPDUTest.java
浏览文件 @
524bafb0
/*
* Copyright (c) 2007, 201
4
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 201
7
, 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
...
...
@@ -25,8 +25,7 @@
* @test
* @bug 8049021
* @summary Construct ResponseAPDU from byte array and check NR< SW, SW1 and SW2
* @compile --add-modules=java.smartcardio ResponseAPDUTest.java
* @run testng/othervm --add-modules=java.smartcardio ResponseAPDUTest
* @run testng ResponseAPDUTest
*/
import
javax.smartcardio.ResponseAPDU
;
import
static
org
.
testng
.
Assert
.*;
...
...
jdk/test/javax/smartcardio/Serialize.java
浏览文件 @
524bafb0
/*
* Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2006,
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
...
...
@@ -26,8 +26,6 @@
* @bug 6445367
* @summary make sure serialization works
* @author Andreas Sterbenz
* @compile --add-modules=java.smartcardio Serialize.java
* @run main/othervm --add-modules=java.smartcardio Serialize
*/
import
java.io.*
;
...
...
jdk/test/javax/smartcardio/TEST.properties
0 → 100644
浏览文件 @
524bafb0
modules
=
java.smartcardio
jdk/test/javax/smartcardio/TerminalFactorySpiTest.java
浏览文件 @
524bafb0
/*
* Copyright (c) 2007, 201
4
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 201
7
, 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
...
...
@@ -25,8 +25,7 @@
* @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
* @run main/othervm/java.security.policy=policy TerminalFactorySpiTest
*/
import
java.security.Provider
;
import
java.security.Security
;
...
...
jdk/test/javax/smartcardio/TestCardPermission.java
浏览文件 @
524bafb0
/*
* Copyright (c) 2005, 201
6
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 201
7
, 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
...
...
@@ -26,8 +26,6 @@
* @bug 6293767 6469513
* @summary Test for the CardPermission class
* @author Andreas Sterbenz
* @compile --add-modules=java.smartcardio TestCardPermission.java
* @run main/othervm --add-modules=java.smartcardio TestCardPermission
*/
import
javax.smartcardio.*
;
...
...
jdk/test/javax/smartcardio/TestCommandAPDU.java
浏览文件 @
524bafb0
/*
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005,
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
...
...
@@ -27,8 +27,6 @@
* @summary Test for the CommandAPDU class
* @author Andreas Sterbenz
* @key randomness
* @compile --add-modules=java.smartcardio TestCommandAPDU.java
* @run main/othervm --add-modules=java.smartcardio TestCommandAPDU
*/
import
java.util.*
;
...
...
jdk/test/sun/security/ec/TestEC.java
浏览文件 @
524bafb0
...
...
@@ -35,7 +35,6 @@
* @library ../pkcs11/sslecc
* @library ../../../java/security/testlibrary
* @modules jdk.crypto.cryptoki/sun.security.pkcs11.wrapper
* @compile --add-modules jdk.crypto.cryptoki TestEC.java
* @run main/othervm -Djdk.tls.namedGroups="secp256r1,sect193r1" TestEC
* @run main/othervm/java.security.policy=TestEC.policy -Djdk.tls.namedGroups="secp256r1,sect193r1" TestEC
*/
...
...
jdk/test/sun/security/mscapi/IsSunMSCAPIAvailable.java
浏览文件 @
524bafb0
/*
* Copyright (c) 2005, 201
5
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 201
7
, 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
...
...
@@ -26,7 +26,6 @@
* @bug 6318171 6931562
* @requires os.family == "windows"
* @modules jdk.crypto.mscapi/sun.security.mscapi
* @compile --add-modules jdk.crypto.mscapi IsSunMSCAPIAvailable.java
* @run main/othervm IsSunMSCAPIAvailable
*/
...
...
jdk/test/sun/security/pkcs11/ec/TestCurves.java
浏览文件 @
524bafb0
...
...
@@ -28,7 +28,6 @@
* @author Andreas Sterbenz
* @library ..
* @modules jdk.crypto.cryptoki/sun.security.pkcs11.wrapper
* @compile --add-modules jdk.crypto.cryptoki TestCurves.java
* @run main/othervm TestCurves
* @run main/othervm TestCurves sm
* @key randomness
...
...
jdk/test/sun/security/provider/PolicyFile/Modules.java
浏览文件 @
524bafb0
/*
* Copyright (c) 2015, 201
6
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 201
7
, 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
...
...
@@ -39,7 +39,6 @@
* jdk.net
* jdk.security.auth
* jdk.security.jgss
* @compile --add-modules=java.xml.ws,java.smartcardio Modules.java
* @run main/othervm/java.security.policy==modules.policy Modules
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录