Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_langtools
提交
3d30e20d
D
dragonwell8_langtools
项目概览
openanolis
/
dragonwell8_langtools
通知
0
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_langtools
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
3d30e20d
编写于
9月 08, 2009
作者:
J
jjg
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6879346: files have Windows newlines
Reviewed-by: darcy
上级
6dd2539f
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
109 addition
and
64 deletion
+109
-64
src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclet.xml
...m/sun/tools/doclets/internal/toolkit/resources/doclet.xml
+11
-11
test/com/sun/javadoc/testCRLineSeparator/TestCRLineSeparator.java
.../sun/javadoc/testCRLineSeparator/TestCRLineSeparator.java
+38
-2
test/com/sun/javadoc/testCRLineSeparator/pkg/MyClass.java
test/com/sun/javadoc/testCRLineSeparator/pkg/MyClass.java
+8
-1
test/com/sun/javadoc/testHref/package-list
test/com/sun/javadoc/testHref/package-list
+1
-1
test/com/sun/javadoc/testLinkOption/testNewLineInLink/package.html
...sun/javadoc/testLinkOption/testNewLineInLink/package.html
+6
-6
test/com/sun/javadoc/testNoPackagesFile/TestNoPackagesFile.java
...om/sun/javadoc/testNoPackagesFile/TestNoPackagesFile.java
+1
-1
test/com/sun/javadoc/testOverridenMethods/TestMultiInheritence.java
...un/javadoc/testOverridenMethods/TestMultiInheritence.java
+1
-1
test/com/sun/javadoc/testRelativeLinks/pkg/package.html
test/com/sun/javadoc/testRelativeLinks/pkg/package.html
+7
-6
test/com/sun/javadoc/testTaglets/TestTaglets.java
test/com/sun/javadoc/testTaglets/TestTaglets.java
+1
-1
test/com/sun/javadoc/testWarnings/pkg/package.html
test/com/sun/javadoc/testWarnings/pkg/package.html
+4
-3
test/tools/javah/SubClassConsts.win
test/tools/javah/SubClassConsts.win
+31
-31
未找到文件。
src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclet.xml
浏览文件 @
3d30e20d
<?xml version='1.0' encoding='utf-8'?>
<!--
Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
Copyright 2003-2009 Sun Microsystems, Inc. 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
...
...
@@ -44,7 +44,7 @@
<PackageTags/>
<PackageFooter/>
</PackageDoc>
<AnnotationTypeDoc>
<AnnotationTypeHeader/>
<DeprecationInfo/>
...
...
@@ -52,7 +52,7 @@
<AnnotationTypeDescription/>
<AnnotationTypeTagInfo/>
<MemberSummary>
<AnnotationTypeRequiredMemberSummary/>
<AnnotationTypeRequiredMemberSummary/>
<AnnotationTypeOptionalMemberSummary/>
</MemberSummary>
<AnnotationTypeRequiredMemberDetails>
...
...
@@ -77,16 +77,16 @@
<MemberFooter/>
</AnnotationTypeOptionalMember>
<Footer/>
</AnnotationTypeOptionalMemberDetails>
</AnnotationTypeOptionalMemberDetails>
<AnnotationTypeFooter/>
</AnnotationTypeDoc>
<ClassDoc>
<ClassHeader/>
<ClassTree/>
<TypeParamInfo/>
<SuperInterfacesInfo/>
<ImplementedInterfacesInfo/>
<ImplementedInterfacesInfo/>
<SubClassInfo/>
<SubInterfacesInfo/>
<InterfaceUsageInfo/>
...
...
@@ -100,7 +100,7 @@
<NestedClassesInheritedSummary/>
<EnumConstantsSummary/>
<FieldsSummary/>
<FieldsInheritedSummary/>
<FieldsInheritedSummary/>
<ConstructorsSummary/>
<MethodsSummary/>
<MethodsInheritedSummary/>
...
...
@@ -155,7 +155,7 @@
</MethodDetails>
<ClassFooter/>
</ClassDoc>
<ConstantSummary>
<Header/>
<Contents/>
...
...
@@ -166,12 +166,12 @@
<ClassHeader/>
<ConstantMembers/>
<ClassFooter/>
</ClassConstantSummary>
</ClassConstantSummary>
</PackageConstantSummary>
</ConstantSummaries>
</ConstantSummaries>
<Footer/>
</ConstantSummary>
<SerializedForm>
<Header/>
<SerializedFormSummaries>
...
...
test/com/sun/javadoc/testCRLineSeparator/TestCRLineSeparator.java
浏览文件 @
3d30e20d
...
...
@@ -32,6 +32,9 @@
* @run main TestCRLineSeparator
*/
import
java.io.*
;
import
java.util.*
;
public
class
TestCRLineSeparator
extends
JavadocTester
{
//Test information.
...
...
@@ -39,7 +42,7 @@ public class TestCRLineSeparator extends JavadocTester {
//Javadoc arguments.
private
static
final
String
[]
ARGS
=
new
String
[]
{
"-d"
,
BUG_ID
,
"-sourcepath"
,
SRC_DIR
,
"pkg"
"-d"
,
BUG_ID
,
"-sourcepath"
,
"."
,
"pkg"
};
//Input for string search tests.
...
...
@@ -53,7 +56,8 @@ public class TestCRLineSeparator extends JavadocTester {
* The entry point of the test.
* @param args the array of command line arguments.
*/
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
initFiles
(
new
File
(
SRC_DIR
),
new
File
(
"."
),
"pkg"
);
TestCRLineSeparator
tester
=
new
TestCRLineSeparator
();
run
(
tester
,
ARGS
,
TEST
,
NEGATED_TEST
);
tester
.
printSummary
();
...
...
@@ -72,4 +76,36 @@ public class TestCRLineSeparator extends JavadocTester {
public
String
getBugName
()
{
return
getClass
().
getName
();
}
// recursively copy files from fromDir to toDir, replacing newlines
// with \r
static
void
initFiles
(
File
fromDir
,
File
toDir
,
String
f
)
throws
IOException
{
File
from_f
=
new
File
(
fromDir
,
f
);
File
to_f
=
new
File
(
toDir
,
f
);
if
(
from_f
.
isDirectory
())
{
to_f
.
mkdirs
();
for
(
String
child:
from_f
.
list
())
{
initFiles
(
from_f
,
to_f
,
child
);
}
}
else
{
List
<
String
>
lines
=
new
ArrayList
<
String
>();
BufferedReader
in
=
new
BufferedReader
(
new
FileReader
(
from_f
));
try
{
String
line
;
while
((
line
=
in
.
readLine
())
!=
null
)
lines
.
add
(
line
);
}
finally
{
in
.
close
();
}
BufferedWriter
out
=
new
BufferedWriter
(
new
FileWriter
(
to_f
));
try
{
for
(
String
line:
lines
)
{
out
.
write
(
line
);
out
.
write
(
"\r"
);
}
}
finally
{
out
.
close
();
}
}
}
}
test/com/sun/javadoc/testCRLineSeparator/pkg/MyClass.java
浏览文件 @
3d30e20d
...
...
@@ -21,4 +21,11 @@
* have any questions.
*/
package
pkg
;
/** * Line 1 * Line 2 */
public
class
MyClass
{}
package
pkg
;
/**
* Line 1
* Line 2
*/
public
class
MyClass
{}
test/com/sun/javadoc/testHref/package-list
浏览文件 @
3d30e20d
java.lang
java.lang
test/com/sun/javadoc/testLinkOption/testNewLineInLink/package.html
浏览文件 @
3d30e20d
<html>
<body>
{@link java.awt.Color#getAlpha()
getAlpha}
</body>
</html>
<html>
<body>
{@link java.awt.Color#getAlpha()
getAlpha}
</body>
</html>
test/com/sun/javadoc/testNoPackagesFile/TestNoPackagesFile.java
浏览文件 @
3d30e20d
...
...
@@ -52,7 +52,7 @@ public class TestNoPackagesFile extends JavadocTester {
TestNoPackagesFile
tester
=
new
TestNoPackagesFile
();
run
(
tester
,
ARGS
,
NO_TEST
,
NO_TEST
);
if
((
new
java
.
io
.
File
(
BUG_ID
+
FS
+
"packages.html"
)).
exists
())
{
throw
new
Error
(
"Test Fails: packages file should not be "
+
"generated anymore."
);
throw
new
Error
(
"Test Fails: packages file should not be "
+
"generated anymore."
);
}
else
{
System
.
out
.
println
(
"Test passes: packages.html not found."
);
}
...
...
test/com/sun/javadoc/testOverridenMethods/TestMultiInheritence.java
浏览文件 @
3d30e20d
...
...
@@ -46,7 +46,7 @@ public class TestMultiInheritence extends JavadocTester {
//Method foo() is inherited from BOTH I2 and I3
private
static
final
String
[][]
TEST
=
{
{
BUG_ID
+
FS
+
"pkg3"
+
FS
+
"I1.html"
,
"Methods inherited from interface pkg3."
+
"<A HREF=\"../pkg3/I2.html\" title=\"interface in pkg3\">I2</A>"
},
"Methods inherited from interface pkg3."
+
"<A HREF=\"../pkg3/I2.html\" title=\"interface in pkg3\">I2</A>"
},
{
BUG_ID
+
FS
+
"pkg3"
+
FS
+
"I1.html"
,
"Methods inherited from interface pkg3."
+
"<A HREF=\"../pkg3/I3.html\" title=\"interface in pkg3\">I3</A>"
},
...
...
test/com/sun/javadoc/testRelativeLinks/pkg/package.html
浏览文件 @
3d30e20d
<html>
<body>
Here is a relative link in a package:
<a
href=
"relative-package-link.html"
>
relative package link
</a>
.
</body>
</html>
\ No newline at end of file
<html>
<body>
Here is a relative link in a package:
<a
href=
"relative-package-link.html"
>
relative package link
</a>
.
</body>
</html>
test/com/sun/javadoc/testTaglets/TestTaglets.java
浏览文件 @
3d30e20d
...
...
@@ -55,7 +55,7 @@ public class TestTaglets extends JavadocTester {
//Input for string search tests.
private
static
final
String
[][]
TEST_4654308
=
new
String
[][]
{
{
"4654308"
+
FS
+
"C.html"
,
"<B>Foo:</B><DD>my only method is "
+
"<A HREF=\"C.html#method()\"><CODE>here</CODE></A>"
}
{
"4654308"
+
FS
+
"C.html"
,
"<B>Foo:</B><DD>my only method is "
+
"<A HREF=\"C.html#method()\"><CODE>here</CODE></A>"
}
};
private
static
final
String
[][]
NEGATED_TEST_4654308
=
NO_TEST
;
...
...
test/com/sun/javadoc/testWarnings/pkg/package.html
浏览文件 @
3d30e20d
<HTML>
Testing.
<HTML>
\ No newline at end of file
<HTML>
Testing.
<HTML>
test/tools/javah/SubClassConsts.win
浏览文件 @
3d30e20d
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class SubClassConsts */
#ifndef _Included_SubClassConsts
#define _Included_SubClassConsts
#ifdef __cplusplus
extern "C" {
#endif
#undef SubClassConsts_serialVersionUID
#define SubClassConsts_serialVersionUID 6733861379283244755i64
#undef SubClassConsts_SUPER_INT_CONSTANT
#define SubClassConsts_SUPER_INT_CONSTANT 3L
#undef SubClassConsts_SUPER_FLOAT_CONSTANT
#define SubClassConsts_SUPER_FLOAT_CONSTANT 99.3f
#undef SubClassConsts_SUPER_DOUBLE_CONSTANT
#define SubClassConsts_SUPER_DOUBLE_CONSTANT 33.2
#undef SubClassConsts_SUPER_BOOLEAN_CONSTANT
#define SubClassConsts_SUPER_BOOLEAN_CONSTANT 0L
#undef SubClassConsts_SUB_INT_CONSTANT
#define SubClassConsts_SUB_INT_CONSTANT 2L
#undef SubClassConsts_SUB_DOUBLE_CONSTANT
#define SubClassConsts_SUB_DOUBLE_CONSTANT 2.25
#undef SubClassConsts_SUB_FLOAT_CONSTANT
#define SubClassConsts_SUB_FLOAT_CONSTANT 7.9f
#undef SubClassConsts_SUB_BOOLEAN_CONSTANT
#define SubClassConsts_SUB_BOOLEAN_CONSTANT 1L
#ifdef __cplusplus
}
#endif
#endif
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class SubClassConsts */
#ifndef _Included_SubClassConsts
#define _Included_SubClassConsts
#ifdef __cplusplus
extern "C" {
#endif
#undef SubClassConsts_serialVersionUID
#define SubClassConsts_serialVersionUID 6733861379283244755i64
#undef SubClassConsts_SUPER_INT_CONSTANT
#define SubClassConsts_SUPER_INT_CONSTANT 3L
#undef SubClassConsts_SUPER_FLOAT_CONSTANT
#define SubClassConsts_SUPER_FLOAT_CONSTANT 99.3f
#undef SubClassConsts_SUPER_DOUBLE_CONSTANT
#define SubClassConsts_SUPER_DOUBLE_CONSTANT 33.2
#undef SubClassConsts_SUPER_BOOLEAN_CONSTANT
#define SubClassConsts_SUPER_BOOLEAN_CONSTANT 0L
#undef SubClassConsts_SUB_INT_CONSTANT
#define SubClassConsts_SUB_INT_CONSTANT 2L
#undef SubClassConsts_SUB_DOUBLE_CONSTANT
#define SubClassConsts_SUB_DOUBLE_CONSTANT 2.25
#undef SubClassConsts_SUB_FLOAT_CONSTANT
#define SubClassConsts_SUB_FLOAT_CONSTANT 7.9f
#undef SubClassConsts_SUB_BOOLEAN_CONSTANT
#define SubClassConsts_SUB_BOOLEAN_CONSTANT 1L
#ifdef __cplusplus
}
#endif
#endif
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录