Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
a6653458
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
a6653458
编写于
10月 08, 2013
作者:
V
valeriep
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8025967: addition of -Werror broke the old build
Summary: Fixed and suppressed compiler warnings on rawtypes Reviewed-by: vinnie
上级
3f8c1660
变更
19
隐藏空白更改
内联
并排
Showing
19 changed file
with
26 addition
and
12 deletion
+26
-12
src/share/classes/com/sun/jndi/ldap/LdapCtxFactory.java
src/share/classes/com/sun/jndi/ldap/LdapCtxFactory.java
+1
-1
src/share/classes/com/sun/jndi/ldap/LdapPoolManager.java
src/share/classes/com/sun/jndi/ldap/LdapPoolManager.java
+1
-1
src/share/classes/com/sun/net/ssl/internal/www/protocol/https/HttpsURLConnectionOldImpl.java
...nternal/www/protocol/https/HttpsURLConnectionOldImpl.java
+1
-0
src/share/classes/java/lang/instrument/Instrumentation.java
src/share/classes/java/lang/instrument/Instrumentation.java
+2
-0
src/share/classes/java/net/ContentHandler.java
src/share/classes/java/net/ContentHandler.java
+1
-0
src/share/classes/javax/crypto/JceSecurityManager.java
src/share/classes/javax/crypto/JceSecurityManager.java
+1
-1
src/share/classes/sun/instrument/InstrumentationImpl.java
src/share/classes/sun/instrument/InstrumentationImpl.java
+4
-0
src/share/classes/sun/net/www/content/image/gif.java
src/share/classes/sun/net/www/content/image/gif.java
+1
-0
src/share/classes/sun/net/www/content/image/jpeg.java
src/share/classes/sun/net/www/content/image/jpeg.java
+1
-0
src/share/classes/sun/net/www/content/image/png.java
src/share/classes/sun/net/www/content/image/png.java
+1
-0
src/share/classes/sun/net/www/content/image/x_xbitmap.java
src/share/classes/sun/net/www/content/image/x_xbitmap.java
+1
-0
src/share/classes/sun/net/www/content/image/x_xpixmap.java
src/share/classes/sun/net/www/content/image/x_xpixmap.java
+1
-0
src/share/classes/sun/net/www/protocol/https/HttpsURLConnectionImpl.java
...es/sun/net/www/protocol/https/HttpsURLConnectionImpl.java
+1
-0
src/share/classes/sun/reflect/misc/MethodUtil.java
src/share/classes/sun/reflect/misc/MethodUtil.java
+2
-2
src/share/classes/sun/security/provider/AuthPolicyFile.java
src/share/classes/sun/security/provider/AuthPolicyFile.java
+1
-1
src/share/classes/sun/security/provider/SubjectCodeSource.java
...hare/classes/sun/security/provider/SubjectCodeSource.java
+1
-1
src/share/classes/sun/security/tools/jarsigner/Main.java
src/share/classes/sun/security/tools/jarsigner/Main.java
+1
-1
src/share/classes/sun/security/tools/keytool/Main.java
src/share/classes/sun/security/tools/keytool/Main.java
+1
-1
src/share/classes/sun/security/tools/policytool/PolicyTool.java
...are/classes/sun/security/tools/policytool/PolicyTool.java
+3
-3
未找到文件。
src/share/classes/com/sun/jndi/ldap/LdapCtxFactory.java
浏览文件 @
a6653458
...
...
@@ -237,7 +237,7 @@ final public class LdapCtxFactory implements ObjectFactory, InitialContextFactor
private
static
String
[]
getTypeNames
(
Class
<?>
currentClass
,
Vector
<
String
>
v
)
{
getClassesAux
(
currentClass
,
v
);
Class
[]
members
=
currentClass
.
getInterfaces
();
Class
<?>
[]
members
=
currentClass
.
getInterfaces
();
for
(
int
i
=
0
;
i
<
members
.
length
;
i
++)
{
getClassesAux
(
members
[
i
],
v
);
}
...
...
src/share/classes/com/sun/jndi/ldap/LdapPoolManager.java
浏览文件 @
a6653458
...
...
@@ -237,7 +237,7 @@ public final class LdapPoolManager {
!
socketFactory
.
equals
(
LdapCtx
.
DEFAULT_SSL_FACTORY
))
{
try
{
Class
<?>
socketFactoryClass
=
Obj
.
helper
.
loadClass
(
socketFactory
);
Class
[]
interfaces
=
socketFactoryClass
.
getInterfaces
();
Class
<?>
[]
interfaces
=
socketFactoryClass
.
getInterfaces
();
for
(
int
i
=
0
;
i
<
interfaces
.
length
;
i
++)
{
if
(
interfaces
[
i
].
getCanonicalName
().
equals
(
COMPARATOR
))
{
foundSockCmp
=
true
;
...
...
src/share/classes/com/sun/net/ssl/internal/www/protocol/https/HttpsURLConnectionOldImpl.java
浏览文件 @
a6653458
...
...
@@ -404,6 +404,7 @@ public class HttpsURLConnectionOldImpl
return
delegate
.
getContent
();
}
@SuppressWarnings
(
"rawtypes"
)
public
Object
getContent
(
Class
[]
classes
)
throws
IOException
{
return
delegate
.
getContent
(
classes
);
}
...
...
src/share/classes/java/lang/instrument/Instrumentation.java
浏览文件 @
a6653458
...
...
@@ -381,6 +381,7 @@ public interface Instrumentation {
*
* @return an array containing all the classes loaded by the JVM, zero-length if there are none
*/
@SuppressWarnings
(
"rawtypes"
)
Class
[]
getAllLoadedClasses
();
...
...
@@ -393,6 +394,7 @@ public interface Instrumentation {
* @return an array containing all the classes for which loader is an initiating loader,
* zero-length if there are none
*/
@SuppressWarnings
(
"rawtypes"
)
Class
[]
getInitiatedClasses
(
ClassLoader
loader
);
...
...
src/share/classes/java/net/ContentHandler.java
浏览文件 @
a6653458
...
...
@@ -96,6 +96,7 @@ abstract public class ContentHandler {
* @exception IOException if an I/O error occurs while reading the object.
* @since 1.3
*/
@SuppressWarnings
(
"rawtypes"
)
public
Object
getContent
(
URLConnection
urlc
,
Class
[]
classes
)
throws
IOException
{
Object
obj
=
getContent
(
urlc
);
...
...
src/share/classes/javax/crypto/JceSecurityManager.java
浏览文件 @
a6653458
...
...
@@ -230,7 +230,7 @@ final class JceSecurityManager extends SecurityManager {
// See bug 4341369 & 4334690 for more info.
boolean
isCallerTrusted
()
{
// Get the caller and its codebase.
Class
[]
context
=
getClassContext
();
Class
<?>
[]
context
=
getClassContext
();
URL
callerCodeBase
=
null
;
int
i
;
for
(
i
=
0
;
i
<
context
.
length
;
i
++)
{
...
...
src/share/classes/sun/instrument/InstrumentationImpl.java
浏览文件 @
a6653458
...
...
@@ -170,11 +170,13 @@ public class InstrumentationImpl implements Instrumentation {
redefineClasses0
(
mNativeAgent
,
definitions
);
}
@SuppressWarnings
(
"rawtypes"
)
public
Class
[]
getAllLoadedClasses
()
{
return
getAllLoadedClasses0
(
mNativeAgent
);
}
@SuppressWarnings
(
"rawtypes"
)
public
Class
[]
getInitiatedClasses
(
ClassLoader
loader
)
{
return
getInitiatedClasses0
(
mNativeAgent
,
loader
);
...
...
@@ -255,9 +257,11 @@ public class InstrumentationImpl implements Instrumentation {
redefineClasses0
(
long
nativeAgent
,
ClassDefinition
[]
definitions
)
throws
ClassNotFoundException
;
@SuppressWarnings
(
"rawtypes"
)
private
native
Class
[]
getAllLoadedClasses0
(
long
nativeAgent
);
@SuppressWarnings
(
"rawtypes"
)
private
native
Class
[]
getInitiatedClasses0
(
long
nativeAgent
,
ClassLoader
loader
);
...
...
src/share/classes/sun/net/www/content/image/gif.java
浏览文件 @
a6653458
...
...
@@ -37,6 +37,7 @@ public class gif extends ContentHandler {
return
new
URLImageSource
(
urlc
);
}
@SuppressWarnings
(
"rawtypes"
)
public
Object
getContent
(
URLConnection
urlc
,
Class
[]
classes
)
throws
IOException
{
Class
<?>[]
cls
=
classes
;
for
(
int
i
=
0
;
i
<
cls
.
length
;
i
++)
{
...
...
src/share/classes/sun/net/www/content/image/jpeg.java
浏览文件 @
a6653458
...
...
@@ -36,6 +36,7 @@ public class jpeg extends ContentHandler {
return
new
URLImageSource
(
urlc
);
}
@SuppressWarnings
(
"rawtypes"
)
public
Object
getContent
(
URLConnection
urlc
,
Class
[]
classes
)
throws
IOException
{
Class
<?>[]
cls
=
classes
;
for
(
int
i
=
0
;
i
<
cls
.
length
;
i
++)
{
...
...
src/share/classes/sun/net/www/content/image/png.java
浏览文件 @
a6653458
...
...
@@ -36,6 +36,7 @@ public class png extends ContentHandler {
return
new
URLImageSource
(
urlc
);
}
@SuppressWarnings
(
"rawtypes"
)
public
Object
getContent
(
URLConnection
urlc
,
Class
[]
classes
)
throws
IOException
{
Class
<?>[]
cls
=
classes
;
for
(
int
i
=
0
;
i
<
cls
.
length
;
i
++)
{
...
...
src/share/classes/sun/net/www/content/image/x_xbitmap.java
浏览文件 @
a6653458
...
...
@@ -35,6 +35,7 @@ public class x_xbitmap extends ContentHandler {
return
new
URLImageSource
(
urlc
);
}
@SuppressWarnings
(
"rawtypes"
)
public
Object
getContent
(
URLConnection
urlc
,
Class
[]
classes
)
throws
java
.
io
.
IOException
{
Class
<?>[]
cls
=
classes
;
for
(
int
i
=
0
;
i
<
cls
.
length
;
i
++)
{
...
...
src/share/classes/sun/net/www/content/image/x_xpixmap.java
浏览文件 @
a6653458
...
...
@@ -35,6 +35,7 @@ public class x_xpixmap extends ContentHandler {
return
new
URLImageSource
(
urlc
);
}
@SuppressWarnings
(
"rawtypes"
)
public
Object
getContent
(
URLConnection
urlc
,
Class
[]
classes
)
throws
java
.
io
.
IOException
{
Class
<?>[]
cls
=
classes
;
for
(
int
i
=
0
;
i
<
cls
.
length
;
i
++)
{
...
...
src/share/classes/sun/net/www/protocol/https/HttpsURLConnectionImpl.java
浏览文件 @
a6653458
...
...
@@ -434,6 +434,7 @@ public class HttpsURLConnectionImpl
return
delegate
.
getContent
();
}
@SuppressWarnings
(
"rawtypes"
)
public
Object
getContent
(
Class
[]
classes
)
throws
IOException
{
return
delegate
.
getContent
(
classes
);
}
...
...
src/share/classes/sun/reflect/misc/MethodUtil.java
浏览文件 @
a6653458
...
...
@@ -217,7 +217,7 @@ public final class MethodUtil extends SecureClassLoader {
*/
private
static
class
Signature
{
private
String
methodName
;
private
Class
[]
argClasses
;
private
Class
<?>
[]
argClasses
;
private
volatile
int
hashCode
=
0
;
...
...
@@ -299,7 +299,7 @@ public final class MethodUtil extends SecureClassLoader {
new
PrivilegedExceptionAction
<
Method
>()
{
public
Method
run
()
throws
Exception
{
Class
<?>
t
=
getTrampolineClass
();
Class
[]
types
=
{
Class
<?>
[]
types
=
{
Method
.
class
,
Object
.
class
,
Object
[].
class
};
Method
b
=
t
.
getDeclaredMethod
(
"invoke"
,
types
);
...
...
src/share/classes/sun/security/provider/AuthPolicyFile.java
浏览文件 @
a6653458
...
...
@@ -91,7 +91,7 @@ public class AuthPolicyFile extends javax.security.auth.Policy {
private
boolean
ignoreIdentityScope
=
true
;
// for use with the reflection API
private
static
final
Class
[]
PARAMS
=
{
String
.
class
,
String
.
class
};
private
static
final
Class
<?>
[]
PARAMS
=
{
String
.
class
,
String
.
class
};
/**
* Initializes the Policy object and reads the default policy
...
...
src/share/classes/sun/security/provider/SubjectCodeSource.java
浏览文件 @
a6653458
...
...
@@ -58,7 +58,7 @@ class SubjectCodeSource extends CodeSource implements java.io.Serializable {
private
Subject
subject
;
private
LinkedList
<
PrincipalEntry
>
principals
;
private
static
final
Class
[]
PARAMS
=
{
String
.
class
};
private
static
final
Class
<?>
[]
PARAMS
=
{
String
.
class
};
private
static
final
sun
.
security
.
util
.
Debug
debug
=
sun
.
security
.
util
.
Debug
.
getInstance
(
"auth"
,
"\t[Auth Access]"
);
private
ClassLoader
sysClassLoader
;
...
...
src/share/classes/sun/security/tools/jarsigner/Main.java
浏览文件 @
a6653458
...
...
@@ -93,7 +93,7 @@ public class Main {
// prefix for new signature-related files in META-INF directory
private
static
final
String
SIG_PREFIX
=
META_INF
+
"SIG-"
;
private
static
final
Class
[]
PARAM_STRING
=
{
String
.
class
};
private
static
final
Class
<?>
[]
PARAM_STRING
=
{
String
.
class
};
private
static
final
String
NONE
=
"NONE"
;
private
static
final
String
P11KEYSTORE
=
"PKCS11"
;
...
...
src/share/classes/sun/security/tools/keytool/Main.java
浏览文件 @
a6653458
...
...
@@ -309,7 +309,7 @@ public final class Main {
}
};
private
static
final
Class
[]
PARAM_STRING
=
{
String
.
class
};
private
static
final
Class
<?>
[]
PARAM_STRING
=
{
String
.
class
};
private
static
final
String
NONE
=
"NONE"
;
private
static
final
String
P11KEYSTORE
=
"PKCS11"
;
...
...
src/share/classes/sun/security/tools/policytool/PolicyTool.java
浏览文件 @
a6653458
...
...
@@ -77,9 +77,9 @@ public class PolicyTool {
boolean
modified
=
false
;
private
static
final
boolean
testing
=
false
;
private
static
final
Class
[]
TWOPARAMS
=
{
String
.
class
,
String
.
class
};
private
static
final
Class
[]
ONEPARAMS
=
{
String
.
class
};
private
static
final
Class
[]
NOPARAMS
=
{};
private
static
final
Class
<?>
[]
TWOPARAMS
=
{
String
.
class
,
String
.
class
};
private
static
final
Class
<?>
[]
ONEPARAMS
=
{
String
.
class
};
private
static
final
Class
<?>
[]
NOPARAMS
=
{};
/*
* All of the policy entries are read in from the
* policy file and stored here. Updates to the policy entries
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录