Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_langtools
提交
962dc714
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看板
提交
962dc714
编写于
3月 19, 2013
作者:
J
jjg
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8010315: doclint errors in javac public API
Reviewed-by: darcy
上级
b5f722f0
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
36 addition
and
10 deletion
+36
-10
make/build.xml
make/build.xml
+27
-2
src/share/classes/com/sun/source/util/DocTreeScanner.java
src/share/classes/com/sun/source/util/DocTreeScanner.java
+1
-1
src/share/classes/com/sun/source/util/JavacTask.java
src/share/classes/com/sun/source/util/JavacTask.java
+1
-1
src/share/classes/com/sun/source/util/Plugin.java
src/share/classes/com/sun/source/util/Plugin.java
+1
-1
src/share/classes/javax/lang/model/AnnotatedConstruct.java
src/share/classes/javax/lang/model/AnnotatedConstruct.java
+5
-4
src/share/classes/javax/lang/model/type/ExecutableType.java
src/share/classes/javax/lang/model/type/ExecutableType.java
+1
-1
未找到文件。
make/build.xml
浏览文件 @
962dc714
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2007, 201
2
, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2007, 201
3
, 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
...
...
@@ -432,6 +432,31 @@
</zip>
</target>
<target
name=
"doclint-api"
depends=
"build-all-classes"
>
<delete
dir=
"${build.dir}/doclint/classes"
/>
<mkdir
dir=
"${build.dir}/doclint/classes"
/>
<javac
fork=
"true"
executable=
"${boot.javac}"
srcdir=
"${src.classes.dir}:${build.gensrc.dir}"
destdir=
"${build.dir}/doclint/classes"
includes=
"javax/lang/model/** com/sun/javadoc/** com/sun/source/**"
excludes=
""
sourcepath=
"${javac.sourcepath}"
classpath=
"${javac.classpath}"
includeAntRuntime=
"no"
source=
"${javac.source}"
target=
"${javac.target}"
debug=
"${javac.debug}"
debuglevel=
"${javac.debuglevel}"
>
<compilerarg
value=
"-implicit:none"
/>
<compilerarg
value=
"-Xprefer:source"
/>
<compilerarg
value=
"-J-Xbootclasspath/p:${build.bootstrap.dir}/classes"
/>
<compilerarg
line=
"${javac.no.jdk.warnings}"
/>
<compilerarg
line=
"${javac.version.opt}"
/>
<compilerarg
line=
"-Xdoclint:all/protected,-missing"
/>
</javac>
</target>
<!--
**** Debugging/diagnostic targets.
-->
...
...
@@ -678,7 +703,7 @@
jarclasspath=
"sjavac.jar"
/>
<build-tool
name=
"sjavac"
/>
</target>
<!-- (no javadoc for javap) -->
<target
name=
"jtreg-sjavac"
depends=
"build-sjavac,-def-jtreg"
>
...
...
src/share/classes/com/sun/source/util/DocTreeScanner.java
浏览文件 @
962dc714
...
...
@@ -53,7 +53,7 @@ import com.sun.source.doctree.*;
*
* <p>Here is an example to count the number of erroneous nodes in a tree:
* <pre>
* class CountErrors extends DocTreeScanner
<Integer,Void>
{
* class CountErrors extends DocTreeScanner
<Integer,Void>
{
* {@literal @}Override
* public Integer visitErroneous(ErroneousTree node, Void p) {
* return 1;
...
...
src/share/classes/com/sun/source/util/JavacTask.java
浏览文件 @
962dc714
...
...
@@ -56,7 +56,7 @@ public abstract class JavacTask implements CompilationTask {
* If the compiler is being invoked using a
* {@link javax.tools.JavaCompiler.CompilationTask CompilationTask},
* then that task will be returned.
* @param processingEnvironment
* @param processingEnvironment
the processing environment
* @return the {@code JavacTask} for a {@code ProcessingEnvironment}
* @since 1.8
*/
...
...
src/share/classes/com/sun/source/util/Plugin.java
浏览文件 @
962dc714
...
...
@@ -38,7 +38,7 @@ import javax.tools.StandardLocation;
*
* <p>Plug-ins are located via a {@link ServiceLoader},
* using the same class path as annotation processors (i.e.
* {@link StandardLocation#
PROCESSOR_PATH
PROCESSOR_PATH} or
* {@link StandardLocation#
ANNOTATION_PROCESSOR_PATH ANNOTATION_
PROCESSOR_PATH} or
* {@code -processorpath}).
*
* <p>It is expected that a typical plug-in will simply register a
...
...
src/share/classes/javax/lang/model/AnnotatedConstruct.java
浏览文件 @
962dc714
...
...
@@ -25,16 +25,17 @@
package
javax.lang.model
;
import
java.lang.annotation.
Annotation
;
import
java.lang.annotation.
*
;
import
java.util.List
;
import
javax.lang.model.element.*
;
import
javax.lang.model.type.*
;
/**
* Represent a construct that can have annotations.
*
* When annotations are on an {@linkplain
element.
Element element},
* the are on a <em>declaration</em>. When annotations are on a {@linkplain
*
type.
TypeMirror type}, they are on a <em>use</em> of a type.
* When annotations are on an {@linkplain Element element},
* the
y
are on a <em>declaration</em>. When annotations are on a {@linkplain
* TypeMirror type}, they are on a <em>use</em> of a type.
*
* @since 1.8
*/
...
...
src/share/classes/javax/lang/model/type/ExecutableType.java
浏览文件 @
962dc714
...
...
@@ -85,7 +85,7 @@ public interface ExecutableType extends TypeMirror {
*
* An executable which is an instance method, or a constructor of an
* inner class, has a receiver type derived from the {@linkplain
* #getEnclosingElement declaring type}.
*
ExecutableElement
#getEnclosingElement declaring type}.
*
* An executable which is a static method, or a constructor of a
* non-inner class, or an initializer (static or instance), has no
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录