Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
fe0a582b
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
fe0a582b
编写于
12月 04, 2009
作者:
A
asaha
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
2ddfb21a
d9038e38
变更
118
展开全部
隐藏空白更改
内联
并排
Showing
118 changed file
with
116 addition
and
216 deletion
+116
-216
make/java/java/Makefile
make/java/java/Makefile
+1
-1
make/java/java/genlocales.gmk
make/java/java/genlocales.gmk
+1
-1
make/java/java/localegen.sh
make/java/java/localegen.sh
+1
-1
make/java/nio/Makefile
make/java/nio/Makefile
+1
-1
make/netbeans/README
make/netbeans/README
+1
-1
make/sun/nio/Makefile
make/sun/nio/Makefile
+3
-1
make/tools/CharsetMapping/DoubleByte-X.java.template
make/tools/CharsetMapping/DoubleByte-X.java.template
+0
-0
make/tools/CharsetMapping/SingleByte-X.java.template
make/tools/CharsetMapping/SingleByte-X.java.template
+0
-0
make/tools/src/build/tools/charsetmapping/GenerateDBCS.java
make/tools/src/build/tools/charsetmapping/GenerateDBCS.java
+1
-1
make/tools/src/build/tools/charsetmapping/GenerateSBCS.java
make/tools/src/build/tools/charsetmapping/GenerateSBCS.java
+1
-1
src/share/classes/sun/util/CoreResourceBundleControl-XLocales.java.template
...sun/util/CoreResourceBundleControl-XLocales.java.template
+0
-0
src/share/classes/sun/util/LocaleDataMetaInfo-XLocales.java.template
...lasses/sun/util/LocaleDataMetaInfo-XLocales.java.template
+0
-0
test/Makefile
test/Makefile
+21
-6
test/ProblemList.txt
test/ProblemList.txt
+8
-0
test/com/sun/jdi/BadHandshakeTest.java
test/com/sun/jdi/BadHandshakeTest.java
+3
-2
test/com/sun/jdi/DoubleAgentTest.java
test/com/sun/jdi/DoubleAgentTest.java
+3
-2
test/com/sun/jdi/ExclusiveBind.java
test/com/sun/jdi/ExclusiveBind.java
+3
-2
test/com/sun/jdi/RunToExit.java
test/com/sun/jdi/RunToExit.java
+3
-2
test/com/sun/jdi/connect/spi/SimpleLaunchingConnector.java
test/com/sun/jdi/connect/spi/SimpleLaunchingConnector.java
+3
-2
test/demo/jvmti/hprof/CpuOldTest.java
test/demo/jvmti/hprof/CpuOldTest.java
+1
-1
test/demo/jvmti/hprof/CpuSamplesTest.java
test/demo/jvmti/hprof/CpuSamplesTest.java
+1
-1
test/demo/jvmti/hprof/CpuTimesDefineClassTest.java
test/demo/jvmti/hprof/CpuTimesDefineClassTest.java
+1
-1
test/demo/jvmti/hprof/CpuTimesTest.java
test/demo/jvmti/hprof/CpuTimesTest.java
+1
-1
test/demo/jvmti/hprof/HeapAllTest.java
test/demo/jvmti/hprof/HeapAllTest.java
+1
-1
test/demo/jvmti/hprof/HeapBinaryFormatTest.java
test/demo/jvmti/hprof/HeapBinaryFormatTest.java
+1
-1
test/demo/jvmti/hprof/HeapDumpTest.java
test/demo/jvmti/hprof/HeapDumpTest.java
+1
-1
test/demo/jvmti/hprof/HeapSitesTest.java
test/demo/jvmti/hprof/HeapSitesTest.java
+1
-1
test/demo/jvmti/hprof/OptionsTest.java
test/demo/jvmti/hprof/OptionsTest.java
+1
-1
test/java/io/Serializable/enum/array/Test.java
test/java/io/Serializable/enum/array/Test.java
+0
-3
test/java/io/Serializable/enum/badResolve/Write.java
test/java/io/Serializable/enum/badResolve/Write.java
+2
-2
test/java/io/Serializable/enum/basic/Test.java
test/java/io/Serializable/enum/basic/Test.java
+0
-3
test/java/io/Serializable/enum/classObject/Test.java
test/java/io/Serializable/enum/classObject/Test.java
+0
-3
test/java/io/Serializable/enum/constantSubclasses/Write.java
test/java/io/Serializable/enum/constantSubclasses/Write.java
+2
-2
test/java/io/Serializable/enum/ignoreSerializationFields/Test.java
.../io/Serializable/enum/ignoreSerializationFields/Test.java
+0
-3
test/java/io/Serializable/enum/ignoreSerializationMethods/Test.java
...io/Serializable/enum/ignoreSerializationMethods/Test.java
+0
-3
test/java/io/Serializable/enum/mismatchedTypecode/Test.java
test/java/io/Serializable/enum/mismatchedTypecode/Test.java
+0
-3
test/java/io/Serializable/enum/missingConstant/Write.java
test/java/io/Serializable/enum/missingConstant/Write.java
+2
-2
test/java/io/Serializable/enum/unshared/Test.java
test/java/io/Serializable/enum/unshared/Test.java
+0
-3
test/java/lang/Boolean/MakeBooleanComparable.java
test/java/lang/Boolean/MakeBooleanComparable.java
+0
-3
test/java/lang/Class/Cast.java
test/java/lang/Class/Cast.java
+0
-3
test/java/lang/Class/IsEnum.java
test/java/lang/Class/IsEnum.java
+0
-2
test/java/lang/Class/asSubclass/BasicUnit.java
test/java/lang/Class/asSubclass/BasicUnit.java
+1
-1
test/java/lang/ClassLoader/Assert.sh
test/java/lang/ClassLoader/Assert.sh
+1
-1
test/java/lang/Integer/BitTwiddle.java
test/java/lang/Integer/BitTwiddle.java
+0
-3
test/java/lang/Long/BitTwiddle.java
test/java/lang/Long/BitTwiddle.java
+0
-3
test/java/lang/Math/Atan2Tests.java
test/java/lang/Math/Atan2Tests.java
+0
-2
test/java/lang/Math/IeeeRecommendedTests.java
test/java/lang/Math/IeeeRecommendedTests.java
+0
-2
test/java/lang/Math/PowTests.java
test/java/lang/Math/PowTests.java
+0
-2
test/java/lang/Math/TanTests.java
test/java/lang/Math/TanTests.java
+0
-2
test/java/lang/Runtime/exec/WinCommand.java
test/java/lang/Runtime/exec/WinCommand.java
+0
-3
test/java/lang/Thread/GenerifyStackTraces.java
test/java/lang/Thread/GenerifyStackTraces.java
+0
-3
test/java/lang/Thread/UncaughtExceptions.sh
test/java/lang/Thread/UncaughtExceptions.sh
+1
-1
test/java/lang/annotation/UnitTest.java
test/java/lang/annotation/UnitTest.java
+0
-2
test/java/lang/annotation/package-info.java
test/java/lang/annotation/package-info.java
+1
-1
test/java/lang/management/CompositeData/MemoryNotifInfoCompositeData.java
...anagement/CompositeData/MemoryNotifInfoCompositeData.java
+1
-1
test/java/lang/management/CompositeData/ThreadInfoCompositeData.java
...ang/management/CompositeData/ThreadInfoCompositeData.java
+1
-1
test/java/lang/management/ManagementFactory/MXBeanProxyTest.java
...va/lang/management/ManagementFactory/MXBeanProxyTest.java
+0
-3
test/java/lang/management/ManagementFactory/PlatformMBeanServerTest.java
...management/ManagementFactory/PlatformMBeanServerTest.java
+0
-3
test/java/lang/management/ManagementFactory/ProxyExceptions.java
...va/lang/management/ManagementFactory/ProxyExceptions.java
+0
-3
test/java/lang/management/ManagementFactory/ProxyTypeMapping.java
...a/lang/management/ManagementFactory/ProxyTypeMapping.java
+1
-1
test/java/lang/management/ManagementFactory/ValidateOpenTypes.java
.../lang/management/ManagementFactory/ValidateOpenTypes.java
+1
-1
test/java/lang/management/RuntimeMXBean/GetSystemProperties.java
...va/lang/management/RuntimeMXBean/GetSystemProperties.java
+0
-3
test/java/lang/management/RuntimeMXBean/TestInputArgument.sh
test/java/lang/management/RuntimeMXBean/TestInputArgument.sh
+1
-1
test/java/lang/reflect/Constructor/GenericStringTest.java
test/java/lang/reflect/Constructor/GenericStringTest.java
+0
-2
test/java/lang/reflect/Field/GenericStringTest.java
test/java/lang/reflect/Field/GenericStringTest.java
+0
-2
test/java/lang/reflect/Generics/StringsAndBounds.java
test/java/lang/reflect/Generics/StringsAndBounds.java
+0
-2
test/java/lang/reflect/Generics/TestC1.java
test/java/lang/reflect/Generics/TestC1.java
+1
-1
test/java/lang/reflect/Generics/TestC2.java
test/java/lang/reflect/Generics/TestC2.java
+1
-1
test/java/lang/reflect/Generics/TestN1.java
test/java/lang/reflect/Generics/TestN1.java
+1
-1
test/java/lang/reflect/Generics/exceptionCauseTest.java
test/java/lang/reflect/Generics/exceptionCauseTest.java
+0
-2
test/java/lang/reflect/Generics/getAnnotationTest.java
test/java/lang/reflect/Generics/getAnnotationTest.java
+0
-2
test/java/lang/reflect/Method/Equals.java
test/java/lang/reflect/Method/Equals.java
+1
-1
test/java/lang/reflect/Method/GenericStringTest.java
test/java/lang/reflect/Method/GenericStringTest.java
+0
-2
test/java/math/BigDecimal/DivideTests.java
test/java/math/BigDecimal/DivideTests.java
+0
-2
test/java/math/BigDecimal/IntegralDivisionTests.java
test/java/math/BigDecimal/IntegralDivisionTests.java
+0
-2
test/java/math/BigDecimal/PowTests.java
test/java/math/BigDecimal/PowTests.java
+0
-2
test/java/math/BigDecimal/ToPlainStringTests.java
test/java/math/BigDecimal/ToPlainStringTests.java
+0
-2
test/java/math/BigDecimal/ZeroScalingTests.java
test/java/math/BigDecimal/ZeroScalingTests.java
+0
-2
test/java/math/RoundingMode/RoundingModeTests.java
test/java/math/RoundingMode/RoundingModeTests.java
+0
-2
test/java/net/ProxySelector/ProxyTest.java
test/java/net/ProxySelector/ProxyTest.java
+1
-1
test/java/net/URL/PerConnectionProxy.java
test/java/net/URL/PerConnectionProxy.java
+1
-1
test/java/security/cert/PKIXBuilderParameters/InvalidParameters.java
...ecurity/cert/PKIXBuilderParameters/InvalidParameters.java
+1
-1
test/java/security/cert/PKIXParameters/InvalidParameters.java
.../java/security/cert/PKIXParameters/InvalidParameters.java
+1
-1
test/java/util/AbstractList/CheckForComodification.java
test/java/util/AbstractList/CheckForComodification.java
+0
-2
test/java/util/Collections/AddAll.java
test/java/util/Collections/AddAll.java
+0
-3
test/java/util/Collections/Disjoint.java
test/java/util/Collections/Disjoint.java
+0
-3
test/java/util/Collections/Frequency.java
test/java/util/Collections/Frequency.java
+0
-3
test/java/util/EnumMap/EnumMapBash.java
test/java/util/EnumMap/EnumMapBash.java
+0
-3
test/java/util/EnumSet/AllOf.java
test/java/util/EnumSet/AllOf.java
+0
-3
test/java/util/EnumSet/ComplementOf.java
test/java/util/EnumSet/ComplementOf.java
+0
-3
test/java/util/EnumSet/EnumSetBash.java
test/java/util/EnumSet/EnumSetBash.java
+0
-3
test/java/util/EnumSet/JumboRange.java
test/java/util/EnumSet/JumboRange.java
+0
-3
test/java/util/EnumSet/Range.java
test/java/util/EnumSet/Range.java
+0
-3
test/java/util/Formattable/StockName.java
test/java/util/Formattable/StockName.java
+1
-3
test/java/util/Formatter/Basic-X.java.template
test/java/util/Formatter/Basic-X.java.template
+0
-0
test/java/util/Formatter/genBasic.sh
test/java/util/Formatter/genBasic.sh
+3
-3
test/java/util/IdentityHashMap/ToString.java
test/java/util/IdentityHashMap/ToString.java
+0
-3
test/java/util/Locale/Bug4175998Test.java
test/java/util/Locale/Bug4175998Test.java
+1
-1
test/java/util/UUID/UUIDTest.java
test/java/util/UUID/UUIDTest.java
+0
-2
test/java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java
...current/BlockingQueue/CancelledProducerConsumerLoops.java
+1
-1
test/java/util/concurrent/BlockingQueue/MultipleProducersSingleConsumerLoops.java
...t/BlockingQueue/MultipleProducersSingleConsumerLoops.java
+1
-1
test/java/util/concurrent/BlockingQueue/ProducerConsumerLoops.java
.../util/concurrent/BlockingQueue/ProducerConsumerLoops.java
+1
-1
test/java/util/concurrent/BlockingQueue/SingleProducerMultipleConsumerLoops.java
...nt/BlockingQueue/SingleProducerMultipleConsumerLoops.java
+1
-1
test/java/util/concurrent/ConcurrentHashMap/MapCheck.java
test/java/util/concurrent/ConcurrentHashMap/MapCheck.java
+1
-1
test/java/util/concurrent/ConcurrentHashMap/MapLoops.java
test/java/util/concurrent/ConcurrentHashMap/MapLoops.java
+1
-1
test/java/util/concurrent/Exchanger/ExchangeLoops.java
test/java/util/concurrent/Exchanger/ExchangeLoops.java
+1
-1
test/java/util/concurrent/ExecutorCompletionService/ExecutorCompletionServiceLoops.java
...utorCompletionService/ExecutorCompletionServiceLoops.java
+1
-1
test/java/util/concurrent/FutureTask/CancelledFutureLoops.java
...java/util/concurrent/FutureTask/CancelledFutureLoops.java
+1
-1
test/java/util/concurrent/atomic/VMSupportsCS8.java
test/java/util/concurrent/atomic/VMSupportsCS8.java
+0
-2
test/java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java
...il/concurrent/locks/ReentrantLock/CancelledLockLoops.java
+1
-1
test/java/util/concurrent/locks/ReentrantLock/LockOncePerThreadLoops.java
...oncurrent/locks/ReentrantLock/LockOncePerThreadLoops.java
+1
-1
test/java/util/concurrent/locks/ReentrantLock/SimpleReentrantLockLoops.java
...current/locks/ReentrantLock/SimpleReentrantLockLoops.java
+1
-1
test/java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java
...util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java
+0
-2
test/java/util/concurrent/locks/ReentrantReadWriteLock/MapLoops.java
...til/concurrent/locks/ReentrantReadWriteLock/MapLoops.java
+1
-1
test/sun/management/AgentCheckTest.java
test/sun/management/AgentCheckTest.java
+0
-3
test/sun/security/krb5/auto/SSL.java
test/sun/security/krb5/auto/SSL.java
+10
-10
test/sun/security/util/Oid/S11N.sh
test/sun/security/util/Oid/S11N.sh
+1
-1
test/sun/tools/jconsole/ResourceCheckTest.sh
test/sun/tools/jconsole/ResourceCheckTest.sh
+1
-1
未找到文件。
make/java/java/Makefile
浏览文件 @
fe0a582b
...
...
@@ -390,7 +390,7 @@ clean::
LOCALES_GEN_SH
=
localelist.sh
$(GENSRCDIR)/sun/util/CoreResourceBundleControl.java
:
\
$(SHARE_SRC)/classes/sun/util/CoreResourceBundleControl-XLocales.java $(LOCALES_GEN_SH)
$(SHARE_SRC)/classes/sun/util/CoreResourceBundleControl-XLocales.java
.template
$(LOCALES_GEN_SH)
@
$
(
prep-target
)
NAWK
=
"
$(NAWK)
"
SED
=
"
$(SED)
"
$(SH)
$(LOCALES_GEN_SH)
"
$(JRE_NONEXIST_LOCALES)
"
\
$<
$@
...
...
make/java/java/genlocales.gmk
浏览文件 @
fe0a582b
...
...
@@ -68,7 +68,7 @@ NonEuro_Resources_properties := $(FILES_compiled_properties)
FILES_java := $(FILES_java_orig)
FILES_compiled_properties := $(FILES_compiled_properties_orig)
LocaleDataMetaInfo_Src=$(SHARE_SRC)/classes/sun/util/LocaleDataMetaInfo-XLocales.java
LocaleDataMetaInfo_Src=$(SHARE_SRC)/classes/sun/util/LocaleDataMetaInfo-XLocales.java
.template
LocaleDataMetaInfo_Dest=$(GENSRCDIR)/sun/util/LocaleDataMetaInfo.java
LOCALEGEN_SH=localegen.sh
RESOURCE_NAMES="FormatData CollationData TimeZoneNames LocaleNames CurrencyNames CalendarData"
...
...
make/java/java/localegen.sh
浏览文件 @
fe0a582b
...
...
@@ -27,7 +27,7 @@
#
# This script is to generate the supported locale list string and replace the
# LocaleDataMetaInfo-XLocales.java in <ws>/src/share/classes/sun/util
# LocaleDataMetaInfo-XLocales.java
.template
in <ws>/src/share/classes/sun/util
#
# SORT, NAWK & SED is passed in as environment variables.
#
...
...
make/java/nio/Makefile
浏览文件 @
fe0a582b
...
...
@@ -834,7 +834,7 @@ $(SCH_GEN)/SocketOptionRegistry.java: $(GENSOR_EXE)
GENCSSRC
=
$(BUILDDIR)
/tools/CharsetMapping
CHARSETMAPPING_JARFILE
=
$(BUILDTOOLJARDIR)
/charsetmapping.jar
$(FILES_gensbcs_out)
:
$(GENCSSRC)/SingleByte-X.java $(GENCSSRC)/sbcs
$(FILES_gensbcs_out)
:
$(GENCSSRC)/SingleByte-X.java
.template
$(GENCSSRC)/sbcs
@
$
(
prep-target
)
$(BOOT_JAVA_CMD)
-jar
$(CHARSETMAPPING_JARFILE)
$(GENCSSRC)
$(SCS_GEN)
sbcs
...
...
make/netbeans/README
浏览文件 @
fe0a582b
...
...
@@ -411,7 +411,7 @@ Creating your own NetBeans project
java/util/regex/,\
java/util/spi/,\
java/util/zip/,\
**/*-XLocales.java
**/*-XLocales.java
.template
jtreg.tests=\
java/util/**/*Collection/ \
java/util/**/*Map/ \
...
...
make/sun/nio/Makefile
浏览文件 @
fe0a582b
...
...
@@ -82,7 +82,9 @@ $(FILES_DAT): $(FILES_MAP)
$(FILES_MAP)
$(FILES_DAT)
sjis0213
$(FILES_genout_extcs)
:
$(GENCSDATASRC)/SingleByte-X.java $(GENCSDATASRC)/DoubleByte-X.java
\
$(FILES_genout_extcs)
:
\
$(GENCSDATASRC)/SingleByte-X.java.template
\
$(GENCSDATASRC)/DoubleByte-X.java.template
\
$(GENCSDATASRC)/extsbcs $(GENCSDATASRC)/dbcs
@
$
(
prep-target
)
$(RM)
-r
$(GENCSEXT)
...
...
make/tools/CharsetMapping/DoubleByte-X.java
→
make/tools/CharsetMapping/DoubleByte-X.java
.template
浏览文件 @
fe0a582b
文件已移动
make/tools/CharsetMapping/SingleByte-X.java
→
make/tools/CharsetMapping/SingleByte-X.java
.template
浏览文件 @
fe0a582b
文件已移动
make/tools/src/build/tools/charsetmapping/GenerateDBCS.java
浏览文件 @
fe0a582b
...
...
@@ -63,7 +63,7 @@ public class GenerateDBCS {
int
b2Min
=
toInteger
(
fields
[
8
]);
int
b2Max
=
toInteger
(
fields
[
9
]);
System
.
out
.
printf
(
"%s,%s,%s,%b,%s%n"
,
clzName
,
csName
,
hisName
,
isASCII
,
pkgName
);
genClass
(
args
[
0
],
args
[
1
],
"DoubleByte-X.java"
,
genClass
(
args
[
0
],
args
[
1
],
"DoubleByte-X.java
.template
"
,
clzName
,
csName
,
hisName
,
pkgName
,
isASCII
,
type
,
b1Min
,
b1Max
,
b2Min
,
b2Max
);
...
...
make/tools/src/build/tools/charsetmapping/GenerateSBCS.java
浏览文件 @
fe0a582b
...
...
@@ -55,7 +55,7 @@ public class GenerateSBCS {
String
pkgName
=
fields
[
4
];
System
.
out
.
printf
(
"%s,%s,%s,%b,%s%n"
,
clzName
,
csName
,
hisName
,
isASCII
,
pkgName
);
genClass
(
args
[
0
],
args
[
1
],
"SingleByte-X.java"
,
genClass
(
args
[
0
],
args
[
1
],
"SingleByte-X.java
.template
"
,
clzName
,
csName
,
hisName
,
pkgName
,
isASCII
);
}
}
...
...
src/share/classes/sun/util/CoreResourceBundleControl-XLocales.java
→
src/share/classes/sun/util/CoreResourceBundleControl-XLocales.java
.template
浏览文件 @
fe0a582b
文件已移动
src/share/classes/sun/util/LocaleDataMetaInfo-XLocales.java
→
src/share/classes/sun/util/LocaleDataMetaInfo-XLocales.java
.template
浏览文件 @
fe0a582b
文件已移动
test/Makefile
浏览文件 @
fe0a582b
...
...
@@ -282,11 +282,23 @@ STATS_TXT = $(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)")/$(STATS_TXT_NAME)
RUNLIST
=
$(
shell
$(GETMIXEDPATH)
"
$(ABS_TEST_OUTPUT_DIR)
"
)
/runlist.txt
PASSLIST
=
$(
shell
$(GETMIXEDPATH)
"
$(ABS_TEST_OUTPUT_DIR)
"
)
/passlist.txt
FAILLIST
=
$(
shell
$(GETMIXEDPATH)
"
$(ABS_TEST_OUTPUT_DIR)
"
)
/faillist.txt
EXITCODE
=
$(
shell
$(GETMIXEDPATH)
"
$(ABS_TEST_OUTPUT_DIR)
"
)
/exitcode.txt
TESTEXIT
=
\
if
[
!
-s
$(EXITCODE)
]
;
then
\
$(ECHO)
"ERROR: EXITCODE file not filled in."
;
\
$(ECHO)
"1"
>
$(EXITCODE)
;
\
fi
;
\
testExitCode
=
`
$(CAT)
$(EXITCODE)
`
;
\
$(ECHO)
"EXIT CODE:
$
${testExitCode}
"
;
\
exit
${testExitCode}
BUNDLE_UP_AND_EXIT
=
\
(
\
e
xitCode
=
$$
?
&&
\
jtregE
xitCode
=
$$
?
&&
\
_summary
=
"
$(SUMMARY_TXT)
"
;
\
$(RM)
-f
$(STATS_TXT)
$(RUNLIST)
$(PASSLIST)
$(FAILLIST)
;
\
$(RM)
-f
$(STATS_TXT)
$(RUNLIST)
$(PASSLIST)
$(FAILLIST)
$(EXITCODE)
;
\
$(ECHO)
"
$
${jtregExitCode}
"
>
$(EXITCODE)
;
\
if
[
-r
"
$
${_summary}
"
]
;
then
\
$(ECHO)
"Summary:
$
${_summary}
"
>
$(STATS_TXT)
;
\
$(EXPAND)
$
${_summary}
|
$(EGREP)
-v
' Not run\.'
>
$(RUNLIST)
;
\
...
...
@@ -297,10 +309,13 @@ BUNDLE_UP_AND_EXIT = \
$(EGREP)
' Error\.'
$(RUNLIST)
;
\
$(EGREP)
-v
' Passed\.'
$(RUNLIST)
)
\
|
$(SORT)
|
$(UNIQ)
>
$(FAILLIST)
;
\
if
[
$
${
e
xitCode}
!=
0
-o
-s
$(FAILLIST)
]
;
then
\
if
[
$
${
jtregE
xitCode}
!=
0
-o
-s
$(FAILLIST)
]
;
then
\
$(EXPAND)
$(FAILLIST)
\
|
$(CUT)
-d
' '
-f1
\
|
$(SED)
-e
's@^@FAILED: @'
>>
$(STATS_TXT)
;
\
if
[
$
${jtregExitCode}
=
0
]
;
then
\
jtregExitCode
=
1
;
\
fi
;
\
fi
;
\
runc
=
"
`
$(CAT)
$(RUNLIST)
|
$(WC)
-l
|
$(AWK)
'{print $$1;}'
`
"
;
\
passc
=
"
`
$(CAT)
$(PASSLIST)
|
$(WC)
-l
|
$(AWK)
'{print $$1;}'
`
"
;
\
...
...
@@ -312,8 +327,8 @@ BUNDLE_UP_AND_EXIT = \
$(ECHO)
"Missing file:
$
${_summary}
"
>>
$(STATS_TXT)
;
\
fi
;
\
$(CAT)
$(STATS_TXT)
;
\
$(ZIP_UP_RESULTS)
&&
$(KILL_DISPLAY)
&&
\
exit
$
${exitCode}
\
$(ZIP_UP_RESULTS)
&&
$(KILL_DISPLAY)
;
\
$(TESTEXIT)
\
)
################################################################
...
...
@@ -598,7 +613,7 @@ jtreg_tests: prep $(PRODUCT_HOME) $(JTREG) $(EXCLUDELIST)
$(JTREG_TEST_OPTIONS)
\
$(TESTDIRS)
\
)
;
$(BUNDLE_UP_AND_EXIT)
\
)
2>&1 |
$(TEE)
$(ABS_TEST_OUTPUT_DIR)
/output.txt
)
2>&1 |
$(TEE)
$(ABS_TEST_OUTPUT_DIR)
/output.txt
;
$(TESTEXIT)
PHONY_LIST
+=
jtreg_tests
...
...
test/ProblemList.txt
浏览文件 @
fe0a582b
...
...
@@ -1099,6 +1099,14 @@ sun/tools/jps/jps-lm.sh generic-all
sun/tools/jps/jps-Vvml_2.sh generic-all
sun/tools/jps/jps-m_2.sh generic-all
# Fails on OpenSolaris "Could not synchronize with target"
sun/tools/jps/jps-Defaults.sh generic-all
sun/tools/jps/jps-V_2.sh generic-all
sun/tools/jps/jps-Vm_2.sh generic-all
sun/tools/jps/jps-Vvm.sh generic-all
sun/tools/jps/jps-Vvml.sh generic-all
sun/tools/jps/jps-m.sh generic-all
# Server name error, port 2098 problem?
sun/tools/jstatd/jstatdServerName.sh generic-all
...
...
test/com/sun/jdi/BadHandshakeTest.java
浏览文件 @
fe0a582b
...
...
@@ -110,9 +110,10 @@ public class BadHandshakeTest {
String
exe
=
System
.
getProperty
(
"java.home"
)
+
File
.
separator
+
"bin"
+
File
.
separator
;
String
arch
=
System
.
getProperty
(
"os.arch"
);
if
(
arch
.
equals
(
"sparcv9"
))
{
String
osname
=
System
.
getProperty
(
"os.name"
);
if
(
osname
.
equals
(
"SunOS"
)
&&
arch
.
equals
(
"sparcv9"
))
{
exe
+=
"sparcv9/java"
;
}
else
if
(
arch
.
equals
(
"amd64"
))
{
}
else
if
(
osname
.
equals
(
"SunOS"
)
&&
arch
.
equals
(
"amd64"
))
{
exe
+=
"amd64/java"
;
}
else
{
exe
+=
"java"
;
...
...
test/com/sun/jdi/DoubleAgentTest.java
浏览文件 @
fe0a582b
...
...
@@ -92,9 +92,10 @@ public class DoubleAgentTest {
String
exe
=
System
.
getProperty
(
"java.home"
)
+
File
.
separator
+
"bin"
+
File
.
separator
;
String
arch
=
System
.
getProperty
(
"os.arch"
);
if
(
arch
.
equals
(
"sparcv9"
))
{
String
osname
=
System
.
getProperty
(
"os.name"
);
if
(
osname
.
equals
(
"SunOS"
)
&&
arch
.
equals
(
"sparcv9"
))
{
exe
+=
"sparcv9/java"
;
}
else
if
(
arch
.
equals
(
"amd64"
))
{
}
else
if
(
osname
.
equals
(
"SunOS"
)
&&
arch
.
equals
(
"amd64"
))
{
exe
+=
"amd64/java"
;
}
else
{
exe
+=
"java"
;
...
...
test/com/sun/jdi/ExclusiveBind.java
浏览文件 @
fe0a582b
...
...
@@ -99,9 +99,10 @@ public class ExclusiveBind {
String
exe
=
System
.
getProperty
(
"java.home"
)
+
File
.
separator
+
"bin"
+
File
.
separator
;
String
arch
=
System
.
getProperty
(
"os.arch"
);
if
(
arch
.
equals
(
"sparcv9"
))
{
String
osname
=
System
.
getProperty
(
"os.name"
);
if
(
osname
.
equals
(
"SunOS"
)
&&
arch
.
equals
(
"sparcv9"
))
{
exe
+=
"sparcv9/java"
;
}
else
if
(
arch
.
equals
(
"amd64"
))
{
}
else
if
(
osname
.
equals
(
"SunOS"
)
&&
arch
.
equals
(
"amd64"
))
{
exe
+=
"amd64/java"
;
}
else
{
exe
+=
"java"
;
...
...
test/com/sun/jdi/RunToExit.java
浏览文件 @
fe0a582b
...
...
@@ -115,9 +115,10 @@ public class RunToExit {
String
exe
=
System
.
getProperty
(
"java.home"
)
+
File
.
separator
+
"bin"
+
File
.
separator
;
String
arch
=
System
.
getProperty
(
"os.arch"
);
if
(
arch
.
equals
(
"sparcv9"
))
{
String
osname
=
System
.
getProperty
(
"os.name"
);
if
(
osname
.
equals
(
"SunOS"
)
&&
arch
.
equals
(
"sparcv9"
))
{
exe
+=
"sparcv9/java"
;
}
else
if
(
arch
.
equals
(
"amd64"
))
{
}
else
if
(
osname
.
equals
(
"SunOS"
)
&&
arch
.
equals
(
"amd64"
))
{
exe
+=
"amd64/java"
;
}
else
{
exe
+=
"java"
;
...
...
test/com/sun/jdi/connect/spi/SimpleLaunchingConnector.java
浏览文件 @
fe0a582b
...
...
@@ -145,9 +145,10 @@ public class SimpleLaunchingConnector implements LaunchingConnector {
String
exe
=
System
.
getProperty
(
"java.home"
)
+
File
.
separator
+
"bin"
+
File
.
separator
;
String
arch
=
System
.
getProperty
(
"os.arch"
);
if
(
arch
.
equals
(
"sparcv9"
))
{
String
osname
=
System
.
getProperty
(
"os.name"
);
if
(
osname
.
equals
(
"SunOS"
)
&&
arch
.
equals
(
"sparcv9"
))
{
exe
+=
"sparcv9/java"
;
}
else
if
(
arch
.
equals
(
"amd64"
))
{
}
else
if
(
osname
.
equals
(
"SunOS"
)
&&
arch
.
equals
(
"amd64"
))
{
exe
+=
"amd64/java"
;
}
else
{
exe
+=
"java"
;
...
...
test/demo/jvmti/hprof/CpuOldTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,7 +26,7 @@
* @bug 5012882 6299047
* @summary Test jvmti hprof
*
* @compile -
source 1.5 -
g HelloWorld.java ../DemoRun.java
* @compile -g HelloWorld.java ../DemoRun.java
* @build CpuOldTest
* @run main CpuOldTest HelloWorld
*/
...
...
test/demo/jvmti/hprof/CpuSamplesTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,7 +26,7 @@
* @bug 5012882
* @summary Test jvmti hprof
*
* @compile -
source 1.5 -
g:lines HelloWorld.java ../DemoRun.java
* @compile -g:lines HelloWorld.java ../DemoRun.java
* @build CpuSamplesTest
* @run main CpuSamplesTest HelloWorld
*/
...
...
test/demo/jvmti/hprof/CpuTimesDefineClassTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,7 +26,7 @@
* @bug 5097131 6299047
* @summary Test jvmti hprof
*
* @compile -
source 1.5 -
g HelloWorld.java DefineClass.java ../DemoRun.java
* @compile -g HelloWorld.java DefineClass.java ../DemoRun.java
* @build CpuTimesDefineClassTest
* @run main CpuTimesDefineClassTest DefineClass
*
...
...
test/demo/jvmti/hprof/CpuTimesTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,7 +26,7 @@
* @bug 5012882 6299047
* @summary Test jvmti hprof
*
* @compile -
source 1.5 -
g HelloWorld.java ../DemoRun.java
* @compile -g HelloWorld.java ../DemoRun.java
* @build CpuTimesTest
* @run main CpuTimesTest HelloWorld
*/
...
...
test/demo/jvmti/hprof/HeapAllTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,7 +26,7 @@
* @bug 5012882 6299047
* @summary Test jvmti hprof
*
* @compile -
source 1.5 -
g HelloWorld.java ../DemoRun.java
* @compile -g HelloWorld.java ../DemoRun.java
* @build HeapAllTest
* @run main HeapAllTest HelloWorld
*/
...
...
test/demo/jvmti/hprof/HeapBinaryFormatTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,7 +26,7 @@
* @bug 4965057 6313381
* @summary Test jvmti hprof format=b
*
* @compile -
source 1.5 -
g:source HelloWorld.java ../DemoRun.java
* @compile -g:source HelloWorld.java ../DemoRun.java
* @build HeapBinaryFormatTest
* @run main HeapBinaryFormatTest HelloWorld
*/
...
...
test/demo/jvmti/hprof/HeapDumpTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,7 +26,7 @@
* @bug 5012882 6299047
* @summary Test jvmti hprof
*
* @compile -
source 1.5 -
g:source HelloWorld.java ../DemoRun.java
* @compile -g:source HelloWorld.java ../DemoRun.java
* @build HeapDumpTest
* @run main HeapDumpTest HelloWorld
*/
...
...
test/demo/jvmti/hprof/HeapSitesTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,7 +26,7 @@
* @bug 5012882 6299047
* @summary Test jvmti hprof
*
* @compile -
source 1.5 -
g:vars HelloWorld.java ../DemoRun.java
* @compile -g:vars HelloWorld.java ../DemoRun.java
* @build HeapSitesTest
* @run main HeapSitesTest HelloWorld
*/
...
...
test/demo/jvmti/hprof/OptionsTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,7 +26,7 @@
* @bug 5083441 6299047
* @summary Test jvmti hprof
*
* @compile -
source 1.5 -
g:lines HelloWorld.java ../DemoRun.java
* @compile -g:lines HelloWorld.java ../DemoRun.java
* @build OptionsTest
* @run main OptionsTest HelloWorld
*/
...
...
test/java/io/Serializable/enum/array/Test.java
浏览文件 @
fe0a582b
...
...
@@ -25,9 +25,6 @@
* @bug 4838379
* @summary Verify that serialization of enum constant arrays functions
* properly.
*
* @compile -source 1.5 Test.java
* @run main Test
*/
import
java.io.*
;
...
...
test/java/io/Serializable/enum/badResolve/Write.java
浏览文件 @
fe0a582b
...
...
@@ -26,10 +26,10 @@
* @summary Verify that enum classes present in a serialization stream cannot
* be resolved by the receiver to non-enum classes, and vice-versa.
*
* @compile
-source 1.5
Write.java
* @compile Write.java
* @run main Write
* @clean Write
* @compile
-source 1.5
Read.java
* @compile Read.java
* @run main Read
* @clean Read
*/
...
...
test/java/io/Serializable/enum/basic/Test.java
浏览文件 @
fe0a582b
...
...
@@ -25,9 +25,6 @@
* @bug 4838379
* @summary Verify that basic serialization of non-specialized enum constants
* functions properly.
*
* @compile -source 1.5 Test.java
* @run main Test
*/
import
java.io.*
;
...
...
test/java/io/Serializable/enum/classObject/Test.java
浏览文件 @
fe0a582b
...
...
@@ -25,9 +25,6 @@
* @bug 4838379
* @summary Verify that serialization of Class objects for enum types works
* properly.
*
* @compile -source 1.5 Test.java
* @run main Test
*/
import
java.io.*
;
...
...
test/java/io/Serializable/enum/constantSubclasses/Write.java
浏览文件 @
fe0a582b
...
...
@@ -26,10 +26,10 @@
* @summary Verify that serialization of enum constants that are instances of
* constant-specific subclasses functions properly.
*
* @compile
-source 1.5
Write.java
* @compile Write.java
* @run main Write
* @clean Write
* @compile
-source 1.5
Read.java
* @compile Read.java
* @run main Read
* @clean Read
*/
...
...
test/java/io/Serializable/enum/ignoreSerializationFields/Test.java
浏览文件 @
fe0a582b
...
...
@@ -25,9 +25,6 @@
* @bug 4838379
* @summary Verify that serialVersionUID and serialPersistentFields
* declarations made by enum types and constants are ignored.
*
* @compile -source 1.5 Test.java
* @run main Test
*/
import
java.io.*
;
...
...
test/java/io/Serializable/enum/ignoreSerializationMethods/Test.java
浏览文件 @
fe0a582b
...
...
@@ -25,9 +25,6 @@
* @bug 4838379
* @summary Verify that custom serialization methods defined by enum types are
* not invoked during serialization or deserialization.
*
* @compile -source 1.5 Test.java
* @run main Test
*/
import
java.io.*
;
...
...
test/java/io/Serializable/enum/mismatchedTypecode/Test.java
浏览文件 @
fe0a582b
...
...
@@ -26,9 +26,6 @@
* @summary Verify that TC_OBJECT followed by a class descriptor for an enum
* class results in an InvalidClassException, as does TC_ENUM followed
* by a class descriptor for a non-enum class.
*
* @compile -source 1.5 Test.java
* @run main Test
*/
import
java.io.*
;
...
...
test/java/io/Serializable/enum/missingConstant/Write.java
浏览文件 @
fe0a582b
...
...
@@ -26,10 +26,10 @@
* @summary Verify that deserialization of an enum constant that does not exist
* on the receiving side results in an InvalidObjectException.
*
* @compile
-source 1.5
Write.java
* @compile Write.java
* @run main Write
* @clean Write
* @compile
-source 1.5
Read.java
* @compile Read.java
* @run main Read
* @clean Read
*/
...
...
test/java/io/Serializable/enum/unshared/Test.java
浏览文件 @
fe0a582b
...
...
@@ -25,9 +25,6 @@
* @bug 4838379
* @summary Verify that unshared write and read operations work properly with
* enum constants.
*
* @compile -source 1.5 Test.java
* @run main Test
*/
import
java.io.*
;
...
...
test/java/lang/Boolean/MakeBooleanComparable.java
浏览文件 @
fe0a582b
...
...
@@ -26,9 +26,6 @@
* @bug 4329937
* @summary Basic test for making Boolean implement Comparable
* @author Josh Bloch
*
* @compile -source 1.5 MakeBooleanComparable.java
* @run main MakeBooleanComparable
*/
import
java.util.*
;
...
...
test/java/lang/Class/Cast.java
浏览文件 @
fe0a582b
...
...
@@ -25,9 +25,6 @@
* @test
* @bug 4881275
* @summary (reflect) Class.cast() - typesafe cast desired
*
* @compile -source 1.5 Cast.java
* @run main Cast
*/
public
class
Cast
{
...
...
test/java/lang/Class/IsEnum.java
浏览文件 @
fe0a582b
...
...
@@ -26,8 +26,6 @@
* @bug 4891872 4989735 4990789 5020490
* @summary Check isEnum() method
* @author Joseph D. Darcy
* @compile -source 1.5 IsEnum.java
* @run main IsEnum
*/
import
java.lang.annotation.*
;
...
...
test/java/lang/Class/asSubclass/BasicUnit.java
浏览文件 @
fe0a582b
...
...
@@ -27,7 +27,7 @@
* @summary please add a typesafe cast for Class<?> types
* @author gafter
*
* @compile -Xlint:unchecked -Werror
-source 1.5
BasicUnit.java
* @compile -Xlint:unchecked -Werror BasicUnit.java
* @run main BasicUnit
*/
...
...
test/java/lang/ClassLoader/Assert.sh
浏览文件 @
fe0a582b
...
...
@@ -47,7 +47,7 @@ cp ${TESTSRC}/Assert.java .
cp
-R
${
TESTSRC
}
/package1
.
cp
-R
${
TESTSRC
}
/package2
.
${
TESTJAVA
}
/bin/javac
-source
1.4
Assert.java
${
TESTJAVA
}
/bin/javac Assert.java
${
TESTJAVA
}
/bin/java Assert
...
...
test/java/lang/Integer/BitTwiddle.java
浏览文件 @
fe0a582b
...
...
@@ -26,9 +26,6 @@
* @bug 4495754
* @summary Basic test for int bit twiddling
* @author Josh Bloch
*
* @compile -source 1.5 BitTwiddle.java
* @run main BitTwiddle
*/
import
java.util.Random
;
...
...
test/java/lang/Long/BitTwiddle.java
浏览文件 @
fe0a582b
...
...
@@ -26,9 +26,6 @@
* @bug 4495754
* @summary Basic test for long bit twiddling
* @author Josh Bloch
*
* @compile -source 1.5 BitTwiddle.java
* @run main BitTwiddle
*/
import
java.util.Random
;
...
...
test/java/lang/Math/Atan2Tests.java
浏览文件 @
fe0a582b
...
...
@@ -25,8 +25,6 @@
* @test
* @bug 4984407
* @summary Tests for {Math, StrictMath}.atan2
* @compile -source 1.5 Atan2Tests.java
* @run main Atan2Tests
* @author Joseph D. Darcy
*/
...
...
test/java/lang/Math/IeeeRecommendedTests.java
浏览文件 @
fe0a582b
...
...
@@ -26,8 +26,6 @@
* @bug 4860891 4826732 4780454 4939441 4826652
* @summary Tests for IEEE 754[R] recommended functions and similar methods
* @author Joseph D. Darcy
* @compile -source 1.5 IeeeRecommendedTests.java
* @run main IeeeRecommendedTests
*/
import
sun.misc.FpUtils
;
...
...
test/java/lang/Math/PowTests.java
浏览文件 @
fe0a582b
...
...
@@ -25,8 +25,6 @@
* @test
* @bug 4984407 5033578
* @summary Tests for {Math, StrictMath}.pow
* @compile -source 1.5 PowTests.java
* @run main PowTests
* @author Joseph D. Darcy
*/
...
...
test/java/lang/Math/TanTests.java
浏览文件 @
fe0a582b
...
...
@@ -25,8 +25,6 @@
* @test
* @bug 5033578
* @summary Tests for {Math, StrictMath}.tan
* @compile -source 1.5 TanTests.java
* @run main TanTests
* @author Joseph D. Darcy
*/
...
...
test/java/lang/Runtime/exec/WinCommand.java
浏览文件 @
fe0a582b
...
...
@@ -25,9 +25,6 @@
* @bug 5006520
* @summary Check many different ways to run Windows programs
* @author Martin Buchholz
*
* @compile -source 1.5 WinCommand.java
* @run main WinCommand
*/
import
java.io.*
;
...
...
test/java/lang/Thread/GenerifyStackTraces.java
浏览文件 @
fe0a582b
...
...
@@ -26,9 +26,6 @@
* @bug 4919105
* @summary Generified basic unit test of Thread.getAllStackTraces()
* @author Mandy Chung
*
* @compile -source 1.5 GenerifyStackTraces.java
* @run main GenerifyStackTraces
*/
import
java.util.*
;
...
...
test/java/lang/Thread/UncaughtExceptions.sh
浏览文件 @
fe0a582b
...
...
@@ -121,7 +121,7 @@ public class Seppuku extends Thread implements Runnable {
}
EOJAVA
Sys
"
$javac
"
"
-source"
"1.5"
"
Seppuku.java"
Sys
"
$javac
"
"Seppuku.java"
CheckCommandResults
"
$expectedRC
"
"
$expectedOut
"
"
$expectedErr
"
\
"
$java
"
"Seppuku"
Cleanup
...
...
test/java/lang/annotation/UnitTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,8 +26,6 @@
* @bug 4906359 4963461 4965058 4965039 4986770
* @summary Unit test for annotation reading
* @author Josh Bloch
* @compile -source 1.5 UnitTest.java
* @run main UnitTest
*/
import
static
java
.
lang
.
annotation
.
RetentionPolicy
.
RUNTIME
;
...
...
test/java/lang/annotation/package-info.java
浏览文件 @
fe0a582b
...
...
@@ -27,7 +27,7 @@
* @summary Package annotations
* @author gafter
*
* @compile
-source 1.5
package-info.java PackageMain.java
* @compile package-info.java PackageMain.java
* @run main PackageMain
*/
...
...
test/java/lang/management/CompositeData/MemoryNotifInfoCompositeData.java
浏览文件 @
fe0a582b
...
...
@@ -29,7 +29,7 @@
* the input CompositeData is invalid.
* @author Mandy Chung
*
* @compile
-source 1.5
OpenTypeConverter.java
* @compile OpenTypeConverter.java
* @build MemoryNotifInfoCompositeData
* @run main MemoryNotifInfoCompositeData
*/
...
...
test/java/lang/management/CompositeData/ThreadInfoCompositeData.java
浏览文件 @
fe0a582b
...
...
@@ -29,7 +29,7 @@
* the input CompositeData is invalid.
* @author Mandy Chung
*
* @compile
-source 1.5
OpenTypeConverter.java
* @compile OpenTypeConverter.java
* @build ThreadInfoCompositeData
* @run main ThreadInfoCompositeData
*/
...
...
test/java/lang/management/ManagementFactory/MXBeanProxyTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,9 +26,6 @@
* @bug 5024531
* @summary Basic Test for ManagementFactory.newPlatformMXBean().
* @author Mandy Chung
*
* @compile -source 1.5 MXBeanProxyTest.java
* @run main MXBeanProxyTest
*/
import
javax.management.*
;
import
java.lang.management.ClassLoadingMXBean
;
...
...
test/java/lang/management/ManagementFactory/PlatformMBeanServerTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,9 +26,6 @@
* @bug 4947536
* @summary Basic unit test of ManagementFactory.getPlatformMBeanServer()
* @author Mandy Chung
*
* @compile -source 1.5 PlatformMBeanServerTest.java
* @run main PlatformMBeanServerTest
*/
import
java.lang.management.*
;
...
...
test/java/lang/management/ManagementFactory/ProxyExceptions.java
浏览文件 @
fe0a582b
...
...
@@ -27,9 +27,6 @@
* @summary Test type mapping of the platform MXBean proxy
* returned from Management.newPlatformMXBeanProxy().
* @author Mandy Chung
*
* @compile -source 1.5 ProxyExceptions.java
* @run main ProxyExceptions
*/
import
java.lang.management.*
;
import
javax.management.*
;
...
...
test/java/lang/management/ManagementFactory/ProxyTypeMapping.java
浏览文件 @
fe0a582b
...
...
@@ -28,7 +28,7 @@
* returned from Management.newPlatformMXBeanProxy().
* @author Mandy Chung
*
* @compile
-source 1.5
ProxyTypeMapping.java
* @compile ProxyTypeMapping.java
* @run main/othervm -verbose:gc ProxyTypeMapping
*/
import
java.lang.management.*
;
...
...
test/java/lang/management/ManagementFactory/ValidateOpenTypes.java
浏览文件 @
fe0a582b
...
...
@@ -28,7 +28,7 @@
* MBeanServer.
* @author Mandy Chung
*
* @compile
-source 1.5
ValidateOpenTypes.java
* @compile ValidateOpenTypes.java
* @run main/othervm -verbose:gc ValidateOpenTypes
*/
import
java.lang.management.*
;
...
...
test/java/lang/management/RuntimeMXBean/GetSystemProperties.java
浏览文件 @
fe0a582b
...
...
@@ -26,9 +26,6 @@
* @bug 4990512
* @summary Basic Test for RuntimeMXBean.getSystemProperties().
* @author Mandy Chung
*
* @compile -source 1.5 GetSystemProperties.java
* @run main GetSystemProperties
*/
import
java.lang.management.ManagementFactory
;
...
...
test/java/lang/management/RuntimeMXBean/TestInputArgument.sh
浏览文件 @
fe0a582b
...
...
@@ -27,7 +27,7 @@
# @summary
# @author Mandy Chung
#
# @run compile
-source 1.5
InputArgument.java
# @run compile InputArgument.java
# @run shell TestInputArgument.sh
#
...
...
test/java/lang/reflect/Constructor/GenericStringTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,8 +26,6 @@
* @bug 5033583 6316717 6470106
* @summary Check toGenericString() and toString() methods
* @author Joseph D. Darcy
* @compile -source 1.5 GenericStringTest.java
* @run main GenericStringTest
*/
import
java.lang.reflect.*
;
...
...
test/java/lang/reflect/Field/GenericStringTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,8 +26,6 @@
* @bug 5033583
* @summary Check toGenericString() method
* @author Joseph D. Darcy
* @compile -source 1.5 GenericStringTest.java
* @run main GenericStringTest
*/
import
java.lang.reflect.*
;
...
...
test/java/lang/reflect/Generics/StringsAndBounds.java
浏览文件 @
fe0a582b
...
...
@@ -26,8 +26,6 @@
* @bug 5015676 4987888 4997464
* @summary Testing upper bounds and availability of toString methods
* @author Joseph D. Darcy
* @compile -source 1.5 StringsAndBounds.java
* @run main StringsAndBounds
*/
import
java.lang.reflect.*
;
...
...
test/java/lang/reflect/Generics/TestC1.java
浏览文件 @
fe0a582b
...
...
@@ -26,7 +26,7 @@
* @bug 4891872
* @summary Some tests for the generic core reflection api.
* @author Gilad Bracha
* @compile
-source 1.5
TestC1.java
* @compile TestC1.java
* @run main/othervm -ea TestC1
*/
...
...
test/java/lang/reflect/Generics/TestC2.java
浏览文件 @
fe0a582b
...
...
@@ -26,7 +26,7 @@
* @bug 4891872
* @summary Some tests for the generic core reflection api.
* @author Gilad Bracha
* @compile
-source 1.5
TestC2.java
* @compile TestC2.java
* @run main/othervm -ea TestC2
*/
...
...
test/java/lang/reflect/Generics/TestN1.java
浏览文件 @
fe0a582b
...
...
@@ -26,7 +26,7 @@
* @bug 4891872
* @summary Some tests for the generic core reflection api.
* @author Gilad Bracha
* @compile
-source 1.5
TestN1.java
* @compile TestN1.java
* @run main/othervm -ea TestN1
*/
...
...
test/java/lang/reflect/Generics/exceptionCauseTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,8 +26,6 @@
* @bug 4981727
* @summary
* @author Joseph D. Darcy
* @compile -source 1.5 exceptionCauseTest.java
* @run main exceptionCauseTest
*/
import
java.io.PrintStream
;
...
...
test/java/lang/reflect/Generics/getAnnotationTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,8 +26,6 @@
* @bug 4979440
* @summary Test for signature parsing corner case
* @author Joseph D. Darcy
* @compile -source 1.5 getAnnotationTest.java
* @run main getAnnotationTest
*/
import
java.lang.reflect.*
;
...
...
test/java/lang/reflect/Method/Equals.java
浏览文件 @
fe0a582b
...
...
@@ -27,7 +27,7 @@
* @summary Generic framework to test Method.equals.
*
* @clean A
* @compile
-source 1.5
Equals.java
* @compile Equals.java
* @run main Equals
*/
...
...
test/java/lang/reflect/Method/GenericStringTest.java
浏览文件 @
fe0a582b
...
...
@@ -26,8 +26,6 @@
* @bug 5033583 6316717 6470106
* @summary Check toGenericString() and toString() methods
* @author Joseph D. Darcy
* @compile -source 1.5 GenericStringTest.java
* @run main GenericStringTest
*/
import
java.lang.reflect.*
;
...
...
test/java/math/BigDecimal/DivideTests.java
浏览文件 @
fe0a582b
...
...
@@ -26,8 +26,6 @@
* @bug 4851776 4907265 6177836 6876282
* @summary Some tests for the divide methods.
* @author Joseph D. Darcy
* @compile -source 1.5 DivideTests.java
* @run main DivideTests
*/
import
java.math.*
;
...
...
test/java/math/BigDecimal/IntegralDivisionTests.java
浏览文件 @
fe0a582b
...
...
@@ -25,8 +25,6 @@
* @bug 4904082 4917089 6337226
* @summary Tests that integral division and related methods return the proper result and scale.
* @author Joseph D. Darcy
* @compile -source 1.5 IntegralDivisionTests.java
* @run main IntegralDivisionTests
*/
import
java.math.*
;
public
class
IntegralDivisionTests
{
...
...
test/java/math/BigDecimal/PowTests.java
浏览文件 @
fe0a582b
...
...
@@ -26,8 +26,6 @@
* @bug 4916097
* @summary Some exponent over/undeflow tests for the pow method
* @author Joseph D. Darcy
* @compile -source 1.5 PowTests.java
* @run main PowTests
*/
import
java.math.*
;
...
...
test/java/math/BigDecimal/ToPlainStringTests.java
浏览文件 @
fe0a582b
...
...
@@ -26,8 +26,6 @@
* @bug 4984872
* @summary Basic tests of toPlainString method
* @author Joseph D. Darcy
* @compile -source 1.5 ToPlainStringTests.java
* @run main ToPlainStringTests
*/
import
java.math.*
;
...
...
test/java/math/BigDecimal/ZeroScalingTests.java
浏览文件 @
fe0a582b
...
...
@@ -26,8 +26,6 @@
* @bug 4902952 4905407 4916149
* @summary Tests that the scale of zero is propagated properly and has the proper effect.
* @author Joseph D. Darcy
* @compile -source 1.5 ZeroScalingTests.java
* @run main ZeroScalingTests
*/
import
java.math.*
;
...
...
test/java/math/RoundingMode/RoundingModeTests.java
浏览文件 @
fe0a582b
...
...
@@ -26,8 +26,6 @@
* @bug 4851776 4891522 4905335
* @summary Basic tests for the RoundingMode class.
* @author Joseph D. Darcy
* @compile -source 1.5 RoundingModeTests.java
* @run main RoundingModeTests
*/
import
java.math.RoundingMode
;
...
...
test/java/net/ProxySelector/ProxyTest.java
浏览文件 @
fe0a582b
...
...
@@ -27,7 +27,7 @@
* @summary HTTP client: Improve proxy server configuration and selection
* @library ../../../sun/net/www/httptest/
* @build ClosedChannelList HttpServer HttpTransaction HttpCallback
* @compile
-source 1.5
ProxyTest.java
* @compile ProxyTest.java
* @run main/othervm -Dhttp.proxyHost=inexistant -Dhttp.proxyPort=8080 ProxyTest
*/
...
...
test/java/net/URL/PerConnectionProxy.java
浏览文件 @
fe0a582b
...
...
@@ -26,7 +26,7 @@
* @summary Needs per connection proxy support for URLs
* @library ../../../sun/net/www/httptest/
* @build ClosedChannelList HttpServer HttpTransaction HttpCallback
* @compile
-source 1.5
PerConnectionProxy.java
* @compile PerConnectionProxy.java
* @run main/othervm -Dhttp.proxyHost=inexistant -Dhttp.proxyPort=8080 PerConnectionProxy
*/
...
...
test/java/security/cert/PKIXBuilderParameters/InvalidParameters.java
浏览文件 @
fe0a582b
...
...
@@ -24,7 +24,7 @@
/**
* @test
* @test 4422738
* @compile -source 1.4
-target 1.4
InvalidParameters.java
* @compile -source 1.4 InvalidParameters.java
* @run main InvalidParameters
* @summary Make sure PKIXBuilderParameters(Set) detects invalid
* parameters and throws correct exceptions
...
...
test/java/security/cert/PKIXParameters/InvalidParameters.java
浏览文件 @
fe0a582b
...
...
@@ -24,7 +24,7 @@
/**
* @test
* @test 4422738
* @compile -source 1.4
-target 1.4
InvalidParameters.java
* @compile -source 1.4 InvalidParameters.java
* @run main InvalidParameters
* @summary Make sure PKIXParameters(Set) and setTrustAnchors() detects invalid
* parameters and throws correct exceptions
...
...
test/java/util/AbstractList/CheckForComodification.java
浏览文件 @
fe0a582b
...
...
@@ -28,8 +28,6 @@
* @author Josh Bloch
*
* @ignore Bug fix temporarily removed as it uncovered other bugs (4992226)
* @compile -source 1.5 CheckForComodification.java
* @run main CheckForComodification
*/
import
java.util.*
;
...
...
test/java/util/Collections/AddAll.java
浏览文件 @
fe0a582b
...
...
@@ -26,9 +26,6 @@
* @bug 4822887
* @summary Basic test for Collections.addAll
* @author Josh Bloch
*
* @compile -source 1.5 AddAll.java
* @run main AddAll
*/
import
java.util.*
;
...
...
test/java/util/Collections/Disjoint.java
浏览文件 @
fe0a582b
...
...
@@ -26,9 +26,6 @@
* @bug 4339792
* @summary Basic test for Collections.disjoint
* @author Josh Bloch
*
* @compile -source 1.5 Disjoint.java
* @run main Disjoint
*/
import
java.util.*
;
...
...
test/java/util/Collections/Frequency.java
浏览文件 @
fe0a582b
...
...
@@ -26,9 +26,6 @@
* @bug 4193200
* @summary Basic test for Collections.frequency
* @author Josh Bloch
*
* @compile -source 1.5 Frequency.java
* @run main Frequency
*/
import
java.util.*
;
...
...
test/java/util/EnumMap/EnumMapBash.java
浏览文件 @
fe0a582b
...
...
@@ -27,9 +27,6 @@
* @summary Unit test for EnumMap
* @author Josh Bloch
* @author Yo Yo Ma
*
* @compile -source 1.5 EnumMapBash.java
* @run main EnumMapBash
*/
import
java.util.*
;
...
...
test/java/util/EnumSet/AllOf.java
浏览文件 @
fe0a582b
...
...
@@ -26,9 +26,6 @@
* @bug 4946090
* @summary AllOf static factory is broken in Regular and Jumbo enum set
* @author Josh Bloch
*
* @compile -source 1.5 AllOf.java
* @run main AllOf
*/
import
java.util.*
;
...
...
test/java/util/EnumSet/ComplementOf.java
浏览文件 @
fe0a582b
...
...
@@ -26,9 +26,6 @@
* @bug 4946096
* @summary ComplementOf static factory is broken in Regular and Jumbo enum set
* @author Josh Bloch
*
* @compile -source 1.5 ComplementOf.java
* @run main ComplementOf
*/
import
java.util.*
;
...
...
test/java/util/EnumSet/EnumSetBash.java
浏览文件 @
fe0a582b
...
...
@@ -28,9 +28,6 @@
* @author Josh Bloch
* @author Neal Gafter
* @author Yo Ma Ma
*
* @compile -source 1.5 EnumSetBash.java
* @run main EnumSetBash
*/
import
java.util.*
;
...
...
test/java/util/EnumSet/JumboRange.java
浏览文件 @
fe0a582b
...
...
@@ -26,9 +26,6 @@
* @bug 4958003
* @summary Range static factory fails to compute size in Jumbo enum set
* @author Josh Bloch
*
* @compile -source 1.5 JumboRange.java
* @run main JumboRange
*/
import
java.util.*
;
...
...
test/java/util/EnumSet/Range.java
浏览文件 @
fe0a582b
...
...
@@ -26,9 +26,6 @@
* @bug 4952736
* @summary Range static factory is broken in Regular and Jumbo enum set
* @author Josh Bloch
*
* @compile -source 1.5 Range.java
* @run main Range
*/
import
java.util.*
;
...
...
test/java/util/Formattable/StockName.java
浏览文件 @
fe0a582b
...
...
@@ -21,11 +21,9 @@
* have any questions.
*/
/*
*
/*
* @test
* @bug 4965770 4992540 5030716
* @compile -source 1.5 StockName.java
* @run main StockName
*/
import
java.nio.CharBuffer
;
...
...
test/java/util/Formatter/Basic-X.java
→
test/java/util/Formatter/Basic-X.java
.template
浏览文件 @
fe0a582b
文件已移动
test/java/util/Formatter/genBasic.sh
浏览文件 @
fe0a582b
...
...
@@ -27,10 +27,10 @@ javac -d . ../../../../make/tools/src/build/tools/spp/Spp.java
gen
()
{
# if [ $3 = "true" ]
# then $SPP -K$1 -Dtype=$1 -DType=$2 -Kprim<Basic-X.java >Basic$2.java
# else $SPP -K$1 -Dtype=$1 -DType=$2 -K$3 <Basic-X.java >Basic$2.java
# then $SPP -K$1 -Dtype=$1 -DType=$2 -Kprim<Basic-X.java
.template
>Basic$2.java
# else $SPP -K$1 -Dtype=$1 -DType=$2 -K$3 <Basic-X.java
.template
>Basic$2.java
# fi
java build.tools.spp.Spp
-K
$1
-Dtype
=
$1
-DType
=
$2
-K
$3
-K
$4
-K
$5
-K
$6
<Basic-X.java
>
Basic
$2
.java
java build.tools.spp.Spp
-K
$1
-Dtype
=
$1
-DType
=
$2
-K
$3
-K
$4
-K
$5
-K
$6
<Basic-X.java
.template
>
Basic
$2
.java
}
gen boolean Boolean prim
""
""
""
...
...
test/java/util/IdentityHashMap/ToString.java
浏览文件 @
fe0a582b
...
...
@@ -26,9 +26,6 @@
* @bug 4973432
* @summary Test that toString on entrySet Iterator/Entry behaves reasonably
* @author Josh Bloch
*
* @compile -source 1.5 ToString.java
* @run main ToString
*/
...
...
test/java/util/Locale/Bug4175998Test.java
浏览文件 @
fe0a582b
...
...
@@ -23,7 +23,7 @@
/*
@test
@summary test ISO639-2 language codes
@compile -encoding ascii -source
1.4 -target 1.4
Bug4175998Test.java
@compile -encoding ascii -source
5
Bug4175998Test.java
@run main Bug4175998Test
@bug 4175998
*/
...
...
test/java/util/UUID/UUIDTest.java
浏览文件 @
fe0a582b
...
...
@@ -23,8 +23,6 @@
/* @test
* @bug 4173528 5068772
* @compile -source 1.4 -target 1.4 UUIDTest.java
* @run main UUIDTest
* @summary Unit tests for java.util.UUID
*/
...
...
test/java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java
浏览文件 @
fe0a582b
...
...
@@ -34,7 +34,7 @@
/*
* @test
* @bug 4486658
* @compile
-source 1.5
CancelledProducerConsumerLoops.java
* @compile CancelledProducerConsumerLoops.java
* @run main/timeout=7000 CancelledProducerConsumerLoops
* @summary Checks for responsiveness of blocking queues to cancellation.
* Runs under the assumption that ITERS computations require more than
...
...
test/java/util/concurrent/BlockingQueue/MultipleProducersSingleConsumerLoops.java
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/java/util/concurrent/BlockingQueue/ProducerConsumerLoops.java
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/java/util/concurrent/BlockingQueue/SingleProducerMultipleConsumerLoops.java
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/java/util/concurrent/ConcurrentHashMap/MapCheck.java
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/java/util/concurrent/ConcurrentHashMap/MapLoops.java
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/java/util/concurrent/Exchanger/ExchangeLoops.java
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/java/util/concurrent/ExecutorCompletionService/ExecutorCompletionServiceLoops.java
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/java/util/concurrent/FutureTask/CancelledFutureLoops.java
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/java/util/concurrent/atomic/VMSupportsCS8.java
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/java/util/concurrent/locks/ReentrantLock/LockOncePerThreadLoops.java
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/java/util/concurrent/locks/ReentrantLock/SimpleReentrantLockLoops.java
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/java/util/concurrent/locks/ReentrantReadWriteLock/MapLoops.java
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/sun/management/AgentCheckTest.java
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/sun/security/krb5/auto/SSL.java
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/sun/security/util/Oid/S11N.sh
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
test/sun/tools/jconsole/ResourceCheckTest.sh
浏览文件 @
fe0a582b
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录