6746836: java.net exception classes don't specify serialVersionUID
Reviewed-by: alanb, jccollet
This commit is contained in:
parent
f6337de7b6
commit
9f7bdd313a
@ -23,10 +23,6 @@
|
|||||||
# have any questions.
|
# have any questions.
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
|
||||||
# Makefile for building com/sun
|
|
||||||
#
|
|
||||||
|
|
||||||
BUILDDIR = ../../..
|
BUILDDIR = ../../..
|
||||||
include $(BUILDDIR)/common/Defs.gmk
|
include $(BUILDDIR)/common/Defs.gmk
|
||||||
|
|
||||||
|
@ -23,10 +23,6 @@
|
|||||||
# have any questions.
|
# have any questions.
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
|
||||||
# Makefile for building com/sun
|
|
||||||
#
|
|
||||||
|
|
||||||
BUILDDIR = ../../../..
|
BUILDDIR = ../../../..
|
||||||
include $(BUILDDIR)/common/Defs.gmk
|
include $(BUILDDIR)/common/Defs.gmk
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# Makefile for building JNDI service provider toolkit
|
# Makefile for building JNDI DNS name service provider
|
||||||
#
|
#
|
||||||
|
|
||||||
BUILDDIR = ../../../../..
|
BUILDDIR = ../../../../..
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* 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 {
|
public class BindException extends SocketException {
|
||||||
|
private static final long serialVersionUID = -5945005768251722951L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new BindException with the specified detail
|
* Constructs a new BindException with the specified detail
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -34,6 +34,8 @@ package java.net;
|
|||||||
* @since JDK1.1
|
* @since JDK1.1
|
||||||
*/
|
*/
|
||||||
public class ConnectException extends SocketException {
|
public class ConnectException extends SocketException {
|
||||||
|
private static final long serialVersionUID = 3831404271622369215L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new ConnectException with the specified detail
|
* Constructs a new ConnectException with the specified detail
|
||||||
* message as to why the connect error occurred.
|
* message as to why the connect error occurred.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -37,6 +37,7 @@ import java.io.IOException;
|
|||||||
*/
|
*/
|
||||||
public
|
public
|
||||||
class HttpRetryException extends IOException {
|
class HttpRetryException extends IOException {
|
||||||
|
private static final long serialVersionUID = -9186022286469111381L;
|
||||||
|
|
||||||
private int responseCode;
|
private int responseCode;
|
||||||
private String location;
|
private String location;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -36,6 +36,8 @@ import java.io.IOException;
|
|||||||
* @since JDK1.0
|
* @since JDK1.0
|
||||||
*/
|
*/
|
||||||
public class MalformedURLException extends IOException {
|
public class MalformedURLException extends IOException {
|
||||||
|
private static final long serialVersionUID = -182787522200415866L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a <code>MalformedURLException</code> with no detail message.
|
* Constructs a <code>MalformedURLException</code> with no detail message.
|
||||||
*/
|
*/
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -34,6 +34,8 @@ package java.net;
|
|||||||
* @since JDK1.1
|
* @since JDK1.1
|
||||||
*/
|
*/
|
||||||
public class NoRouteToHostException extends SocketException {
|
public class NoRouteToHostException extends SocketException {
|
||||||
|
private static final long serialVersionUID = -1897550894873493790L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new NoRouteToHostException with the specified detail
|
* Constructs a new NoRouteToHostException with the specified detail
|
||||||
* message as to why the remote host cannot be reached.
|
* message as to why the remote host cannot be reached.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* 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 {
|
public class PortUnreachableException extends SocketException {
|
||||||
|
private static final long serialVersionUID = 8462541992376507323L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new <code>PortUnreachableException</code> with a
|
* Constructs a new <code>PortUnreachableException</code> with a
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -36,6 +36,8 @@ import java.io.IOException;
|
|||||||
*/
|
*/
|
||||||
public
|
public
|
||||||
class ProtocolException extends IOException {
|
class ProtocolException extends IOException {
|
||||||
|
private static final long serialVersionUID = -6098449442062388080L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new <code>ProtocolException</code> with the
|
* Constructs a new <code>ProtocolException</code> with the
|
||||||
* specified detail message.
|
* specified detail message.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 1995-2006 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -35,6 +35,8 @@ import java.io.IOException;
|
|||||||
*/
|
*/
|
||||||
public
|
public
|
||||||
class SocketException extends IOException {
|
class SocketException extends IOException {
|
||||||
|
private static final long serialVersionUID = -5935874303556886934L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new <code>SocketException</code> with the
|
* Constructs a new <code>SocketException</code> with the
|
||||||
* specified detail message.
|
* specified detail message.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* 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 {
|
public class SocketTimeoutException extends java.io.InterruptedIOException {
|
||||||
|
private static final long serialVersionUID = -8846654841826352300L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new SocketTimeoutException with a detail
|
* Constructs a new SocketTimeoutException with a detail
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2000-2006 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -38,6 +38,8 @@ package java.net;
|
|||||||
public class URISyntaxException
|
public class URISyntaxException
|
||||||
extends Exception
|
extends Exception
|
||||||
{
|
{
|
||||||
|
private static final long serialVersionUID = 2137979680897488891L;
|
||||||
|
|
||||||
private String input;
|
private String input;
|
||||||
private int index;
|
private int index;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -35,6 +35,8 @@ import java.io.IOException;
|
|||||||
*/
|
*/
|
||||||
public
|
public
|
||||||
class UnknownHostException extends IOException {
|
class UnknownHostException extends IOException {
|
||||||
|
private static final long serialVersionUID = -4639126076052875403L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new <code>UnknownHostException</code> with the
|
* Constructs a new <code>UnknownHostException</code> with the
|
||||||
* specified detail message.
|
* specified detail message.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -37,6 +37,8 @@ import java.io.IOException;
|
|||||||
* @since JDK1.0
|
* @since JDK1.0
|
||||||
*/
|
*/
|
||||||
public class UnknownServiceException extends IOException {
|
public class UnknownServiceException extends IOException {
|
||||||
|
private static final long serialVersionUID = -4169033248853639508L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new <code>UnknownServiceException</code> with no
|
* Constructs a new <code>UnknownServiceException</code> with no
|
||||||
* detail message.
|
* detail message.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* 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.
|
* Thrown to indicate a connection reset.
|
||||||
*
|
*
|
||||||
* @since 1.4
|
* @since 1.4.1
|
||||||
*/
|
*/
|
||||||
public
|
public
|
||||||
class ConnectionResetException extends SocketException {
|
class ConnectionResetException extends SocketException {
|
||||||
|
private static final long serialVersionUID = -7633185991801851556L;
|
||||||
|
|
||||||
public ConnectionResetException(String msg) {
|
public ConnectionResetException(String msg) {
|
||||||
super(msg);
|
super(msg);
|
||||||
|
@ -32,6 +32,7 @@ import java.net.URL;
|
|||||||
*
|
*
|
||||||
* @author Stanley Man-Kit Ho
|
* @author Stanley Man-Kit Ho
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("serial") // never serialized
|
||||||
public class ProgressEvent extends EventObject {
|
public class ProgressEvent extends EventObject {
|
||||||
// URL of the stream
|
// URL of the stream
|
||||||
private URL url;
|
private URL url;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* 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 {
|
public class TelnetProtocolException extends IOException {
|
||||||
|
private static final long serialVersionUID = 8509127047257111343L;
|
||||||
|
|
||||||
public TelnetProtocolException(String s) {
|
public TelnetProtocolException(String s) {
|
||||||
super(s);
|
super(s);
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -34,6 +34,8 @@ import java.io.*;
|
|||||||
* @author Jonathan Payne
|
* @author Jonathan Payne
|
||||||
*/
|
*/
|
||||||
public class FtpLoginException extends FtpProtocolException {
|
public class FtpLoginException extends FtpProtocolException {
|
||||||
|
private static final long serialVersionUID = 2218162403237941536L;
|
||||||
|
|
||||||
FtpLoginException(String s) {
|
FtpLoginException(String s) {
|
||||||
super(s);
|
super(s);
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -34,6 +34,8 @@ import java.io.*;
|
|||||||
* @author Jonathan Payne
|
* @author Jonathan Payne
|
||||||
*/
|
*/
|
||||||
public class FtpProtocolException extends IOException {
|
public class FtpProtocolException extends IOException {
|
||||||
|
private static final long serialVersionUID = 5978077070276545054L;
|
||||||
|
|
||||||
FtpProtocolException(String s) {
|
FtpProtocolException(String s) {
|
||||||
super(s);
|
super(s);
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -29,6 +29,8 @@ package sun.net.httpserver;
|
|||||||
* A Http error
|
* A Http error
|
||||||
*/
|
*/
|
||||||
class HttpError extends RuntimeException {
|
class HttpError extends RuntimeException {
|
||||||
|
private static final long serialVersionUID = 8769596371344178179L;
|
||||||
|
|
||||||
public HttpError (String msg) {
|
public HttpError (String msg) {
|
||||||
super (msg);
|
super (msg);
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -28,4 +28,5 @@ package sun.net.httpserver;
|
|||||||
import java.io.*;
|
import java.io.*;
|
||||||
|
|
||||||
class StreamClosedException extends IOException {
|
class StreamClosedException extends IOException {
|
||||||
|
private static final long serialVersionUID = -4485921499356327937L;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -32,6 +32,8 @@ import java.io.IOException;
|
|||||||
* an SMTP session.
|
* an SMTP session.
|
||||||
*/
|
*/
|
||||||
public class SmtpProtocolException extends IOException {
|
public class SmtpProtocolException extends IOException {
|
||||||
|
private static final long serialVersionUID = -7547136771133814908L;
|
||||||
|
|
||||||
SmtpProtocolException(String s) {
|
SmtpProtocolException(String s) {
|
||||||
super(s);
|
super(s);
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* 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 {
|
public class ApplicationLaunchException extends Exception {
|
||||||
|
private static final long serialVersionUID = -4782286141289536883L;
|
||||||
|
|
||||||
public ApplicationLaunchException(String reason) {
|
public ApplicationLaunchException(String reason) {
|
||||||
super(reason);
|
super(reason);
|
||||||
}
|
}
|
||||||
|
@ -43,6 +43,7 @@ import java.security.PrivilegedAction;
|
|||||||
* @author Chris Hegarty
|
* @author Chris Hegarty
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@SuppressWarnings("serial") // never serialized
|
||||||
public class KeepAliveStreamCleaner extends LinkedBlockingQueue<KeepAliveCleanerEntry> implements Runnable
|
public class KeepAliveStreamCleaner extends LinkedBlockingQueue<KeepAliveCleanerEntry> implements Runnable
|
||||||
{
|
{
|
||||||
// maximum amount of remaining data that we will try to cleanup
|
// maximum amount of remaining data that we will try to cleanup
|
||||||
|
@ -59,6 +59,8 @@ class DigestAuthentication extends AuthenticationInfo {
|
|||||||
// instances as a result of a single authorization (for multiple domains)
|
// instances as a result of a single authorization (for multiple domains)
|
||||||
|
|
||||||
static class Parameters implements java.io.Serializable {
|
static class Parameters implements java.io.Serializable {
|
||||||
|
private static final long serialVersionUID = -3584543755194526252L;
|
||||||
|
|
||||||
private boolean serverQop; // server proposed qop=auth
|
private boolean serverQop; // server proposed qop=auth
|
||||||
private String opaque;
|
private String opaque;
|
||||||
private String cnonce;
|
private String cnonce;
|
||||||
|
@ -64,6 +64,7 @@ import java.net.*;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
class NTLMAuthentication extends AuthenticationInfo {
|
class NTLMAuthentication extends AuthenticationInfo {
|
||||||
|
private static final long serialVersionUID = -2403849171106437142L;
|
||||||
|
|
||||||
static char NTLM_AUTH = 'N';
|
static char NTLM_AUTH = 'N';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user