Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_langtools
提交
0e623b69
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看板
提交
0e623b69
编写于
6月 16, 2008
作者:
T
tbell
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
b2dbe333
07cc20b4
变更
30
隐藏空白更改
内联
并排
Showing
30 changed file
with
103 addition
and
95 deletion
+103
-95
src/share/classes/com/sun/tools/apt/main/JavaCompiler.java
src/share/classes/com/sun/tools/apt/main/JavaCompiler.java
+1
-7
src/share/classes/com/sun/tools/apt/main/Main.java
src/share/classes/com/sun/tools/apt/main/Main.java
+1
-1
src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
+1
-1
src/share/classes/com/sun/tools/javac/api/JavacTool.java
src/share/classes/com/sun/tools/javac/api/JavacTool.java
+1
-2
src/share/classes/com/sun/tools/javac/file/BaseFileObject.java
...hare/classes/com/sun/tools/javac/file/BaseFileObject.java
+1
-1
src/share/classes/com/sun/tools/javac/file/JavacFileManager.java
...re/classes/com/sun/tools/javac/file/JavacFileManager.java
+14
-11
src/share/classes/com/sun/tools/javac/file/Old199.java
src/share/classes/com/sun/tools/javac/file/Old199.java
+2
-8
src/share/classes/com/sun/tools/javac/file/Paths.java
src/share/classes/com/sun/tools/javac/file/Paths.java
+8
-3
src/share/classes/com/sun/tools/javac/file/ZipFileIndex.java
src/share/classes/com/sun/tools/javac/file/ZipFileIndex.java
+16
-4
src/share/classes/com/sun/tools/javac/file/ZipFileIndexEntry.java
...e/classes/com/sun/tools/javac/file/ZipFileIndexEntry.java
+1
-1
src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
+1
-0
src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
+1
-0
src/share/classes/com/sun/tools/javac/main/Main.java
src/share/classes/com/sun/tools/javac/main/Main.java
+1
-1
src/share/classes/com/sun/tools/javac/parser/Scanner.java
src/share/classes/com/sun/tools/javac/parser/Scanner.java
+2
-6
src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
...un/tools/javac/processing/JavacProcessingEnvironment.java
+33
-28
src/share/classes/com/sun/tools/javac/util/DiagnosticFormatter.java
...classes/com/sun/tools/javac/util/DiagnosticFormatter.java
+1
-0
src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
+1
-5
src/share/classes/com/sun/tools/javac/util/Log.java
src/share/classes/com/sun/tools/javac/util/Log.java
+3
-0
src/share/classes/com/sun/tools/javadoc/JavadocClassReader.java
...are/classes/com/sun/tools/javadoc/JavadocClassReader.java
+2
-2
src/share/classes/com/sun/tools/javadoc/JavadocTool.java
src/share/classes/com/sun/tools/javadoc/JavadocTool.java
+2
-7
src/share/classes/com/sun/tools/javap/JavapFileManager.java
src/share/classes/com/sun/tools/javap/JavapFileManager.java
+1
-1
test/tools/javac/6304921/TestLog.java
test/tools/javac/6304921/TestLog.java
+1
-1
test/tools/javac/6589361/T6589361.java
test/tools/javac/6589361/T6589361.java
+1
-1
test/tools/javac/T6358024.java
test/tools/javac/T6358024.java
+1
-0
test/tools/javac/T6358166.java
test/tools/javac/T6358166.java
+1
-0
test/tools/javac/T6358168.java
test/tools/javac/T6358168.java
+1
-0
test/tools/javac/T6705935.java
test/tools/javac/T6705935.java
+1
-1
test/tools/javac/api/T6358786.java
test/tools/javac/api/T6358786.java
+1
-1
test/tools/javac/api/TestResolveIdent.java
test/tools/javac/api/TestResolveIdent.java
+1
-1
test/tools/javac/util/filemanager/TestName.java
test/tools/javac/util/filemanager/TestName.java
+1
-1
未找到文件。
src/share/classes/com/sun/tools/apt/main/JavaCompiler.java
浏览文件 @
0e623b69
...
...
@@ -26,20 +26,14 @@
package
com.sun.tools.apt.main
;
import
java.io.*
;
import
java.nio.CharBuffer
;
import
java.util.Set
;
import
java.util.HashSet
;
import
java.util.Map
;
import
java.util.HashMap
;
import
javax.tools.JavaFileManager
;
import
javax.tools.JavaFileObject
;
import
com.sun.tools.javac.file.JavacFileManager
;
import
com.sun.tools.javac.util.*
;
import
com.sun.tools.javac.code.*
;
import
com.sun.tools.javac.tree.*
;
import
com.sun.tools.javac.parser.*
;
import
com.sun.tools.javac.comp.*
;
import
com.sun.tools.javac.jvm.*
;
import
com.sun.tools.javac.code.Symbol.*
;
...
...
src/share/classes/com/sun/tools/apt/main/Main.java
浏览文件 @
0e623b69
...
...
@@ -44,7 +44,7 @@ import java.net.URL;
import
java.io.File
;
import
java.net.MalformedURLException
;
import
com.sun.tools.javac.
util
.Paths
;
import
com.sun.tools.javac.
file
.Paths
;
import
com.sun.tools.javac.code.Source
;
import
com.sun.tools.javac.code.Symbol
;
import
com.sun.tools.javac.code.Type
;
...
...
src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
浏览文件 @
0e623b69
...
...
@@ -36,12 +36,12 @@ import javax.lang.model.element.TypeElement;
import
javax.lang.model.type.TypeMirror
;
import
javax.tools.*
;
import
com.sun.source.tree.Tree
;
import
com.sun.source.tree.*
;
import
com.sun.source.util.*
;
import
com.sun.tools.javac.code.*
;
import
com.sun.tools.javac.code.Symbol.*
;
import
com.sun.tools.javac.comp.*
;
import
com.sun.tools.javac.file.JavacFileManager
;
import
com.sun.tools.javac.main.*
;
import
com.sun.tools.javac.model.*
;
import
com.sun.tools.javac.parser.Parser
;
...
...
src/share/classes/com/sun/tools/javac/api/JavacTool.java
浏览文件 @
0e623b69
...
...
@@ -31,7 +31,6 @@ import java.io.OutputStream;
import
java.io.PrintWriter
;
import
java.io.Writer
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Collections
;
import
java.util.EnumSet
;
import
java.util.Iterator
;
...
...
@@ -42,13 +41,13 @@ import javax.lang.model.SourceVersion;
import
javax.tools.*
;
import
com.sun.source.util.JavacTask
;
import
com.sun.tools.javac.file.JavacFileManager
;
import
com.sun.tools.javac.main.JavacOption.OptionKind
;
import
com.sun.tools.javac.main.JavacOption
;
import
com.sun.tools.javac.main.Main
;
import
com.sun.tools.javac.main.RecognizedOptions.GrumpyHelper
;
import
com.sun.tools.javac.main.RecognizedOptions
;
import
com.sun.tools.javac.util.Context
;
import
com.sun.tools.javac.util.JavacFileManager
;
import
com.sun.tools.javac.util.Log
;
import
com.sun.tools.javac.util.Options
;
import
com.sun.tools.javac.util.Pair
;
...
...
src/share/classes/com/sun/tools/javac/
util
/BaseFileObject.java
→
src/share/classes/com/sun/tools/javac/
file
/BaseFileObject.java
浏览文件 @
0e623b69
...
...
@@ -23,7 +23,7 @@
* have any questions.
*/
package
com.sun.tools.javac.
util
;
package
com.sun.tools.javac.
file
;
import
java.io.IOException
;
import
java.io.InputStreamReader
;
...
...
src/share/classes/com/sun/tools/javac/
util
/JavacFileManager.java
→
src/share/classes/com/sun/tools/javac/
file
/JavacFileManager.java
浏览文件 @
0e623b69
...
...
@@ -23,11 +23,9 @@
* have any questions.
*/
package
com.sun.tools.javac.
util
;
package
com.sun.tools.javac.
file
;
import
com.sun.tools.javac.main.JavacOption
;
import
com.sun.tools.javac.main.OptionName
;
import
com.sun.tools.javac.main.RecognizedOptions
;
import
java.io.ByteArrayInputStream
;
import
java.io.ByteArrayOutputStream
;
import
java.io.File
;
import
java.io.FileInputStream
;
...
...
@@ -63,6 +61,7 @@ import java.util.HashMap;
import
java.util.Iterator
;
import
java.util.Map
;
import
java.util.Set
;
import
java.util.concurrent.ConcurrentHashMap
;
import
java.util.zip.ZipEntry
;
import
java.util.zip.ZipFile
;
...
...
@@ -70,14 +69,18 @@ import javax.lang.model.SourceVersion;
import
javax.tools.FileObject
;
import
javax.tools.JavaFileManager
;
import
javax.tools.JavaFileObject
;
import
javax.tools.StandardJavaFileManager
;
import
com.sun.tools.javac.code.Source
;
import
com.sun.tools.javac.main.JavacOption
;
import
com.sun.tools.javac.main.OptionName
;
import
com.sun.tools.javac.main.RecognizedOptions
;
import
com.sun.tools.javac.util.Context
;
import
com.sun.tools.javac.util.JCDiagnostic.SimpleDiagnosticPosition
;
import
java.util.concurrent.ConcurrentHashMap
;
import
javax.tools.StandardJavaFileManager
;
import
com.sun.tools.javac.zip.*
;
import
java.io.ByteArrayInputStream
;
import
com.sun.tools.javac.util.List
;
import
com.sun.tools.javac.util.ListBuffer
;
import
com.sun.tools.javac.util.Log
;
import
com.sun.tools.javac.util.Options
;
import
static
com
.
sun
.
tools
.
javac
.
main
.
OptionName
.*;
import
static
javax
.
tools
.
StandardLocation
.*;
...
...
@@ -1225,7 +1228,7 @@ public class JavacFileManager implements StandardJavaFileManager {
}
@SuppressWarnings
(
"deprecation"
)
// bug 6410637
p
rotected
static
String
getJavacFileName
(
FileObject
file
)
{
p
ublic
static
String
getJavacFileName
(
FileObject
file
)
{
if
(
file
instanceof
BaseFileObject
)
return
((
BaseFileObject
)
file
).
getPath
();
URI
uri
=
file
.
toUri
();
...
...
@@ -1237,7 +1240,7 @@ public class JavacFileManager implements StandardJavaFileManager {
}
@SuppressWarnings
(
"deprecation"
)
// bug 6410637
p
rotected
static
String
getJavacBaseFileName
(
FileObject
file
)
{
p
ublic
static
String
getJavacBaseFileName
(
FileObject
file
)
{
if
(
file
instanceof
BaseFileObject
)
return
((
BaseFileObject
)
file
).
getName
();
URI
uri
=
file
.
toUri
();
...
...
src/share/classes/com/sun/tools/javac/
util
/Old199.java
→
src/share/classes/com/sun/tools/javac/
file
/Old199.java
浏览文件 @
0e623b69
...
...
@@ -23,15 +23,9 @@
* have any questions.
*/
package
com.sun.tools.javac.
util
;
package
com.sun.tools.javac.
file
;
import
java.io.File
;
import
java.io.IOException
;
import
java.net.URI
;
import
java.net.URISyntaxException
;
import
javax.tools.*
;
import
static
javax
.
tools
.
StandardLocation
.
SOURCE_PATH
;
import
javax.tools.FileObject
;
/**
* Provides an easy migration to JSR 199 v3.3. The class is
...
...
src/share/classes/com/sun/tools/javac/
util
/Paths.java
→
src/share/classes/com/sun/tools/javac/
file
/Paths.java
浏览文件 @
0e623b69
...
...
@@ -23,7 +23,8 @@
* have any questions.
*/
package
com.sun.tools.javac.util
;
package
com.sun.tools.javac.file
;
import
java.io.File
;
import
java.io.IOException
;
import
java.util.HashMap
;
...
...
@@ -39,15 +40,19 @@ import java.util.LinkedHashSet;
import
java.util.Iterator
;
import
java.util.StringTokenizer
;
import
java.util.zip.ZipFile
;
import
com.sun.tools.javac.code.Lint
;
import
java.util.ArrayList
;
import
java.util.concurrent.ConcurrentHashMap
;
import
java.util.concurrent.locks.Lock
;
import
java.util.concurrent.locks.ReentrantLock
;
import
javax.tools.JavaFileManager.Location
;
import
static
com
.
sun
.
tools
.
javac
.
main
.
OptionName
.*;
import
com.sun.tools.javac.code.Lint
;
import
com.sun.tools.javac.util.Context
;
import
com.sun.tools.javac.util.Log
;
import
com.sun.tools.javac.util.Options
;
import
static
javax
.
tools
.
StandardLocation
.*;
import
static
com
.
sun
.
tools
.
javac
.
main
.
OptionName
.*;
/** This class converts command line arguments, environment variables
* and system properties (in File.pathSeparator-separated String form)
...
...
src/share/classes/com/sun/tools/javac/
zip
/ZipFileIndex.java
→
src/share/classes/com/sun/tools/javac/
file
/ZipFileIndex.java
浏览文件 @
0e623b69
...
...
@@ -23,14 +23,26 @@
* have any questions.
*/
package
com.sun.tools.javac.
zip
;
package
com.sun.tools.javac.
file
;
import
java.io.*
;
import
java.io.File
;
import
java.io.FileNotFoundException
;
import
java.io.IOException
;
import
java.io.RandomAccessFile
;
import
java.text.MessageFormat
;
import
java.util.*
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Collections
;
import
java.util.HashMap
;
import
java.util.HashSet
;
import
java.util.Iterator
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Set
;
import
java.util.concurrent.locks.ReentrantLock
;
import
java.util.zip.*
;
import
java.util.zip.DataFormatException
;
import
java.util.zip.Inflater
;
import
java.util.zip.ZipException
;
/** This class implements building of index of a zip archive and access to it's context.
* It also uses prebuild index if available. It supports invocations where it will
...
...
src/share/classes/com/sun/tools/javac/
zip
/ZipFileIndexEntry.java
→
src/share/classes/com/sun/tools/javac/
file
/ZipFileIndexEntry.java
浏览文件 @
0e623b69
...
...
@@ -23,7 +23,7 @@
* have any questions.
*/
package
com.sun.tools.javac.
zip
;
package
com.sun.tools.javac.
file
;
import
java.io.File
;
...
...
src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
浏览文件 @
0e623b69
...
...
@@ -42,6 +42,7 @@ import com.sun.tools.javac.code.*;
import
com.sun.tools.javac.code.Type.*
;
import
com.sun.tools.javac.code.Symbol.*
;
import
com.sun.tools.javac.code.Symtab
;
import
com.sun.tools.javac.file.BaseFileObject
;
import
com.sun.tools.javac.util.*
;
import
com.sun.tools.javac.util.List
;
...
...
src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
浏览文件 @
0e623b69
...
...
@@ -40,6 +40,7 @@ import javax.tools.JavaFileManager;
import
javax.tools.JavaFileObject
;
import
javax.tools.DiagnosticListener
;
import
com.sun.tools.javac.file.JavacFileManager
;
import
com.sun.source.util.TaskEvent
;
import
com.sun.source.util.TaskListener
;
...
...
src/share/classes/com/sun/tools/javac/main/Main.java
浏览文件 @
0e623b69
...
...
@@ -25,13 +25,13 @@
package
com.sun.tools.javac.main
;
import
com.sun.tools.javac.util.Options
;
import
java.io.File
;
import
java.io.IOException
;
import
java.io.PrintWriter
;
import
java.util.MissingResourceException
;
import
com.sun.tools.javac.code.Source
;
import
com.sun.tools.javac.file.JavacFileManager
;
import
com.sun.tools.javac.jvm.Target
;
import
com.sun.tools.javac.main.JavacOption.Option
;
import
com.sun.tools.javac.main.RecognizedOptions.OptionHelper
;
...
...
src/share/classes/com/sun/tools/javac/parser/Scanner.java
浏览文件 @
0e623b69
...
...
@@ -25,16 +25,12 @@
package
com.sun.tools.javac.parser
;
import
java.io.*
;
import
java.nio.*
;
import
java.nio.ByteBuffer
;
import
java.nio.charset.*
;
import
java.nio.channels.*
;
import
java.util.regex.*
;
import
com.sun.tools.javac.code.Source
;
import
com.sun.tools.javac.file.JavacFileManager
;
import
com.sun.tools.javac.util.*
;
import
com.sun.tools.javac.code.Source
;
import
static
com
.
sun
.
tools
.
javac
.
parser
.
Token
.*;
import
static
com
.
sun
.
tools
.
javac
.
util
.
LayoutCharacters
.*;
...
...
src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
浏览文件 @
0e623b69
...
...
@@ -25,22 +25,17 @@
package
com.sun.tools.javac.processing
;
import
com.sun.source.util.TaskEvent
;
import
com.sun.source.util.TaskListener
;
import
com.sun.tools.javac.api.JavacTaskImpl
;
import
com.sun.tools.javac.util.List
;
import
com.sun.tools.javac.util.*
;
import
com.sun.tools.javac.code.*
;
import
com.sun.tools.javac.code.Symbol.*
;
import
com.sun.tools.javac.comp.*
;
import
com.sun.tools.javac.jvm.*
;
import
com.sun.tools.javac.tree.*
;
import
com.sun.tools.javac.parser.*
;
import
com.sun.tools.javac.code.Symbol.*
;
import
com.sun.tools.javac.model.JavacElements
;
import
com.sun.tools.javac.model.JavacTypes
;
import
com.sun.tools.javac.tree.JCTree.*
;
import
com.sun.tools.javac.main.JavaCompiler
;
import
java.lang.reflect.*
;
import
java.util.*
;
import
java.util.regex.*
;
import
java.net.URL
;
import
java.io.Closeable
;
import
java.io.File
;
import
java.io.PrintWriter
;
import
java.io.IOException
;
import
java.net.MalformedURLException
;
import
java.io.StringWriter
;
import
javax.annotation.processing.*
;
...
...
@@ -50,24 +45,34 @@ import javax.lang.model.element.Element;
import
javax.lang.model.element.TypeElement
;
import
javax.lang.model.element.PackageElement
;
import
javax.lang.model.util.*
;
import
javax.tools.JavaFileManager
;
import
javax.tools.StandardJavaFileManager
;
import
javax.tools.JavaFileObject
;
import
javax.tools.DiagnosticListener
;
import
static
javax
.
tools
.
StandardLocation
.*;
import
java.lang.reflect.*
;
import
java.util.*
;
import
java.util.regex.*
;
import
com.sun.source.util.TaskEvent
;
import
com.sun.source.util.TaskListener
;
import
com.sun.tools.javac.api.JavacTaskImpl
;
import
com.sun.tools.javac.code.*
;
import
com.sun.tools.javac.code.Symbol.*
;
import
com.sun.tools.javac.file.Paths
;
import
com.sun.tools.javac.file.JavacFileManager
;
import
com.sun.tools.javac.jvm.*
;
import
com.sun.tools.javac.main.JavaCompiler
;
import
com.sun.tools.javac.model.JavacElements
;
import
com.sun.tools.javac.model.JavacTypes
;
import
com.sun.tools.javac.parser.*
;
import
com.sun.tools.javac.tree.*
;
import
com.sun.tools.javac.tree.JCTree.*
;
import
com.sun.tools.javac.util.Abort
;
import
com.sun.tools.javac.util.Context
;
import
com.sun.tools.javac.util.List
;
import
com.sun.tools.javac.util.ListBuffer
;
import
com.sun.tools.javac.util.Log
;
import
com.sun.tools.javac.util.Name
;
import
com.sun.tools.javac.util.Options
;
import
java.net.URLClassLoader
;
import
java.net.URL
;
import
java.io.Closeable
;
import
java.io.File
;
import
java.io.PrintWriter
;
import
java.io.IOException
;
import
java.net.MalformedURLException
;
import
static
javax
.
tools
.
StandardLocation
.*;
/**
* Objects of this class hold and manage the state needed to support
...
...
src/share/classes/com/sun/tools/javac/util/DiagnosticFormatter.java
浏览文件 @
0e623b69
...
...
@@ -27,6 +27,7 @@ package com.sun.tools.javac.util;
import
javax.tools.JavaFileObject
;
import
com.sun.tools.javac.file.JavacFileManager
;
import
com.sun.tools.javac.util.JCDiagnostic.DiagnosticSource
;
import
com.sun.tools.javac.util.JCDiagnostic.DiagnosticType
;
...
...
src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
浏览文件 @
0e623b69
...
...
@@ -25,17 +25,13 @@
package
com.sun.tools.javac.util
;
import
java.net.URI
;
import
java.text.MessageFormat
;
import
java.util.Locale
;
import
java.util.Map
;
import
java.util.MissingResourceException
;
import
java.util.ResourceBundle
;
import
javax.tools.Diagnostic
;
import
javax.tools.FileObject
;
import
javax.tools.JavaFileObject
;
import
com.sun.tools.javac.file.JavacFileManager
;
import
com.sun.tools.javac.tree.JCTree
;
import
static
com
.
sun
.
tools
.
javac
.
util
.
JCDiagnostic
.
DiagnosticType
.*;
...
...
src/share/classes/com/sun/tools/javac/util/Log.java
浏览文件 @
0e623b69
...
...
@@ -33,11 +33,14 @@ import java.util.Map;
import
java.util.Set
;
import
javax.tools.DiagnosticListener
;
import
javax.tools.JavaFileObject
;
import
com.sun.tools.javac.code.Source
;
import
com.sun.tools.javac.file.JavacFileManager
;
import
com.sun.tools.javac.tree.JCTree
;
import
com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition
;
import
com.sun.tools.javac.util.JCDiagnostic.DiagnosticType
;
import
com.sun.tools.javac.util.JCDiagnostic.SimpleDiagnosticPosition
;
import
static
com
.
sun
.
tools
.
javac
.
util
.
LayoutCharacters
.*;
/** A class for error logs. Reports errors and warnings, and
...
...
src/share/classes/com/sun/tools/javadoc/JavadocClassReader.java
浏览文件 @
0e623b69
...
...
@@ -26,10 +26,10 @@
package
com.sun.tools.javadoc
;
import
com.sun.tools.javac.code.Symbol.PackageSymbol
;
import
com.sun.tools.javac.file.JavacFileManager
;
import
com.sun.tools.javac.file.Old199
;
import
com.sun.tools.javac.jvm.ClassReader
;
import
com.sun.tools.javac.util.Context
;
import
com.sun.tools.javac.util.JavacFileManager
;
import
com.sun.tools.javac.util.Old199
;
import
java.io.File
;
import
java.util.EnumSet
;
...
...
src/share/classes/com/sun/tools/javadoc/JavadocTool.java
浏览文件 @
0e623b69
...
...
@@ -29,19 +29,14 @@ import java.io.*;
import
java.util.Collection
;
import
com.sun.tools.javac.code.*
;
import
com.sun.tools.javac.code.Symbol.*
;
import
com.sun.tools.javac.comp.*
;
import
com.sun.tools.javac.jvm.ClassReader
;
import
com.sun.tools.javac.jvm.ClassWriter
;
import
com.sun.tools.javac.file.Paths
;
import
com.sun.tools.javac.parser.DocCommentScanner
;
import
com.sun.tools.javac.util.Paths
;
import
com.sun.tools.javac.tree.*
;
import
com.sun.tools.javac.tree.JCTree.*
;
import
com.sun.tools.javac.util.*
;
import
com.sun.javadoc.LanguageVersion
;
import
static
com
.
sun
.
javadoc
.
LanguageVersion
.*;
/**
* This class could be the main entry point for Javadoc when Javadoc is used as a
...
...
@@ -147,7 +142,7 @@ public class JavadocTool extends com.sun.tools.javac.main.JavaCompiler {
}
else
if
(
isValidPackageName
(
name
))
{
names
=
names
.
append
(
name
);
}
else
if
(
name
.
endsWith
(
".java"
))
{
docenv
.
error
(
null
,
"main.file_not_found"
,
name
);
;
docenv
.
error
(
null
,
"main.file_not_found"
,
name
);
}
else
{
docenv
.
error
(
null
,
"main.illegal_package_name"
,
name
);
}
...
...
src/share/classes/com/sun/tools/javap/JavapFileManager.java
浏览文件 @
0e623b69
...
...
@@ -32,9 +32,9 @@ import javax.tools.Diagnostic;
import
javax.tools.DiagnosticListener
;
import
javax.tools.JavaFileObject
;
import
com.sun.tools.javac.file.JavacFileManager
;
import
com.sun.tools.javac.util.Context
;
import
com.sun.tools.javac.util.JCDiagnostic
;
import
com.sun.tools.javac.util.JavacFileManager
;
/**
* javap's implementation of JavaFileManager.
...
...
test/tools/javac/6304921/TestLog.java
浏览文件 @
0e623b69
...
...
@@ -32,12 +32,12 @@ import java.io.OutputStream;
import
java.net.URI
;
import
javax.tools.JavaFileObject
;
import
javax.tools.SimpleJavaFileObject
;
import
com.sun.tools.javac.file.JavacFileManager
;
import
com.sun.tools.javac.parser.Parser
;
import
com.sun.tools.javac.parser.Scanner
;
import
com.sun.tools.javac.tree.JCTree
;
import
com.sun.tools.javac.tree.TreeScanner
;
import
com.sun.tools.javac.util.Context
;
import
com.sun.tools.javac.util.JavacFileManager
;
import
com.sun.tools.javac.util.Log
;
import
com.sun.tools.javac.util.JCDiagnostic
;
import
com.sun.tools.javac.util.Options
;
...
...
test/tools/javac/6589361/T6589361.java
浏览文件 @
0e623b69
...
...
@@ -4,8 +4,8 @@
* @summary 6589361:Failing building ct.sym file as part of the control build
*/
import
com.sun.tools.javac.file.JavacFileManager
;
import
com.sun.tools.javac.util.Context
;
import
com.sun.tools.javac.util.JavacFileManager
;
import
java.io.File
;
import
javax.tools.FileObject
;
import
javax.tools.JavaFileObject
;
...
...
test/tools/javac/T6358024.java
浏览文件 @
0e623b69
...
...
@@ -35,6 +35,7 @@ import javax.lang.model.element.*;
import
javax.tools.*
;
import
com.sun.source.util.*
;
import
com.sun.tools.javac.api.*
;
import
com.sun.tools.javac.file.*
;
import
com.sun.tools.javac.main.*
;
import
com.sun.tools.javac.util.*
;
...
...
test/tools/javac/T6358166.java
浏览文件 @
0e623b69
...
...
@@ -32,6 +32,7 @@ import java.util.*;
import
javax.annotation.processing.*
;
import
javax.lang.model.element.*
;
import
javax.tools.*
;
import
com.sun.tools.javac.file.*
;
import
com.sun.tools.javac.main.JavaCompiler
;
import
com.sun.tools.javac.main.*
;
import
com.sun.tools.javac.util.*
;
...
...
test/tools/javac/T6358168.java
浏览文件 @
0e623b69
...
...
@@ -33,6 +33,7 @@ import java.util.*;
import
javax.annotation.processing.*
;
import
javax.lang.model.element.*
;
import
javax.tools.*
;
import
com.sun.tools.javac.file.*
;
import
com.sun.tools.javac.main.JavaCompiler
;
import
com.sun.tools.javac.main.*
;
import
com.sun.tools.javac.util.*
;
...
...
test/tools/javac/T6705935.java
浏览文件 @
0e623b69
...
...
@@ -30,7 +30,7 @@
import
java.io.*
;
import
java.util.*
;
import
javax.tools.*
;
import
com.sun.tools.javac.
util
.*
;
import
com.sun.tools.javac.
file
.*
;
public
class
T6705935
{
public
static
void
main
(
String
...
args
)
throws
Exception
{
...
...
test/tools/javac/api/T6358786.java
浏览文件 @
0e623b69
...
...
@@ -30,7 +30,7 @@
*/
import
com.sun.tools.javac.api.JavacTaskImpl
;
import
com.sun.tools.javac.
util
.JavacFileManager
;
import
com.sun.tools.javac.
file
.JavacFileManager
;
import
java.util.Arrays
;
import
javax.lang.model.util.Elements
;
...
...
test/tools/javac/api/TestResolveIdent.java
浏览文件 @
0e623b69
...
...
@@ -30,8 +30,8 @@
*/
import
com.sun.tools.javac.api.JavacTaskImpl
;
import
com.sun.tools.javac.file.JavacFileManager
;
import
com.sun.tools.javac.main.JavaCompiler
;
import
com.sun.tools.javac.util.JavacFileManager
;
import
java.io.File
;
import
java.io.IOException
;
import
javax.lang.model.element.TypeElement
;
...
...
test/tools/javac/util/filemanager/TestName.java
浏览文件 @
0e623b69
...
...
@@ -29,7 +29,7 @@
* @author Peter von der Ah\u00e9
*/
import
com.sun.tools.javac.
util
.JavacFileManager
;
import
com.sun.tools.javac.
file
.JavacFileManager
;
public
class
TestName
{
public
static
void
main
(
String
...
args
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录