8037174: Fix serial lint warnings in sun.applet
Reviewed-by: alanb, pchelko
This commit is contained in:
parent
26664e596d
commit
0463ed5369
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. 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,7 +33,7 @@ import java.util.EventObject;
|
|||||||
*
|
*
|
||||||
* @author Sunita Mani
|
* @author Sunita Mani
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("serial") // JDK-implementation class
|
||||||
public class AppletEvent extends EventObject {
|
public class AppletEvent extends EventObject {
|
||||||
|
|
||||||
private Object arg;
|
private Object arg;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1996, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1996, 2014, Oracle and/or its affiliates. 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 @@ import java.io.IOException;
|
|||||||
*
|
*
|
||||||
* @author Koji Uno
|
* @author Koji Uno
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("serial") // JDK implementation class
|
||||||
public
|
public
|
||||||
class AppletIOException extends IOException {
|
class AppletIOException extends IOException {
|
||||||
private String key = null;
|
private String key = null;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1996, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1996, 2014, Oracle and/or its affiliates. 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,6 +30,7 @@ package sun.applet;
|
|||||||
*
|
*
|
||||||
* @author Arthur van Hoff
|
* @author Arthur van Hoff
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("serial") // JDK implementation class
|
||||||
public
|
public
|
||||||
class AppletIllegalArgumentException extends IllegalArgumentException {
|
class AppletIllegalArgumentException extends IllegalArgumentException {
|
||||||
private String key = null;
|
private String key = null;
|
||||||
|
@ -62,6 +62,7 @@ import sun.security.util.SecurityConstants;
|
|||||||
*
|
*
|
||||||
* @author Arthur van Hoff
|
* @author Arthur van Hoff
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("serial") // JDK implementation class
|
||||||
public
|
public
|
||||||
abstract class AppletPanel extends Panel implements AppletStub, Runnable {
|
abstract class AppletPanel extends Panel implements AppletStub, Runnable {
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@ import java.security.PrivilegedActionException;
|
|||||||
|
|
||||||
import sun.security.action.*;
|
import sun.security.action.*;
|
||||||
|
|
||||||
|
@SuppressWarnings("serial") // JDK implementation class
|
||||||
class AppletProps extends Frame {
|
class AppletProps extends Frame {
|
||||||
|
|
||||||
TextField proxyHost;
|
TextField proxyHost;
|
||||||
@ -194,7 +195,7 @@ class AppletProps extends Frame {
|
|||||||
|
|
||||||
/* 4066432 */
|
/* 4066432 */
|
||||||
/* Dialog class to display property-related errors to user */
|
/* Dialog class to display property-related errors to user */
|
||||||
|
@SuppressWarnings("serial") // JDK implementation class
|
||||||
class AppletPropsErrorDialog extends Dialog {
|
class AppletPropsErrorDialog extends Dialog {
|
||||||
public AppletPropsErrorDialog(Frame parent, String title, String message,
|
public AppletPropsErrorDialog(Frame parent, String title, String message,
|
||||||
String buttonText) {
|
String buttonText) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1995, 1998, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1995, 2014, Oracle and/or its affiliates. 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,6 +30,7 @@ package sun.applet;
|
|||||||
*
|
*
|
||||||
* @author Arthur van Hoff
|
* @author Arthur van Hoff
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("serial") // JDK-implementation class
|
||||||
public
|
public
|
||||||
class AppletSecurityException extends SecurityException {
|
class AppletSecurityException extends SecurityException {
|
||||||
private String key = null;
|
private String key = null;
|
||||||
|
@ -46,6 +46,7 @@ import java.lang.ref.WeakReference;
|
|||||||
/**
|
/**
|
||||||
* A frame to show the applet tag in.
|
* A frame to show the applet tag in.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("serial") // JDK-implementation class
|
||||||
class TextFrame extends Frame {
|
class TextFrame extends Frame {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -115,6 +116,7 @@ class StdAppletViewerFactory implements AppletViewerFactory
|
|||||||
* (The document named appletviewertags.html in the JDK's docs/tooldocs directory,
|
* (The document named appletviewertags.html in the JDK's docs/tooldocs directory,
|
||||||
* once the JDK docs have been installed.)
|
* once the JDK docs have been installed.)
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("serial") // JDK implementation class
|
||||||
public class AppletViewer extends Frame implements AppletContext,
|
public class AppletViewer extends Frame implements AppletContext,
|
||||||
Printable {
|
Printable {
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1999, 2014, Oracle and/or its affiliates. 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
|
||||||
@ -512,6 +512,7 @@ public class Main {
|
|||||||
return amh.getMessage(key, arg0, arg1, arg2);
|
return amh.getMessage(key, arg0, arg1, arg2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("serial") // JDK implementation class
|
||||||
class ParseException extends RuntimeException
|
class ParseException extends RuntimeException
|
||||||
{
|
{
|
||||||
public ParseException(String msg) {
|
public ParseException(String msg) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user