Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_nashorn
提交
6df0a4a1
D
dragonwell8_nashorn
项目概览
openanolis
/
dragonwell8_nashorn
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_nashorn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6df0a4a1
编写于
1月 08, 2013
作者:
S
sundar
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8005782: get rid of javadoc errors, warnings in nashorn build
Reviewed-by: lagergren
上级
34c8af29
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
22 addition
and
15 deletion
+22
-15
make/build.xml
make/build.xml
+10
-5
make/project.properties
make/project.properties
+3
-4
src/jdk/nashorn/internal/codegen/MethodEmitter.java
src/jdk/nashorn/internal/codegen/MethodEmitter.java
+2
-2
src/jdk/nashorn/internal/runtime/ECMAErrors.java
src/jdk/nashorn/internal/runtime/ECMAErrors.java
+4
-1
src/jdk/nashorn/internal/runtime/PropertyMap.java
src/jdk/nashorn/internal/runtime/PropertyMap.java
+3
-3
未找到文件。
make/build.xml
浏览文件 @
6df0a4a1
...
...
@@ -63,7 +63,7 @@
<!-- do it only if ASM is not available -->
<target
name=
"compile-asm"
depends=
"prepare"
unless=
"asm.available"
>
<javac
srcdir=
"${asm.src.dir}"
<javac
srcdir=
"${
jdk.
asm.src.dir}"
destdir=
"${build.classes.dir}"
excludes=
"**/optimizer/* **/xml/* **/attrs/*"
source=
"${javac.source}"
...
...
@@ -142,15 +142,20 @@
</jar>
</target>
<target
name=
"javadoc"
depends=
"
compile-asm
"
>
<javadoc
destdir=
"${dist.javadoc.dir}"
use=
"yes"
overview=
"src/overview.html"
windowtitle=
"${nashorn.product.name} ${nashorn.version}"
>
<target
name=
"javadoc"
depends=
"
prepare
"
>
<javadoc
destdir=
"${dist.javadoc.dir}"
use=
"yes"
overview=
"src/overview.html"
windowtitle=
"${nashorn.product.name} ${nashorn.version}"
additionalparam=
"-quiet"
failonerror=
"true"
>
<classpath>
<pathelement
location=
"${build.classes.dir}"
/>
<pathelement
location=
"${dynalink.jar}"
/>
</classpath>
<fileset
dir=
"${src.dir}"
includes=
"**/*.java"
/>
<link
href=
"http://docs.oracle.com/javase/7/docs/api"
/>
<link
href=
"http://szegedi.github.com/dynalink/0.4/javadoc"
/>
<fileset
dir=
"${jdk.asm.src.dir}"
includes=
"**/*.java"
/>
<link
href=
"http://docs.oracle.com/javase/7/docs/api/"
/>
<link
href=
"http://szegedi.github.com/dynalink/0.4/javadoc/"
/>
<!-- The following tags are used only in ASM sources - just ignore these -->
<tag
name=
"label"
description=
"label tag in ASM sources"
enabled=
"false"
/>
<tag
name=
"linked"
description=
"linked tag in ASM sources"
enabled=
"false"
/>
<tag
name=
"associates"
description=
"associates tag in ASM sources"
enabled=
"false"
/>
</javadoc>
</target>
...
...
make/project.properties
浏览文件 @
6df0a4a1
...
...
@@ -23,6 +23,9 @@
application.title
=
nashorn
# location of JDK embedded ASM sources
jdk.asm.src.dir
=
../jdk/src/share/classes/jdk/internal
# source and target levels
build.compiler
=
modern
javac.source
=
1.7
...
...
@@ -58,10 +61,6 @@ dist.dir=dist
dist.jar
=
${dist.dir}/nashorn.jar
dist.javadoc.dir
=
${dist.dir}/javadoc
# directory where asm project lives
asm.dir
=
../asm
asm.src.dir
=
${asm.dir}/src
# jars refererred
file.reference.testng.jar
=
test/lib/testng.jar
...
...
src/jdk/nashorn/internal/codegen/MethodEmitter.java
浏览文件 @
6df0a4a1
...
...
@@ -155,7 +155,7 @@ public class MethodEmitter implements Emitter {
/**
* Constructor - internal use from ClassEmitter only
* @see ClassEmitter
.
method
* @see ClassEmitter
#
method
*
* @param classEmitter the class emitter weaving the class this method is in
* @param method a method visitor
...
...
@@ -166,7 +166,7 @@ public class MethodEmitter implements Emitter {
/**
* Constructor - internal use from ClassEmitter only
* @see ClassEmitter
.
method
* @see ClassEmitter
#
method
*
* @param classEmitter the class emitter weaving the class this method is in
* @param method a method visitor
...
...
src/jdk/nashorn/internal/runtime/ECMAErrors.java
浏览文件 @
6df0a4a1
...
...
@@ -38,13 +38,16 @@ public final class ECMAErrors {
private
static
final
String
MESSAGES_RESOURCE
=
"jdk.nashorn.internal.runtime.resources.Messages"
;
// Without do privileged, under security manager messages can not be loaded.
private
static
final
ResourceBundle
MESSAGES_BUNDLE
=
AccessController
.
doPrivileged
(
private
static
final
ResourceBundle
MESSAGES_BUNDLE
;
static
{
MESSAGES_BUNDLE
=
AccessController
.
doPrivileged
(
new
PrivilegedAction
<
ResourceBundle
>()
{
@Override
public
ResourceBundle
run
()
{
return
ResourceBundle
.
getBundle
(
MESSAGES_RESOURCE
,
Locale
.
getDefault
());
}
});
}
private
ECMAErrors
()
{
}
...
...
src/jdk/nashorn/internal/runtime/PropertyMap.java
浏览文件 @
6df0a4a1
...
...
@@ -417,8 +417,8 @@ public final class PropertyMap implements Iterable<Object>, PropertyListener {
/**
* Prevents properties in map from being modified.
*
* @return New map with {@link NOT_EXTENSIBLE} flag set and properties with
* {@link Property
.
NOT_CONFIGURABLE} set.
* @return New map with {@link
#
NOT_EXTENSIBLE} flag set and properties with
* {@link Property
#
NOT_CONFIGURABLE} set.
*/
PropertyMap
seal
()
{
PropertyHashMap
newProperties
=
EMPTY_MAP
;
...
...
@@ -437,7 +437,7 @@ public final class PropertyMap implements Iterable<Object>, PropertyListener {
* Prevents properties in map from being modified or written to.
*
* @return New map with {@link #NOT_EXTENSIBLE} flag set and properties with
* {@link Property
.NOT_CONFIGURABLE} and {@link Property.
NOT_WRITABLE} set.
* {@link Property
#NOT_CONFIGURABLE} and {@link Property#
NOT_WRITABLE} set.
*/
PropertyMap
freeze
()
{
PropertyHashMap
newProperties
=
EMPTY_MAP
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录