Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_langtools
提交
991c985d
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看板
提交
991c985d
编写于
9月 26, 2013
作者:
V
vromero
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8025139: javac patch for using bootstrap compiler for debugging is not working properly
Reviewed-by: jjg
上级
caf0d06f
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
13 addition
and
13 deletion
+13
-13
make/netbeans/langtools/build.xml
make/netbeans/langtools/build.xml
+11
-12
make/tools/anttasks/SelectToolTask.java
make/tools/anttasks/SelectToolTask.java
+2
-1
未找到文件。
make/netbeans/langtools/build.xml
浏览文件 @
991c985d
...
...
@@ -55,18 +55,17 @@
description=
"Build one or all langtools tools"
/>
<condition
property=
"bootstrap"
value=
"bootstrap-"
else=
""
>
<condition
property=
"
use_
bootstrap"
value=
"bootstrap-"
else=
""
>
<isset
property=
"langtools.tool.bootstrap"
/>
</condition>
<condition
property=
"bcp"
value=
"${build.bootstrap.dir}/classes"
else=
"${build.classes.dir}"
>
<condition
property=
"with_bootclasspath"
value=
"${build.bootstrap.dir}/classes"
else=
"${build.classes.dir}"
>
<isset
property=
"langtools.tool.bootstrap"
/>
</condition>
<target
name=
"-build-tool"
if=
"langtools.tool.name"
>
<echo
level=
"info"
message=
"Building ${bootstrap}${langtools.tool.name}"
/>
<echo
level=
"info"
message=
"Building ${
use_
bootstrap}${langtools.tool.name}"
/>
<echo
level=
"verbose"
message=
"(Unset langtools.tool.name to build all tools)"
/>
<antcall
target=
"build-${bootstrap}${langtools.tool.name}"
/>
<antcall
target=
"build-${
use_
bootstrap}${langtools.tool.name}"
/>
</target>
<target
name=
"-build-all"
unless=
"langtools.tool.name"
>
...
...
@@ -97,9 +96,9 @@
<target
name=
"run"
depends=
"-check-target.java.home,build,-def-run,-get-tool-and-args"
description=
"run tool"
>
<echo
level=
"info"
message=
"${
bcp
}"
/>
<echo
level=
"info"
message=
"Run ${bootstrap}${langtools.tool.name} with args ${langtools.tool.args}"
/>
<run
bcp=
"${
bcp
}"
mainclass=
"com.sun.tools.${langtools.tool.name}.Main"
args=
"${langtools.tool.args}"
/>
<echo
level=
"info"
message=
"${
with_bootclasspath
}"
/>
<echo
level=
"info"
message=
"Run ${
use_
bootstrap}${langtools.tool.name} with args ${langtools.tool.args}"
/>
<run
bcp=
"${
with_bootclasspath
}"
mainclass=
"com.sun.tools.${langtools.tool.name}.Main"
args=
"${langtools.tool.args}"
/>
</target>
<!-- Run a selected class. (action: run.single; shift-F6) -->
...
...
@@ -145,9 +144,9 @@
<!-- Debug tool in NetBeans. -->
<target
name=
"debug"
depends=
"-check-target.java.home,-def-run,-def-start-debugger,-get-tool-and-args,build"
if=
"netbeans.home"
>
<echo
level=
"info"
message=
"Debug ${
boo
strap}${langtools.tool.name} with args ${langtools.tool.args}"
/>
<echo
level=
"info"
message=
"Debug ${
use_boot
strap}${langtools.tool.name} with args ${langtools.tool.args}"
/>
<start-debugger/>
<run
bcp=
"${
bcp
}"
mainclass=
"com.sun.tools.${langtools.tool.name}.Main"
args=
"${langtools.tool.args}"
jpda.jvmargs=
"${jpda.jvmargs}"
/>
<run
bcp=
"${
with_bootclasspath
}"
mainclass=
"com.sun.tools.${langtools.tool.name}.Main"
args=
"${langtools.tool.args}"
jpda.jvmargs=
"${jpda.jvmargs}"
/>
</target>
<!-- Debug a selected class . -->
...
...
@@ -237,12 +236,12 @@
<macrodef
name=
"run"
>
<attribute
name=
"mainclass"
/>
<attribute
name=
"args"
default=
""
/>
<attribute
name=
"bcp"
default=
"${
build.classes.dir
}"
/>
<attribute
name=
"bcp"
default=
"${
with_bootclasspath
}"
/>
<attribute
name=
"jpda.jvmargs"
default=
""
/>
<sequential>
<java
fork=
"true"
jvm=
"${target.java}"
classname=
"@{mainclass}"
>
<jvmarg
line=
"-Xbootclasspath/p:
$
{bcp}"
/>
<jvmarg
line=
"-Xbootclasspath/p:
@
{bcp}"
/>
<jvmarg
line=
"@{jpda.jvmargs}"
/>
<arg
line=
"@{args}"
/>
</java>
...
...
make/tools/anttasks/SelectToolTask.java
浏览文件 @
991c985d
...
...
@@ -87,8 +87,9 @@ public class SelectToolTask extends Task {
this
(
toolName
,
false
);
}
ToolChoices
(
String
toolName
,
boolean
boostrap
)
{
ToolChoices
(
String
toolName
,
boolean
boo
t
strap
)
{
this
.
toolName
=
toolName
;
this
.
bootstrap
=
bootstrap
;
}
@Override
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录