Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
d0615577
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看板
提交
d0615577
编写于
9月 19, 2008
作者:
C
chegar
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6746836: java.net exception classes don't specify serialVersionUID
Reviewed-by: alanb, jccollet
上级
d0d8afd9
变更
27
显示空白变更内容
内联
并排
Showing
27 changed file
with
61 addition
and
30 deletion
+61
-30
make/sun/net/spi/Makefile
make/sun/net/spi/Makefile
+0
-4
make/sun/net/spi/nameservice/Makefile
make/sun/net/spi/nameservice/Makefile
+0
-4
make/sun/net/spi/nameservice/dns/Makefile
make/sun/net/spi/nameservice/dns/Makefile
+1
-1
src/share/classes/java/net/BindException.java
src/share/classes/java/net/BindException.java
+2
-1
src/share/classes/java/net/ConnectException.java
src/share/classes/java/net/ConnectException.java
+3
-1
src/share/classes/java/net/HttpRetryException.java
src/share/classes/java/net/HttpRetryException.java
+2
-1
src/share/classes/java/net/MalformedURLException.java
src/share/classes/java/net/MalformedURLException.java
+3
-1
src/share/classes/java/net/NoRouteToHostException.java
src/share/classes/java/net/NoRouteToHostException.java
+3
-1
src/share/classes/java/net/PortUnreachableException.java
src/share/classes/java/net/PortUnreachableException.java
+2
-1
src/share/classes/java/net/ProtocolException.java
src/share/classes/java/net/ProtocolException.java
+3
-1
src/share/classes/java/net/SocketException.java
src/share/classes/java/net/SocketException.java
+3
-1
src/share/classes/java/net/SocketTimeoutException.java
src/share/classes/java/net/SocketTimeoutException.java
+2
-1
src/share/classes/java/net/URISyntaxException.java
src/share/classes/java/net/URISyntaxException.java
+3
-1
src/share/classes/java/net/UnknownHostException.java
src/share/classes/java/net/UnknownHostException.java
+3
-1
src/share/classes/java/net/UnknownServiceException.java
src/share/classes/java/net/UnknownServiceException.java
+3
-1
src/share/classes/sun/net/ConnectionResetException.java
src/share/classes/sun/net/ConnectionResetException.java
+3
-2
src/share/classes/sun/net/ProgressEvent.java
src/share/classes/sun/net/ProgressEvent.java
+1
-0
src/share/classes/sun/net/TelnetProtocolException.java
src/share/classes/sun/net/TelnetProtocolException.java
+3
-1
src/share/classes/sun/net/ftp/FtpLoginException.java
src/share/classes/sun/net/ftp/FtpLoginException.java
+3
-1
src/share/classes/sun/net/ftp/FtpProtocolException.java
src/share/classes/sun/net/ftp/FtpProtocolException.java
+3
-1
src/share/classes/sun/net/httpserver/HttpError.java
src/share/classes/sun/net/httpserver/HttpError.java
+3
-1
src/share/classes/sun/net/httpserver/StreamClosedException.java
...are/classes/sun/net/httpserver/StreamClosedException.java
+2
-1
src/share/classes/sun/net/smtp/SmtpProtocolException.java
src/share/classes/sun/net/smtp/SmtpProtocolException.java
+3
-1
src/share/classes/sun/net/www/ApplicationLaunchException.java
...share/classes/sun/net/www/ApplicationLaunchException.java
+3
-1
src/share/classes/sun/net/www/http/KeepAliveStreamCleaner.java
...hare/classes/sun/net/www/http/KeepAliveStreamCleaner.java
+1
-0
src/share/classes/sun/net/www/protocol/http/DigestAuthentication.java
...asses/sun/net/www/protocol/http/DigestAuthentication.java
+2
-0
src/solaris/classes/sun/net/www/protocol/http/NTLMAuthentication.java
...classes/sun/net/www/protocol/http/NTLMAuthentication.java
+1
-0
未找到文件。
make/sun/net/spi/Makefile
浏览文件 @
d0615577
...
...
@@ -23,10 +23,6 @@
# have any questions.
#
#
# Makefile for building com/sun
#
BUILDDIR
=
../../..
include
$(BUILDDIR)/common/Defs.gmk
...
...
make/sun/net/spi/nameservice/Makefile
浏览文件 @
d0615577
...
...
@@ -23,10 +23,6 @@
# have any questions.
#
#
# Makefile for building com/sun
#
BUILDDIR
=
../../../..
include
$(BUILDDIR)/common/Defs.gmk
...
...
make/sun/net/spi/nameservice/dns/Makefile
浏览文件 @
d0615577
...
...
@@ -24,7 +24,7 @@
#
#
# Makefile for building JNDI
service provider toolkit
# Makefile for building JNDI
DNS name service provider
#
BUILDDIR
=
../../../../..
...
...
src/share/classes/java/net/BindException.java
浏览文件 @
d0615577
/*
* Copyright 1996-
1997
Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1996-
2008
Sun Microsystems, Inc. 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
...
...
@@ -34,6 +34,7 @@ package java.net;
*/
public
class
BindException
extends
SocketException
{
private
static
final
long
serialVersionUID
=
-
5945005768251722951L
;
/**
* Constructs a new BindException with the specified detail
...
...
src/share/classes/java/net/ConnectException.java
浏览文件 @
d0615577
/*
* Copyright 1996-
1997
Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1996-
2008
Sun Microsystems, Inc. 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
...
...
@@ -34,6 +34,8 @@ package java.net;
* @since JDK1.1
*/
public
class
ConnectException
extends
SocketException
{
private
static
final
long
serialVersionUID
=
3831404271622369215L
;
/**
* Constructs a new ConnectException with the specified detail
* message as to why the connect error occurred.
...
...
src/share/classes/java/net/HttpRetryException.java
浏览文件 @
d0615577
/*
* Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2004
-2008
Sun Microsystems, Inc. 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
...
...
@@ -37,6 +37,7 @@ import java.io.IOException;
*/
public
class
HttpRetryException
extends
IOException
{
private
static
final
long
serialVersionUID
=
-
9186022286469111381L
;
private
int
responseCode
;
private
String
location
;
...
...
src/share/classes/java/net/MalformedURLException.java
浏览文件 @
d0615577
/*
* Copyright 1995-
1997
Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1995-
2008
Sun Microsystems, Inc. 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
...
...
@@ -36,6 +36,8 @@ import java.io.IOException;
* @since JDK1.0
*/
public
class
MalformedURLException
extends
IOException
{
private
static
final
long
serialVersionUID
=
-
182787522200415866L
;
/**
* Constructs a <code>MalformedURLException</code> with no detail message.
*/
...
...
src/share/classes/java/net/NoRouteToHostException.java
浏览文件 @
d0615577
/*
* Copyright 1996-
1997
Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1996-
2008
Sun Microsystems, Inc. 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
...
...
@@ -34,6 +34,8 @@ package java.net;
* @since JDK1.1
*/
public
class
NoRouteToHostException
extends
SocketException
{
private
static
final
long
serialVersionUID
=
-
1897550894873493790L
;
/**
* Constructs a new NoRouteToHostException with the specified detail
* message as to why the remote host cannot be reached.
...
...
src/share/classes/java/net/PortUnreachableException.java
浏览文件 @
d0615577
/*
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2001
-2008
Sun Microsystems, Inc. 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
...
...
@@ -33,6 +33,7 @@ package java.net;
*/
public
class
PortUnreachableException
extends
SocketException
{
private
static
final
long
serialVersionUID
=
8462541992376507323L
;
/**
* Constructs a new <code>PortUnreachableException</code> with a
...
...
src/share/classes/java/net/ProtocolException.java
浏览文件 @
d0615577
/*
* Copyright 1995-
1997
Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1995-
2008
Sun Microsystems, Inc. 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
...
...
@@ -36,6 +36,8 @@ import java.io.IOException;
*/
public
class
ProtocolException
extends
IOException
{
private
static
final
long
serialVersionUID
=
-
6098449442062388080L
;
/**
* Constructs a new <code>ProtocolException</code> with the
* specified detail message.
...
...
src/share/classes/java/net/SocketException.java
浏览文件 @
d0615577
/*
* Copyright 1995-200
6
Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1995-200
8
Sun Microsystems, Inc. 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
...
...
@@ -35,6 +35,8 @@ import java.io.IOException;
*/
public
class
SocketException
extends
IOException
{
private
static
final
long
serialVersionUID
=
-
5935874303556886934L
;
/**
* Constructs a new <code>SocketException</code> with the
* specified detail message.
...
...
src/share/classes/java/net/SocketTimeoutException.java
浏览文件 @
d0615577
/*
* Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000
-2008
Sun Microsystems, Inc. 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
...
...
@@ -32,6 +32,7 @@ package java.net;
*/
public
class
SocketTimeoutException
extends
java
.
io
.
InterruptedIOException
{
private
static
final
long
serialVersionUID
=
-
8846654841826352300L
;
/**
* Constructs a new SocketTimeoutException with a detail
...
...
src/share/classes/java/net/URISyntaxException.java
浏览文件 @
d0615577
/*
* Copyright 2000-200
6
Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-200
8
Sun Microsystems, Inc. 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
...
...
@@ -38,6 +38,8 @@ package java.net;
public
class
URISyntaxException
extends
Exception
{
private
static
final
long
serialVersionUID
=
2137979680897488891L
;
private
String
input
;
private
int
index
;
...
...
src/share/classes/java/net/UnknownHostException.java
浏览文件 @
d0615577
/*
* Copyright 1995-
1997
Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1995-
2008
Sun Microsystems, Inc. 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
...
...
@@ -35,6 +35,8 @@ import java.io.IOException;
*/
public
class
UnknownHostException
extends
IOException
{
private
static
final
long
serialVersionUID
=
-
4639126076052875403L
;
/**
* Constructs a new <code>UnknownHostException</code> with the
* specified detail message.
...
...
src/share/classes/java/net/UnknownServiceException.java
浏览文件 @
d0615577
/*
* Copyright 1995-
1997
Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1995-
2008
Sun Microsystems, Inc. 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
...
...
@@ -37,6 +37,8 @@ import java.io.IOException;
* @since JDK1.0
*/
public
class
UnknownServiceException
extends
IOException
{
private
static
final
long
serialVersionUID
=
-
4169033248853639508L
;
/**
* Constructs a new <code>UnknownServiceException</code> with no
* detail message.
...
...
src/share/classes/sun/net/ConnectionResetException.java
浏览文件 @
d0615577
/*
* Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2002
-2008
Sun Microsystems, Inc. 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
...
...
@@ -30,10 +30,11 @@ import java.net.SocketException;
/**
* Thrown to indicate a connection reset.
*
* @since 1.4
* @since 1.4
.1
*/
public
class
ConnectionResetException
extends
SocketException
{
private
static
final
long
serialVersionUID
=
-
7633185991801851556L
;
public
ConnectionResetException
(
String
msg
)
{
super
(
msg
);
...
...
src/share/classes/sun/net/ProgressEvent.java
浏览文件 @
d0615577
...
...
@@ -32,6 +32,7 @@ import java.net.URL;
*
* @author Stanley Man-Kit Ho
*/
@SuppressWarnings
(
"serial"
)
// never serialized
public
class
ProgressEvent
extends
EventObject
{
// URL of the stream
private
URL
url
;
...
...
src/share/classes/sun/net/TelnetProtocolException.java
浏览文件 @
d0615577
/*
* Copyright 1994-
1995
Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1994-
2008
Sun Microsystems, Inc. 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
...
...
@@ -35,6 +35,8 @@ import java.io.*;
*/
public
class
TelnetProtocolException
extends
IOException
{
private
static
final
long
serialVersionUID
=
8509127047257111343L
;
public
TelnetProtocolException
(
String
s
)
{
super
(
s
);
}
...
...
src/share/classes/sun/net/ftp/FtpLoginException.java
浏览文件 @
d0615577
/*
* Copyright 1994-
1995
Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1994-
2008
Sun Microsystems, Inc. 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
...
...
@@ -34,6 +34,8 @@ import java.io.*;
* @author Jonathan Payne
*/
public
class
FtpLoginException
extends
FtpProtocolException
{
private
static
final
long
serialVersionUID
=
2218162403237941536L
;
FtpLoginException
(
String
s
)
{
super
(
s
);
}
...
...
src/share/classes/sun/net/ftp/FtpProtocolException.java
浏览文件 @
d0615577
/*
* Copyright 1994-
1995
Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1994-
2008
Sun Microsystems, Inc. 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
...
...
@@ -34,6 +34,8 @@ import java.io.*;
* @author Jonathan Payne
*/
public
class
FtpProtocolException
extends
IOException
{
private
static
final
long
serialVersionUID
=
5978077070276545054L
;
FtpProtocolException
(
String
s
)
{
super
(
s
);
}
...
...
src/share/classes/sun/net/httpserver/HttpError.java
浏览文件 @
d0615577
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2005
-2008
Sun Microsystems, Inc. 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
...
...
@@ -29,6 +29,8 @@ package sun.net.httpserver;
* A Http error
*/
class
HttpError
extends
RuntimeException
{
private
static
final
long
serialVersionUID
=
8769596371344178179L
;
public
HttpError
(
String
msg
)
{
super
(
msg
);
}
...
...
src/share/classes/sun/net/httpserver/StreamClosedException.java
浏览文件 @
d0615577
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2005
-2008
Sun Microsystems, Inc. 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
...
...
@@ -28,4 +28,5 @@ package sun.net.httpserver;
import
java.io.*
;
class
StreamClosedException
extends
IOException
{
private
static
final
long
serialVersionUID
=
-
4485921499356327937L
;
}
src/share/classes/sun/net/smtp/SmtpProtocolException.java
浏览文件 @
d0615577
/*
* Copyright 1995 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1995
-2008
Sun Microsystems, Inc. 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
...
...
@@ -32,6 +32,8 @@ import java.io.IOException;
* an SMTP session.
*/
public
class
SmtpProtocolException
extends
IOException
{
private
static
final
long
serialVersionUID
=
-
7547136771133814908L
;
SmtpProtocolException
(
String
s
)
{
super
(
s
);
}
...
...
src/share/classes/sun/net/www/ApplicationLaunchException.java
浏览文件 @
d0615577
/*
* Copyright 1996 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1996
-2008
Sun Microsystems, Inc. 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
...
...
@@ -33,6 +33,8 @@ package sun.net.www;
*/
public
class
ApplicationLaunchException
extends
Exception
{
private
static
final
long
serialVersionUID
=
-
4782286141289536883L
;
public
ApplicationLaunchException
(
String
reason
)
{
super
(
reason
);
}
...
...
src/share/classes/sun/net/www/http/KeepAliveStreamCleaner.java
浏览文件 @
d0615577
...
...
@@ -43,6 +43,7 @@ import java.security.PrivilegedAction;
* @author Chris Hegarty
*/
@SuppressWarnings
(
"serial"
)
// never serialized
public
class
KeepAliveStreamCleaner
extends
LinkedBlockingQueue
<
KeepAliveCleanerEntry
>
implements
Runnable
{
// maximum amount of remaining data that we will try to cleanup
...
...
src/share/classes/sun/net/www/protocol/http/DigestAuthentication.java
浏览文件 @
d0615577
...
...
@@ -59,6 +59,8 @@ class DigestAuthentication extends AuthenticationInfo {
// instances as a result of a single authorization (for multiple domains)
static
class
Parameters
implements
java
.
io
.
Serializable
{
private
static
final
long
serialVersionUID
=
-
3584543755194526252L
;
private
boolean
serverQop
;
// server proposed qop=auth
private
String
opaque
;
private
String
cnonce
;
...
...
src/solaris/classes/sun/net/www/protocol/http/NTLMAuthentication.java
浏览文件 @
d0615577
...
...
@@ -64,6 +64,7 @@ import java.net.*;
*/
class
NTLMAuthentication
extends
AuthenticationInfo
{
private
static
final
long
serialVersionUID
=
-
2403849171106437142L
;
static
char
NTLM_AUTH
=
'N'
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录