--- a/make/gensrc/Gensrc-java.desktop.gmk Mon Jun 04 10:54:20 2018 -0700
+++ b/make/gensrc/Gensrc-java.desktop.gmk Mon Jun 04 19:01:16 2018 -0700
@@ -78,13 +78,6 @@
GENSRC_JAVA_DESKTOP += $(COMPILE_PROPERTIES)
-# Some resources bundles are already present as java files but still need to be
-# copied to zh_HK locale.
-$(eval $(call SetupCopy-zh_HK,COPY_ZH_HK, \
- $(TOPDIR)/src/java.desktop/share/classes/sun/applet/resources/MsgAppletViewer_zh_TW.java))
-
-GENSRC_JAVA_DESKTOP += $(COPY_ZH_HK)
-
################################################################################
java.desktop: $(GENSRC_JAVA_DESKTOP)
--- a/src/java.desktop/share/classes/sun/applet/AppletClassLoader.java Mon Jun 04 10:54:20 2018 -0700
+++ b/src/java.desktop/share/classes/sun/applet/AppletClassLoader.java Mon Jun 04 19:01:16 2018 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1995, 2018, Oracle and/or its affiliates. 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
@@ -25,31 +25,28 @@
package sun.applet;
-import java.lang.NullPointerException;
-import java.net.URL;
-import java.net.URLClassLoader;
-import java.net.SocketPermission;
-import java.net.URLConnection;
-import java.net.MalformedURLException;
-import java.net.InetAddress;
-import java.net.UnknownHostException;
+import java.io.BufferedInputStream;
import java.io.EOFException;
import java.io.File;
import java.io.FilePermission;
import java.io.IOException;
-import java.io.BufferedInputStream;
import java.io.InputStream;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.net.URLClassLoader;
+import java.net.URLConnection;
+import java.security.AccessControlContext;
+import java.security.AccessController;
+import java.security.CodeSource;
+import java.security.Permission;
+import java.security.PermissionCollection;
+import java.security.PrivilegedAction;
+import java.security.PrivilegedActionException;
+import java.security.PrivilegedExceptionAction;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.NoSuchElementException;
-import java.security.AccessController;
-import java.security.AccessControlContext;
-import java.security.PrivilegedAction;
-import java.security.PrivilegedExceptionAction;
-import java.security.PrivilegedActionException;
-import java.security.CodeSource;
-import java.security.Permission;
-import java.security.PermissionCollection;
+
import sun.awt.AppContext;
import sun.awt.SunToolkit;
import sun.net.www.ParseUtil;
@@ -151,13 +148,10 @@
try {
return super.loadClass(name, resolve);
} catch (ClassNotFoundException e) {
- //printError(name, e.getException());
throw e;
} catch (RuntimeException e) {
- //printError(name, e);
throw e;
} catch (Error e) {
- //printError(name, e);
throw e;
}
}
@@ -825,30 +819,6 @@
{
return jdk12AppletInfo.get(clazz.toString());
}
-
- private static AppletMessageHandler mh =
- new AppletMessageHandler("appletclassloader");
-
- /*
- * Prints a class loading error message.
- */
- private static void printError(String name, Throwable e) {
- String s = null;
- if (e == null) {
- s = mh.getMessage("filenotfound", name);
- } else if (e instanceof IOException) {
- s = mh.getMessage("fileioexception", name);
- } else if (e instanceof ClassFormatError) {
- s = mh.getMessage("fileformat", name);
- } else if (e instanceof ThreadDeath) {
- s = mh.getMessage("filedeath", name);
- } else if (e instanceof Error) {
- s = mh.getMessage("fileerror", e.toString(), name);
- }
- if (s != null) {
- System.err.println(s);
- }
- }
}
/*
--- a/src/java.desktop/share/classes/sun/applet/AppletEvent.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-/*
- * Copyright (c) 1997, 2014, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package sun.applet;
-
-import java.util.EventObject;
-
-
-/**
- * AppletEvent class.
- *
- * @author Sunita Mani
- *
- * @deprecated The Applet API is deprecated. See the
- * <a href="../../java/applet/package-summary.html"> java.applet package
- * documentation</a> for further information.
- */
-@SuppressWarnings("serial") // JDK-implementation class
-@Deprecated(since = "9")
-public class AppletEvent extends EventObject {
-
- private Object arg;
- private int id;
-
-
- public AppletEvent(Object source, int id, Object argument) {
- super(source);
- this.arg = argument;
- this.id = id;
- }
-
- public int getID() {
- return id;
- }
-
- public Object getArgument() {
- return arg;
- }
-
- public String toString() {
- String str = getClass().getName() + "[source=" + source + " + id="+ id;
- if (arg != null) {
- str += " + arg=" + arg;
- }
- str += " ]";
- return str;
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/AppletEventMulticaster.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,132 +0,0 @@
-/*
- * Copyright (c) 1997, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package sun.applet;
-
-import java.util.EventListener;
-import java.io.Serializable;
-import java.io.ObjectOutputStream;
-import java.io.IOException;
-
-/**
- * AppletEventMulticaster class. This class manages an immutable
- * structure consisting of a chain of AppletListeners and is
- * responsible for dispatching events to them.
- *
- * @author Sunita Mani
- *
- * @deprecated The Applet API is deprecated. See the
- * <a href="../../java/applet/package-summary.html"> java.applet package
- * documentation</a> for further information.
- */
-@Deprecated(since = "9")
-public class AppletEventMulticaster implements AppletListener {
-
- private final AppletListener a, b;
-
- public AppletEventMulticaster(AppletListener a, AppletListener b) {
- this.a = a; this.b = b;
- }
-
- public void appletStateChanged(AppletEvent e) {
- a.appletStateChanged(e);
- b.appletStateChanged(e);
- }
-
- /**
- * Adds Applet-listener-a with Applet-listener-b and
- * returns the resulting multicast listener.
- * @param a Applet-listener-a
- * @param b Applet-listener-b
- */
- public static AppletListener add(AppletListener a, AppletListener b) {
- return addInternal(a, b);
- }
-
- /**
- * Removes the old Applet-listener from Applet-listener-l and
- * returns the resulting multicast listener.
- * @param l Applet-listener-l
- * @param oldl the Applet-listener being removed
- */
- public static AppletListener remove(AppletListener l, AppletListener oldl) {
- return removeInternal(l, oldl);
- }
-
- /**
- * Returns the resulting multicast listener from adding listener-a
- * and listener-b together.
- * If listener-a is null, it returns listener-b;
- * If listener-b is null, it returns listener-a
- * If neither are null, then it creates and returns
- * a new AppletEventMulticaster instance which chains a with b.
- * @param a event listener-a
- * @param b event listener-b
- */
- private static AppletListener addInternal(AppletListener a, AppletListener b) {
- if (a == null) return b;
- if (b == null) return a;
- return new AppletEventMulticaster(a, b);
- }
-
-
- /**
- * Removes a listener from this multicaster and returns the
- * resulting multicast listener.
- * @param oldl the listener to be removed
- */
- protected AppletListener remove(AppletListener oldl) {
- if (oldl == a) return b;
- if (oldl == b) return a;
- AppletListener a2 = removeInternal(a, oldl);
- AppletListener b2 = removeInternal(b, oldl);
- if (a2 == a && b2 == b) {
- return this; // it's not here
- }
- return addInternal(a2, b2);
- }
-
-
- /**
- * Returns the resulting multicast listener after removing the
- * old listener from listener-l.
- * If listener-l equals the old listener OR listener-l is null,
- * returns null.
- * Else if listener-l is an instance of AppletEventMulticaster
- * then it removes the old listener from it.
- * Else, returns listener l.
- * @param l the listener being removed from
- * @param oldl the listener being removed
- */
- private static AppletListener removeInternal(AppletListener l, AppletListener oldl) {
- if (l == oldl || l == null) {
- return null;
- } else if (l instanceof AppletEventMulticaster) {
- return ((AppletEventMulticaster)l).remove(oldl);
- } else {
- return l; // it's not here
- }
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/AppletIOException.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-/*
- * Copyright (c) 1996, 2014, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package sun.applet;
-
-import java.io.IOException;
-
-/**
- * An applet IO exception.
- *
- * @author Koji Uno
- *
- * @deprecated The Applet API is deprecated. See the
- * <a href="../../java/applet/package-summary.html"> java.applet package
- * documentation</a> for further information.
- */
-@SuppressWarnings("serial") // JDK implementation class
-@Deprecated(since = "9")
-public class AppletIOException extends IOException {
- private String key = null;
- private Object msgobj = null;
-
- public AppletIOException(String key) {
- super(key);
- this.key = key;
-
- }
- public AppletIOException(String key, Object arg) {
- this(key);
- msgobj = arg;
- }
-
- public String getLocalizedMessage() {
- if( msgobj != null)
- return amh.getMessage(key, msgobj);
- else
- return amh.getMessage(key);
- }
-
- private static AppletMessageHandler amh = new AppletMessageHandler("appletioexception");
-
-}
--- a/src/java.desktop/share/classes/sun/applet/AppletIllegalArgumentException.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-/*
- * Copyright (c) 1996, 2014, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package sun.applet;
-
-/**
- * An applet security exception.
- *
- * @author Arthur van Hoff
- *
- * @deprecated The Applet API is deprecated. See the
- * <a href="../../java/applet/package-summary.html"> java.applet package
- * documentation</a> for further information.
- */
-@SuppressWarnings("serial") // JDK implementation class
-@Deprecated(since = "9")
-public class AppletIllegalArgumentException extends IllegalArgumentException {
- private String key = null;
-
- public AppletIllegalArgumentException(String key) {
- super(key);
- this.key = key;
-
- }
-
- public String getLocalizedMessage() {
- return amh.getMessage(key);
- }
-
- private static AppletMessageHandler amh = new AppletMessageHandler("appletillegalargumentexception");
-}
--- a/src/java.desktop/share/classes/sun/applet/AppletImageRef.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,99 +0,0 @@
-/*
- * Copyright (c) 1995, 2014, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package sun.applet;
-
-import java.awt.Toolkit;
-import java.awt.Image;
-import java.lang.ref.SoftReference;
-import sun.awt.image.URLImageSource;
-import java.net.URL;
-
-@Deprecated(since = "9")
-class AppletImageRef {
- private SoftReference<Image> soft = null;
-
- URL url;
-
- /**
- * Returns a pointer to the object referenced by this Ref. If the object
- * has been thrown away by the garbage collector, it will be
- * reconstituted. This method does everything necessary to ensure that the garbage
- * collector throws things away in Least Recently Used(LRU) order. Applications should
- * never override this method. The get() method effectively caches calls to
- * reconstitute().
- */
- public synchronized Image get() {
- Image t = check();
- if (t == null) {
- t = reconstitute();
- setThing(t);
- }
- return t;
- }
-
- /**
- * Create the Ref
- */
- AppletImageRef(URL url) {
- this.url = url;
- }
-
- /**
- * Flushes the cached object. Forces the next invocation of get() to
- * invoke reconstitute().
- */
- public synchronized void flush() {
- SoftReference<Image> s = soft;
- if (s != null) s.clear();
- soft = null;
- }
-
- /**
- * Sets the thing to the specified object.
- * @param thing the specified object
- */
- public synchronized void setThing(Image thing) {
- flush();
- soft = new SoftReference<>(thing);
- }
-
- /**
- * Checks to see what object is being pointed at by this Ref and returns it.
- */
- public synchronized Image check() {
- SoftReference<Image> s = soft;
- if (s == null) return null;
- return s.get();
- }
-
- /**
- * Reconsitute the image. Only called when the ref has been flushed.
- */
- public Image reconstitute() {
- Image img = Toolkit.getDefaultToolkit().createImage(new URLImageSource(url));
- return img;
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/AppletListener.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-/*
- * Copyright (c) 1997, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package sun.applet;
-
-import java.util.EventListener;
-
-/**
- * Applet Listener interface. This interface is to be implemented
- * by objects interested in AppletEvents.
- *
- * @author Sunita Mani
- *
- * @deprecated The Applet API is deprecated. See the
- * <a href="../../java/applet/package-summary.html"> java.applet package
- * documentation</a> for further information.
- */
-@Deprecated(since = "9")
-public interface AppletListener extends EventListener {
- public void appletStateChanged(AppletEvent e);
-}
--- a/src/java.desktop/share/classes/sun/applet/AppletMessageHandler.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,113 +0,0 @@
-/*
- * Copyright (c) 1996, 2014, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package sun.applet;
-
-import java.util.ResourceBundle;
-import java.util.MissingResourceException;
-import java.text.MessageFormat;
-
-/**
- * An hanlder of localized messages.
- *
- * @author Koji Uno
- */
-class AppletMessageHandler {
- private static ResourceBundle rb;
- private String baseKey = null;
-
- static {
- try {
- rb = ResourceBundle.getBundle
- ("sun.applet.resources.MsgAppletViewer");
- } catch (MissingResourceException e) {
- System.out.println(e.getMessage());
- System.exit(1);
- }
- }
-
- AppletMessageHandler(String baseKey) {
- this.baseKey = baseKey;
- }
-
- String getMessage(String key) {
- return rb.getString(getQualifiedKey(key));
- }
-
- String getMessage(String key, Object arg){
- String basemsgfmt = rb.getString(getQualifiedKey(key));
- MessageFormat msgfmt = new MessageFormat(basemsgfmt);
- Object msgobj[] = new Object[1];
- if (arg == null) {
- arg = "null"; // mimic java.io.PrintStream.print(String)
- }
- msgobj[0] = arg;
- return msgfmt.format(msgobj);
- }
-
- String getMessage(String key, Object arg1, Object arg2) {
- String basemsgfmt = rb.getString(getQualifiedKey(key));
- MessageFormat msgfmt = new MessageFormat(basemsgfmt);
- Object msgobj[] = new Object[2];
- if (arg1 == null) {
- arg1 = "null";
- }
- if (arg2 == null) {
- arg2 = "null";
- }
- msgobj[0] = arg1;
- msgobj[1] = arg2;
- return msgfmt.format(msgobj);
- }
-
- String getMessage(String key, Object arg1, Object arg2, Object arg3) {
- String basemsgfmt = rb.getString(getQualifiedKey(key));
- MessageFormat msgfmt = new MessageFormat(basemsgfmt);
- Object msgobj[] = new Object[3];
- if (arg1 == null) {
- arg1 = "null";
- }
- if (arg2 == null) {
- arg2 = "null";
- }
- if (arg3 == null) {
- arg3 = "null";
- }
- msgobj[0] = arg1;
- msgobj[1] = arg2;
- msgobj[2] = arg3;
- return msgfmt.format(msgobj);
- }
-
- String getMessage(String key, Object arg[]) {
- String basemsgfmt = rb.getString(getQualifiedKey(key));
- MessageFormat msgfmt = new MessageFormat(basemsgfmt);
- return msgfmt.format(arg);
- }
-
- String getQualifiedKey(String subKey) {
- return baseKey + "." + subKey;
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/AppletObjectInputStream.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,110 +0,0 @@
-/*
- * Copyright (c) 1996, 1997, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-/*
- * COPYRIGHT goes here
- */
-
-package sun.applet;
-
-import java.io.*;
-import java.lang.reflect.Array;
-
-/**
- * This subclass of ObjectInputStream delegates loading of classes to
- * an existing ClassLoader.
- *
- * @deprecated The Applet API is deprecated. See the
- * <a href="../../java/applet/package-summary.html"> java.applet package
- * documentation</a> for further information.
- */
-@Deprecated(since = "9")
-class AppletObjectInputStream extends ObjectInputStream
-{
- private AppletClassLoader loader;
-
- /**
- * Loader must be non-null;
- */
-
- public AppletObjectInputStream(InputStream in, AppletClassLoader loader)
- throws IOException, StreamCorruptedException {
-
- super(in);
- if (loader == null) {
- throw new AppletIllegalArgumentException("appletillegalargumentexception.objectinputstream");
-
- }
- this.loader = loader;
- }
-
- /**
- * Make a primitive array class
- */
-
- private Class<?> primitiveType(char type) {
- switch (type) {
- case 'B': return byte.class;
- case 'C': return char.class;
- case 'D': return double.class;
- case 'F': return float.class;
- case 'I': return int.class;
- case 'J': return long.class;
- case 'S': return short.class;
- case 'Z': return boolean.class;
- default: return null;
- }
- }
-
- /**
- * Use the given ClassLoader rather than using the system class
- */
- protected Class<?> resolveClass(ObjectStreamClass classDesc)
- throws IOException, ClassNotFoundException {
-
- String cname = classDesc.getName();
- if (cname.startsWith("[")) {
- // An array
- Class<?> component; // component class
- int dcount; // dimension
- for (dcount=1; cname.charAt(dcount)=='['; dcount++) ;
- if (cname.charAt(dcount) == 'L') {
- component = loader.loadClass(cname.substring(dcount+1,
- cname.length()-1));
- } else {
- if (cname.length() != dcount+1) {
- throw new ClassNotFoundException(cname);// malformed
- }
- component = primitiveType(cname.charAt(dcount));
- }
- int dim[] = new int[dcount];
- for (int i=0; i<dcount; i++) {
- dim[i]=0;
- }
- return Array.newInstance(component, dim).getClass();
- } else {
- return loader.loadClass(cname);
- }
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/AppletPanel.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1270 +0,0 @@
-/*
- * Copyright (c) 1995, 2015, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package sun.applet;
-
-import java.applet.*;
-import java.awt.*;
-import java.awt.event.*;
-import java.io.*;
-import java.lang.ref.WeakReference;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.net.JarURLConnection;
-import java.net.SocketPermission;
-import java.net.URL;
-import java.security.*;
-import java.util.*;
-import java.util.Locale;
-import java.util.concurrent.LinkedBlockingQueue;
-import sun.awt.AWTAccessor;
-import sun.awt.AppContext;
-import sun.awt.EmbeddedFrame;
-import sun.awt.SunToolkit;
-import sun.awt.util.PerformanceLogger;
-import sun.security.util.SecurityConstants;
-
-/**
- * Applet panel class. The panel manages and manipulates the
- * applet as it is being loaded. It forks a separate thread in a new
- * thread group to call the applet's init(), start(), stop(), and
- * destroy() methods.
- *
- * @deprecated The Applet API is deprecated. See the
- * <a href="../../java/applet/package-summary.html"> java.applet package
- * documentation</a> for further information.
- *
- * @author Arthur van Hoff
- */
-@SuppressWarnings({"serial"}) // JDK implementation class
-@Deprecated(since = "9")
-public
-abstract class AppletPanel extends Panel implements AppletStub, Runnable {
-
- /**
- * The applet (if loaded).
- */
- Applet applet;
-
-
- /**
- * The classloader for the applet.
- */
- protected AppletClassLoader loader;
-
- /* applet event ids */
- public static final int APPLET_DISPOSE = 0;
- public static final int APPLET_LOAD = 1;
- public static final int APPLET_INIT = 2;
- public static final int APPLET_START = 3;
- public static final int APPLET_STOP = 4;
- public static final int APPLET_DESTROY = 5;
- public static final int APPLET_QUIT = 6;
- public static final int APPLET_ERROR = 7;
-
- /* send to the parent to force relayout */
- public static final int APPLET_RESIZE = 51234;
-
- /* sent to a (distant) parent to indicate that the applet is being
- * loaded or as completed loading
- */
- public static final int APPLET_LOADING = 51235;
- public static final int APPLET_LOADING_COMPLETED = 51236;
-
- /**
- * The current status. One of:
- * APPLET_DISPOSE,
- * APPLET_LOAD,
- * APPLET_INIT,
- * APPLET_START,
- * APPLET_STOP,
- * APPLET_DESTROY,
- * APPLET_ERROR.
- */
- protected int status;
-
- /**
- * The thread for the applet.
- */
- protected Thread handler;
-
-
- /**
- * The initial applet size.
- */
- Dimension defaultAppletSize = new Dimension(10, 10);
-
- /**
- * The current applet size.
- */
- Dimension currentAppletSize = new Dimension(10, 10);
-
- /**
- * The thread to use during applet loading
- */
-
- Thread loaderThread = null;
-
- /**
- * Flag to indicate that a loading has been cancelled
- */
- boolean loadAbortRequest = false;
-
- /* abstract classes */
- protected abstract String getCode();
- protected abstract String getJarFiles();
-
- @Override
- public abstract int getWidth();
- @Override
- public abstract int getHeight();
- public abstract boolean hasInitialFocus();
-
- private static int threadGroupNumber = 0;
-
- protected void setupAppletAppContext() {
- // do nothing
- }
-
- /*
- * Creates a thread to run the applet. This method is called
- * each time an applet is loaded and reloaded.
- */
- synchronized void createAppletThread() {
- // Create a thread group for the applet, and start a new
- // thread to load the applet.
- String nm = "applet-" + getCode();
- loader = getClassLoader(getCodeBase(), getClassLoaderCacheKey());
- loader.grab(); // Keep this puppy around!
-
- // 4668479: Option to turn off codebase lookup in AppletClassLoader
- // during resource requests. [stanley.ho]
- String param = getParameter("codebase_lookup");
-
- if (param != null && param.equals("false"))
- loader.setCodebaseLookup(false);
- else
- loader.setCodebaseLookup(true);
-
-
- ThreadGroup appletGroup = loader.getThreadGroup();
- handler = new Thread(appletGroup, this, "thread " + nm, 0, false);
- // set the context class loader for this thread
- AccessController.doPrivileged(new PrivilegedAction<Object>() {
- @Override
- public Object run() {
- handler.setContextClassLoader(loader);
- return null;
- }
- });
- handler.start();
- }
-
- void joinAppletThread() throws InterruptedException {
- if (handler != null) {
- handler.join();
- handler = null;
- }
- }
-
- void release() {
- if (loader != null) {
- loader.release();
- loader = null;
- }
- }
-
- /**
- * Construct an applet viewer and start the applet.
- */
- public void init() {
- try {
- // Get the width (if any)
- defaultAppletSize.width = getWidth();
- currentAppletSize.width = defaultAppletSize.width;
-
- // Get the height (if any)
- defaultAppletSize.height = getHeight();
- currentAppletSize.height = defaultAppletSize.height;
-
- } catch (NumberFormatException e) {
- // Turn on the error flag and let TagAppletPanel
- // do the right thing.
- status = APPLET_ERROR;
- showAppletStatus("badattribute.exception");
- showAppletLog("badattribute.exception");
- showAppletException(e);
- }
-
- setLayout(new BorderLayout());
-
- createAppletThread();
- }
-
- /**
- * Minimum size
- */
- @Override
- @SuppressWarnings("deprecation")
- public Dimension minimumSize() {
- return new Dimension(defaultAppletSize.width,
- defaultAppletSize.height);
- }
-
- /**
- * Preferred size
- */
- @Override
- @SuppressWarnings("deprecation")
- public Dimension preferredSize() {
- return new Dimension(currentAppletSize.width,
- currentAppletSize.height);
- }
-
- private AppletListener listeners;
-
- /**
- * AppletEvent Queue
- */
- private LinkedBlockingQueue<Integer> queue = null;
-
- public synchronized void addAppletListener(AppletListener l) {
- listeners = AppletEventMulticaster.add(listeners, l);
- }
-
- public synchronized void removeAppletListener(AppletListener l) {
- listeners = AppletEventMulticaster.remove(listeners, l);
- }
-
- /**
- * Dispatch event to the listeners..
- */
- public void dispatchAppletEvent(int id, Object argument) {
- //System.out.println("SEND= " + id);
- if (listeners != null) {
- AppletEvent evt = new AppletEvent(this, id, argument);
- listeners.appletStateChanged(evt);
- }
- }
-
- /**
- * Send an event. Queue it for execution by the handler thread.
- */
- public void sendEvent(int id) {
- synchronized(this) {
- if (queue == null) {
- //System.out.println("SEND0= " + id);
- queue = new LinkedBlockingQueue<>();
- }
- boolean inserted = queue.add(id);
- notifyAll();
- }
- if (id == APPLET_QUIT) {
- try {
- joinAppletThread(); // Let the applet event handler exit
- } catch (InterruptedException e) {
- }
-
- // AppletClassLoader.release() must be called by a Thread
- // not within the applet's ThreadGroup
- if (loader == null)
- loader = getClassLoader(getCodeBase(), getClassLoaderCacheKey());
- release();
- }
- }
-
- /**
- * Get an event from the queue.
- */
- synchronized AppletEvent getNextEvent() throws InterruptedException {
- while (queue == null || queue.isEmpty()) {
- wait();
- }
- int eventId = queue.take();
- return new AppletEvent(this, eventId, null);
- }
-
- boolean emptyEventQueue() {
- if ((queue == null) || (queue.isEmpty()))
- return true;
- else
- return false;
- }
-
- /**
- * This kludge is specific to get over AccessControlException thrown during
- * Applet.stop() or destroy() when static thread is suspended. Set a flag
- * in AppletClassLoader to indicate that an
- * AccessControlException for RuntimePermission "modifyThread" or
- * "modifyThreadGroup" had occurred.
- */
- private void setExceptionStatus(AccessControlException e) {
- Permission p = e.getPermission();
- if (p instanceof RuntimePermission) {
- if (p.getName().startsWith("modifyThread")) {
- if (loader == null)
- loader = getClassLoader(getCodeBase(), getClassLoaderCacheKey());
- loader.setExceptionStatus();
- }
- }
- }
-
- /**
- * Execute applet events.
- * Here is the state transition diagram
- *
- * <pre>{@literal
- * Note: (XXX) is the action
- * APPLET_XXX is the state
- * (applet code loaded) --> APPLET_LOAD -- (applet init called)--> APPLET_INIT --
- * (applet start called) --> APPLET_START -- (applet stop called) --> APPLET_STOP --
- * (applet destroyed called) --> APPLET_DESTROY --> (applet gets disposed) -->
- * APPLET_DISPOSE --> ...
- * }</pre>
- *
- * In the legacy lifecycle model. The applet gets loaded, inited and started. So it stays
- * in the APPLET_START state unless the applet goes away(refresh page or leave the page).
- * So the applet stop method called and the applet enters APPLET_STOP state. Then if the applet
- * is revisited, it will call applet start method and enter the APPLET_START state and stay there.
- *
- * In the modern lifecycle model. When the applet first time visited, it is same as legacy lifecycle
- * model. However, when the applet page goes away. It calls applet stop method and enters APPLET_STOP
- * state and then applet destroyed method gets called and enters APPLET_DESTROY state.
- *
- * This code is also called by AppletViewer. In AppletViewer "Restart" menu, the applet is jump from
- * APPLET_STOP to APPLET_DESTROY and to APPLET_INIT .
- *
- * Also, the applet can jump from APPLET_INIT state to APPLET_DESTROY (in Netscape/Mozilla case).
- * Same as APPLET_LOAD to
- * APPLET_DISPOSE since all of this are triggered by browser.
- *
- */
- @Override
- public void run() {
-
- Thread curThread = Thread.currentThread();
- if (curThread == loaderThread) {
- // if we are in the loader thread, cause
- // loading to occur. We may exit this with
- // status being APPLET_DISPOSE, APPLET_ERROR,
- // or APPLET_LOAD
- runLoader();
- return;
- }
-
- boolean disposed = false;
- while (!disposed && !curThread.isInterrupted()) {
- AppletEvent evt;
- try {
- evt = getNextEvent();
- } catch (InterruptedException e) {
- showAppletStatus("bail");
- return;
- }
-
- //showAppletStatus("EVENT = " + evt.getID());
- try {
- switch (evt.getID()) {
- case APPLET_LOAD:
- if (!okToLoad()) {
- break;
- }
- // This complexity allows loading of applets to be
- // interruptable. The actual thread loading runs
- // in a separate thread, so it can be interrupted
- // without harming the applet thread.
- // So that we don't have to worry about
- // concurrency issues, the main applet thread waits
- // until the loader thread terminates.
- // (one way or another).
- if (loaderThread == null) {
- setLoaderThread(new Thread(null, this,
- "AppletLoader", 0, false));
- loaderThread.start();
- // we get to go to sleep while this runs
- loaderThread.join();
- setLoaderThread(null);
- } else {
- // REMIND: issue an error -- this case should never
- // occur.
- }
- break;
-
- case APPLET_INIT:
- // AppletViewer "Restart" will jump from destroy method to
- // init, that is why we need to check status w/ APPLET_DESTROY
- if (status != APPLET_LOAD && status != APPLET_DESTROY) {
- showAppletStatus("notloaded");
- break;
- }
- applet.resize(defaultAppletSize);
-
- if (PerformanceLogger.loggingEnabled()) {
- PerformanceLogger.setTime("Applet Init");
- PerformanceLogger.outputLog();
- }
- applet.init();
-
- //Need the default(fallback) font to be created in this AppContext
- Font f = getFont();
- if (f == null ||
- "dialog".equals(f.getFamily().toLowerCase(Locale.ENGLISH)) &&
- f.getSize() == 12 && f.getStyle() == Font.PLAIN) {
- setFont(new Font(Font.DIALOG, Font.PLAIN, 12));
- }
-
- // Validate the applet in event dispatch thread
- // to avoid deadlock.
- try {
- final AppletPanel p = this;
- Runnable r = new Runnable() {
- @Override
- public void run() {
- p.validate();
- }
- };
- AWTAccessor.getEventQueueAccessor().invokeAndWait(applet, r);
- }
- catch(InterruptedException ie) {
- }
- catch(InvocationTargetException ite) {
- }
-
- status = APPLET_INIT;
- showAppletStatus("inited");
- break;
-
- case APPLET_START:
- {
- if (status != APPLET_INIT && status != APPLET_STOP) {
- showAppletStatus("notinited");
- break;
- }
- applet.resize(currentAppletSize);
- applet.start();
-
- // Validate and show the applet in event dispatch thread
- // to avoid deadlock.
- try {
- final AppletPanel p = this;
- final Applet a = applet;
- Runnable r = new Runnable() {
- @Override
- public void run() {
- p.validate();
- a.setVisible(true);
-
- // Fix for BugTraq ID 4041703.
- // Set the default focus for an applet.
- if (hasInitialFocus()) {
- setDefaultFocus();
- }
- }
- };
- AWTAccessor.getEventQueueAccessor().invokeAndWait(applet, r);
- }
- catch(InterruptedException ie) {
- }
- catch(InvocationTargetException ite) {
- }
-
- status = APPLET_START;
- showAppletStatus("started");
- break;
- }
-
- case APPLET_STOP:
- if (status != APPLET_START) {
- showAppletStatus("notstarted");
- break;
- }
- status = APPLET_STOP;
-
- // Hide the applet in event dispatch thread
- // to avoid deadlock.
- try {
- final Applet a = applet;
- Runnable r = new Runnable() {
- @Override
- public void run() {
- a.setVisible(false);
- }
- };
- AWTAccessor.getEventQueueAccessor().invokeAndWait(applet, r);
- }
- catch(InterruptedException ie) {
- }
- catch(InvocationTargetException ite) {
- }
-
-
- // During Applet.stop(), any AccessControlException on an involved Class remains in
- // the "memory" of the AppletClassLoader. If the same instance of the ClassLoader is
- // reused, the same exception will occur during class loading. Set the AppletClassLoader's
- // exceptionStatusSet flag to allow recognition of what had happened
- // when reusing AppletClassLoader object.
- try {
- applet.stop();
- } catch (java.security.AccessControlException e) {
- setExceptionStatus(e);
- // rethrow exception to be handled as it normally would be.
- throw e;
- }
- showAppletStatus("stopped");
- break;
-
- case APPLET_DESTROY:
- if (status != APPLET_STOP && status != APPLET_INIT) {
- showAppletStatus("notstopped");
- break;
- }
- status = APPLET_DESTROY;
-
- // During Applet.destroy(), any AccessControlException on an involved Class remains in
- // the "memory" of the AppletClassLoader. If the same instance of the ClassLoader is
- // reused, the same exception will occur during class loading. Set the AppletClassLoader's
- // exceptionStatusSet flag to allow recognition of what had happened
- // when reusing AppletClassLoader object.
- try {
- applet.destroy();
- } catch (java.security.AccessControlException e) {
- setExceptionStatus(e);
- // rethrow exception to be handled as it normally would be.
- throw e;
- }
- showAppletStatus("destroyed");
- break;
-
- case APPLET_DISPOSE:
- if (status != APPLET_DESTROY && status != APPLET_LOAD) {
- showAppletStatus("notdestroyed");
- break;
- }
- status = APPLET_DISPOSE;
-
- try {
- final Applet a = applet;
- Runnable r = new Runnable() {
- @Override
- public void run() {
- remove(a);
- }
- };
- AWTAccessor.getEventQueueAccessor().invokeAndWait(applet, r);
- }
- catch(InterruptedException ie)
- {
- }
- catch(InvocationTargetException ite)
- {
- }
- applet = null;
- showAppletStatus("disposed");
- disposed = true;
- break;
-
- case APPLET_QUIT:
- return;
- }
- } catch (Exception e) {
- status = APPLET_ERROR;
- if (e.getMessage() != null) {
- showAppletStatus("exception2", e.getClass().getName(),
- e.getMessage());
- } else {
- showAppletStatus("exception", e.getClass().getName());
- }
- showAppletException(e);
- } catch (ThreadDeath e) {
- showAppletStatus("death");
- return;
- } catch (Error e) {
- status = APPLET_ERROR;
- if (e.getMessage() != null) {
- showAppletStatus("error2", e.getClass().getName(),
- e.getMessage());
- } else {
- showAppletStatus("error", e.getClass().getName());
- }
- showAppletException(e);
- }
- clearLoadAbortRequest();
- }
- }
-
- /**
- * Gets most recent focus owner component associated with the given window.
- * It does that without calling Window.getMostRecentFocusOwner since it
- * provides its own logic contradicting with setDefautlFocus. Instead, it
- * calls KeyboardFocusManager directly.
- */
- private Component getMostRecentFocusOwnerForWindow(Window w) {
- return AWTAccessor.getKeyboardFocusManagerAccessor()
- .getMostRecentFocusOwner(w);
- }
-
- /*
- * Fix for BugTraq ID 4041703.
- * Set the focus to a reasonable default for an Applet.
- */
- private void setDefaultFocus() {
- Component toFocus = null;
- Container parent = getParent();
-
- if(parent != null) {
- if (parent instanceof Window) {
- toFocus = getMostRecentFocusOwnerForWindow((Window)parent);
- if (toFocus == parent || toFocus == null) {
- toFocus = parent.getFocusTraversalPolicy().
- getInitialComponent((Window)parent);
- }
- } else if (parent.isFocusCycleRoot()) {
- toFocus = parent.getFocusTraversalPolicy().
- getDefaultComponent(parent);
- }
- }
-
- if (toFocus != null) {
- if (parent instanceof EmbeddedFrame) {
- ((EmbeddedFrame) parent).synthesizeWindowActivation(true);
- }
- // EmbeddedFrame might have focus before the applet was added.
- // Thus after its activation the most recent focus owner will be
- // restored. We need the applet's initial focusabled component to
- // be focused here.
- toFocus.requestFocusInWindow();
- }
- }
-
- /**
- * Load the applet into memory.
- * Runs in a seperate (and interruptible) thread from the rest of the
- * applet event processing so that it can be gracefully interrupted from
- * things like HotJava.
- */
- @SuppressWarnings("deprecation")
- private void runLoader() {
- if (status != APPLET_DISPOSE) {
- showAppletStatus("notdisposed");
- return;
- }
-
- dispatchAppletEvent(APPLET_LOADING, null);
-
- // REMIND -- might be cool to visually indicate loading here --
- // maybe do animation?
- status = APPLET_LOAD;
-
- // Create a class loader
- loader = getClassLoader(getCodeBase(), getClassLoaderCacheKey());
-
- // Load the archives if present.
- // REMIND - this probably should be done in a separate thread,
- // or at least the additional archives (epll).
-
- String code = getCode();
-
- // setup applet AppContext
- // this must be called before loadJarFiles
- setupAppletAppContext();
-
- try {
- loadJarFiles(loader);
- applet = createApplet(loader);
- } catch (ClassNotFoundException e) {
- status = APPLET_ERROR;
- showAppletStatus("notfound", code);
- showAppletLog("notfound", code);
- showAppletException(e);
- return;
- } catch (InstantiationException e) {
- status = APPLET_ERROR;
- showAppletStatus("nocreate", code);
- showAppletLog("nocreate", code);
- showAppletException(e);
- return;
- } catch (IllegalAccessException e) {
- status = APPLET_ERROR;
- showAppletStatus("noconstruct", code);
- showAppletLog("noconstruct", code);
- showAppletException(e);
- // sbb -- I added a return here
- return;
- } catch (Exception e) {
- status = APPLET_ERROR;
- showAppletStatus("exception", e.getMessage());
- showAppletException(e);
- return;
- } catch (ThreadDeath e) {
- status = APPLET_ERROR;
- showAppletStatus("death");
- return;
- } catch (Error e) {
- status = APPLET_ERROR;
- showAppletStatus("error", e.getMessage());
- showAppletException(e);
- return;
- } finally {
- // notify that loading is no longer going on
- dispatchAppletEvent(APPLET_LOADING_COMPLETED, null);
- }
-
- // Fixed #4508194: NullPointerException thrown during
- // quick page switch
- //
- if (applet != null)
- {
- // Stick it in the frame
- applet.setStub(this);
- applet.hide();
- add("Center", applet);
- showAppletStatus("loaded");
- validate();
- }
- }
-
- protected Applet createApplet(final AppletClassLoader loader) throws ClassNotFoundException,
- IllegalAccessException, IOException, InstantiationException, InterruptedException {
- String code = getCode();
-
- if (code != null) {
- applet = (Applet)loader.loadCode(code).newInstance();
- } else {
- String msg = "nocode";
- status = APPLET_ERROR;
- showAppletStatus(msg);
- showAppletLog(msg);
- repaint();
- }
-
- // Determine the JDK level that the applet targets.
- // This is critical for enabling certain backward
- // compatibility switch if an applet is a JDK 1.1
- // applet. [stanley.ho]
- findAppletJDKLevel(applet);
-
- if (Thread.interrupted()) {
- try {
- status = APPLET_DISPOSE; // APPLET_ERROR?
- applet = null;
- // REMIND: This may not be exactly the right thing: the
- // status is set by the stop button and not necessarily
- // here.
- showAppletStatus("death");
- } finally {
- Thread.currentThread().interrupt(); // resignal interrupt
- }
- return null;
- }
- return applet;
- }
-
- protected void loadJarFiles(AppletClassLoader loader) throws IOException,
- InterruptedException {
- // Load the archives if present.
- // REMIND - this probably should be done in a separate thread,
- // or at least the additional archives (epll).
- String jarFiles = getJarFiles();
-
- if (jarFiles != null) {
- StringTokenizer st = new StringTokenizer(jarFiles, ",", false);
- while(st.hasMoreTokens()) {
- String tok = st.nextToken().trim();
- try {
- loader.addJar(tok);
- } catch (IllegalArgumentException e) {
- // bad archive name
- continue;
- }
- }
- }
- }
-
- /**
- * Request that the loading of the applet be stopped.
- */
- protected synchronized void stopLoading() {
- // REMIND: fill in the body
- if (loaderThread != null) {
- //System.out.println("Interrupting applet loader thread: " + loaderThread);
- loaderThread.interrupt();
- } else {
- setLoadAbortRequest();
- }
- }
-
-
- protected synchronized boolean okToLoad() {
- return !loadAbortRequest;
- }
-
- protected synchronized void clearLoadAbortRequest() {
- loadAbortRequest = false;
- }
-
- protected synchronized void setLoadAbortRequest() {
- loadAbortRequest = true;
- }
-
-
- private synchronized void setLoaderThread(Thread loaderThread) {
- this.loaderThread = loaderThread;
- }
-
- /**
- * Return true when the applet has been started.
- */
- @Override
- public boolean isActive() {
- return status == APPLET_START;
- }
-
-
- private EventQueue appEvtQ = null;
- /**
- * Is called when the applet wants to be resized.
- */
- @Override
- public void appletResize(int width, int height) {
- currentAppletSize.width = width;
- currentAppletSize.height = height;
- final Dimension currentSize = new Dimension(currentAppletSize.width,
- currentAppletSize.height);
-
- if(loader != null) {
- AppContext appCtxt = loader.getAppContext();
- if(appCtxt != null)
- appEvtQ = (java.awt.EventQueue)appCtxt.get(AppContext.EVENT_QUEUE_KEY);
- }
-
- final AppletPanel ap = this;
- if (appEvtQ != null){
- appEvtQ.postEvent(new InvocationEvent(Toolkit.getDefaultToolkit(),
- new Runnable() {
- @Override
- public void run() {
- if (ap != null) {
- ap.dispatchAppletEvent(
- APPLET_RESIZE,
- currentSize);
- }
- }
- }));
- }
- }
-
- @Override
- public void setBounds(int x, int y, int width, int height) {
- super.setBounds(x, y, width, height);
- currentAppletSize.width = width;
- currentAppletSize.height = height;
- }
-
- public Applet getApplet() {
- return applet;
- }
-
- /**
- * Status line. Called by the AppletPanel to provide
- * feedback on the Applet's state.
- */
- protected void showAppletStatus(String status) {
- getAppletContext().showStatus(amh.getMessage(status));
- }
-
- protected void showAppletStatus(String status, Object arg) {
- getAppletContext().showStatus(amh.getMessage(status, arg));
- }
- protected void showAppletStatus(String status, Object arg1, Object arg2) {
- getAppletContext().showStatus(amh.getMessage(status, arg1, arg2));
- }
-
- /**
- * Called by the AppletPanel to print to the log.
- */
- protected void showAppletLog(String msg) {
- System.out.println(amh.getMessage(msg));
- }
-
- protected void showAppletLog(String msg, Object arg) {
- System.out.println(amh.getMessage(msg, arg));
- }
-
- /**
- * Called by the AppletPanel to provide
- * feedback when an exception has happened.
- */
- protected void showAppletException(Throwable t) {
- t.printStackTrace();
- repaint();
- }
-
- /**
- * Get caching key for classloader cache
- */
- public String getClassLoaderCacheKey()
- {
- /**
- * Fixed #4501142: Classloader sharing policy doesn't
- * take "archive" into account. This will be overridden
- * by Java Plug-in. [stanleyh]
- */
- return getCodeBase().toString();
- }
-
- /**
- * The class loaders
- */
- private static HashMap<String, AppletClassLoader> classloaders = new HashMap<>();
-
- /**
- * Flush a class loader.
- */
- public static synchronized void flushClassLoader(String key) {
- classloaders.remove(key);
- }
-
- /**
- * Flush all class loaders.
- */
- public static synchronized void flushClassLoaders() {
- classloaders = new HashMap<>();
- }
-
- /**
- * This method actually creates an AppletClassLoader.
- *
- * It can be override by subclasses (such as the Plug-in)
- * to provide different classloaders.
- */
- protected AppletClassLoader createClassLoader(final URL codebase) {
- return new AppletClassLoader(codebase);
- }
-
- /**
- * Get a class loader. Create in a restricted context
- */
- synchronized AppletClassLoader getClassLoader(final URL codebase, final String key) {
- AppletClassLoader c = classloaders.get(key);
- if (c == null) {
- AccessControlContext acc =
- getAccessControlContext(codebase);
- c = AccessController.doPrivileged(
- new PrivilegedAction<AppletClassLoader>() {
- @Override
- public AppletClassLoader run() {
- AppletClassLoader ac = createClassLoader(codebase);
- /* Should the creation of the classloader be
- * within the class synchronized block? Since
- * this class is used by the plugin, take care
- * to avoid deadlocks, or specialize
- * AppletPanel within the plugin. It may take
- * an arbitrary amount of time to create a
- * class loader (involving getting Jar files
- * etc.) and may block unrelated applets from
- * finishing createAppletThread (due to the
- * class synchronization). If
- * createAppletThread does not finish quickly,
- * the applet cannot process other messages,
- * particularly messages such as destroy
- * (which timeout when called from the browser).
- */
- synchronized (getClass()) {
- AppletClassLoader res = classloaders.get(key);
- if (res == null) {
- classloaders.put(key, ac);
- return ac;
- } else {
- return res;
- }
- }
- }
- },acc);
- }
- return c;
- }
-
- /**
- * get the context for the AppletClassLoader we are creating.
- * the context is granted permission to create the class loader,
- * connnect to the codebase, and whatever else the policy grants
- * to all codebases.
- */
- private AccessControlContext getAccessControlContext(final URL codebase) {
-
- PermissionCollection perms = AccessController.doPrivileged(
- new PrivilegedAction<PermissionCollection>() {
- @Override
- public PermissionCollection run() {
- Policy p = java.security.Policy.getPolicy();
- if (p != null) {
- return p.getPermissions(new CodeSource(null,
- (java.security.cert.Certificate[]) null));
- } else {
- return null;
- }
- }
- });
-
- if (perms == null)
- perms = new Permissions();
-
- //XXX: this is needed to be able to create the classloader itself!
-
- perms.add(SecurityConstants.CREATE_CLASSLOADER_PERMISSION);
-
- Permission p;
- java.net.URLConnection urlConnection = null;
- try {
- urlConnection = codebase.openConnection();
- p = urlConnection.getPermission();
- } catch (java.io.IOException ioe) {
- p = null;
- }
-
- if (p != null)
- perms.add(p);
-
- if (p instanceof FilePermission) {
-
- String path = p.getName();
-
- int endIndex = path.lastIndexOf(File.separatorChar);
-
- if (endIndex != -1) {
- path = path.substring(0, endIndex+1);
-
- if (path.endsWith(File.separator)) {
- path += "-";
- }
- perms.add(new FilePermission(path,
- SecurityConstants.FILE_READ_ACTION));
- }
- } else {
- URL locUrl = codebase;
- if (urlConnection instanceof JarURLConnection) {
- locUrl = ((JarURLConnection)urlConnection).getJarFileURL();
- }
- String host = locUrl.getHost();
- if (host != null && (host.length() > 0))
- perms.add(new SocketPermission(host,
- SecurityConstants.SOCKET_CONNECT_ACCEPT_ACTION));
- }
-
- ProtectionDomain domain =
- new ProtectionDomain(new CodeSource(codebase,
- (java.security.cert.Certificate[]) null), perms);
- AccessControlContext acc =
- new AccessControlContext(new ProtectionDomain[] { domain });
-
- return acc;
- }
-
- public Thread getAppletHandlerThread() {
- return handler;
- }
-
- public int getAppletWidth() {
- return currentAppletSize.width;
- }
-
- public int getAppletHeight() {
- return currentAppletSize.height;
- }
-
- public static void changeFrameAppContext(Frame frame, AppContext newAppContext)
- {
- // Fixed #4754451: Applet can have methods running on main
- // thread event queue.
- //
- // The cause of this bug is that the frame of the applet
- // is created in main thread group. Thus, when certain
- // AWT/Swing events are generated, the events will be
- // dispatched through the wrong event dispatch thread.
- //
- // To fix this, we rearrange the AppContext with the frame,
- // so the proper event queue will be looked up.
- //
- // Swing also maintains a Frame list for the AppContext,
- // so we will have to rearrange it as well.
-
- // Check if frame's AppContext has already been set properly
- AppContext oldAppContext = SunToolkit.targetToAppContext(frame);
-
- if (oldAppContext == newAppContext)
- return;
-
- // Synchronization on Window.class is needed for locking the
- // critical section of the window list in AppContext.
- synchronized (Window.class)
- {
- WeakReference<Window> weakRef = null;
- // Remove frame from the Window list in wrong AppContext
- {
- // Lookup current frame's AppContext
- @SuppressWarnings("unchecked")
- Vector<WeakReference<Window>> windowList =
- (Vector<WeakReference<Window>>)oldAppContext.get(Window.class);
- if (windowList != null) {
- for (WeakReference<Window> ref : windowList) {
- if (ref.get() == frame) {
- weakRef = ref;
- break;
- }
- }
- // Remove frame from wrong AppContext
- if (weakRef != null)
- windowList.remove(weakRef);
- }
- }
-
- // Put the frame into the applet's AppContext map
- SunToolkit.insertTargetMapping(frame, newAppContext);
-
- // Insert frame into the Window list in the applet's AppContext map
- {
- @SuppressWarnings("unchecked")
- Vector<WeakReference<Window>> windowList =
- (Vector<WeakReference<Window>>)newAppContext.get(Window.class);
- if (windowList == null) {
- windowList = new Vector<WeakReference<Window>>();
- newAppContext.put(Window.class, windowList);
- }
- // use the same weakRef here as it is used elsewhere
- windowList.add(weakRef);
- }
- }
- }
-
- // Flag to indicate if applet is targeted for JDK 1.1.
- private boolean jdk11Applet = false;
-
- // Flag to indicate if applet is targeted for JDK 1.2.
- private boolean jdk12Applet = false;
-
- /**
- * Determine JDK level of an applet.
- */
- private void findAppletJDKLevel(Applet applet)
- {
- // To determine the JDK level of an applet, the
- // most reliable way is to check the major version
- // of the applet class file.
-
- // synchronized on applet class object, so calling from
- // different instances of the same applet will be
- // serialized.
- Class<?> appletClass = applet.getClass();
-
- synchronized(appletClass) {
- // Determine if the JDK level of an applet has been
- // checked before.
- Boolean jdk11Target = loader.isJDK11Target(appletClass);
- Boolean jdk12Target = loader.isJDK12Target(appletClass);
-
- // if applet JDK level has been checked before, retrieve
- // value and return.
- if (jdk11Target != null || jdk12Target != null) {
- jdk11Applet = (jdk11Target == null) ? false : jdk11Target.booleanValue();
- jdk12Applet = (jdk12Target == null) ? false : jdk12Target.booleanValue();
- return;
- }
-
- String name = appletClass.getName();
-
- // first convert any '.' to '/'
- name = name.replace('.', '/');
-
- // append .class
- final String resourceName = name + ".class";
-
- byte[] classHeader = new byte[8];
-
- try (InputStream is = AccessController.doPrivileged(
- (PrivilegedAction<InputStream>) () -> loader.getResourceAsStream(resourceName))) {
-
- // Read the first 8 bytes of the class file
- int byteRead = is.read(classHeader, 0, 8);
-
- // return if the header is not read in entirely
- // for some reasons.
- if (byteRead != 8)
- return;
- }
- catch (IOException e) {
- return;
- }
-
- // Check major version in class file header
- int major_version = readShort(classHeader, 6);
-
- // Major version in class file is as follows:
- // 45 - JDK 1.1
- // 46 - JDK 1.2
- // 47 - JDK 1.3
- // 48 - JDK 1.4
- // 49 - JDK 1.5
- if (major_version < 46)
- jdk11Applet = true;
- else if (major_version == 46)
- jdk12Applet = true;
-
- // Store applet JDK level in AppContext for later lookup,
- // e.g. page switch.
- loader.setJDK11Target(appletClass, jdk11Applet);
- loader.setJDK12Target(appletClass, jdk12Applet);
- }
- }
-
- /**
- * Return true if applet is targeted to JDK 1.1.
- */
- protected boolean isJDK11Applet() {
- return jdk11Applet;
- }
-
- /**
- * Return true if applet is targeted to JDK1.2.
- */
- protected boolean isJDK12Applet() {
- return jdk12Applet;
- }
-
- /**
- * Read short from byte array.
- */
- private int readShort(byte[] b, int off) {
- int hi = readByte(b[off]);
- int lo = readByte(b[off + 1]);
- return (hi << 8) | lo;
- }
-
- private int readByte(byte b) {
- return ((int)b) & 0xFF;
- }
-
-
- private static AppletMessageHandler amh = new AppletMessageHandler("appletpanel");
-}
--- a/src/java.desktop/share/classes/sun/applet/AppletProps.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,227 +0,0 @@
-/*
- * Copyright (c) 1995, 2014, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package sun.applet;
-
-import java.awt.*;
-import java.io.*;
-import java.util.Properties;
-import java.security.AccessController;
-import java.security.PrivilegedAction;
-import java.security.PrivilegedExceptionAction;
-import java.security.PrivilegedActionException;
-
-import sun.security.action.*;
-
-@SuppressWarnings("serial") // JDK implementation class
-@Deprecated(since = "9")
-class AppletProps extends Frame {
-
- TextField proxyHost;
- TextField proxyPort;
- Choice accessMode;
-
- @SuppressWarnings("deprecation")
- AppletProps() {
- setTitle(amh.getMessage("title"));
- Panel p = new Panel();
- p.setLayout(new GridLayout(0, 2));
-
- p.add(new Label(amh.getMessage("label.http.server", "Http proxy server:")));
- p.add(proxyHost = new TextField());
-
- p.add(new Label(amh.getMessage("label.http.proxy")));
- p.add(proxyPort = new TextField());
-
- p.add(new Label(amh.getMessage("label.class")));
- p.add(accessMode = new Choice());
- accessMode.addItem(amh.getMessage("choice.class.item.restricted"));
- accessMode.addItem(amh.getMessage("choice.class.item.unrestricted"));
-
- add("Center", p);
- p = new Panel();
- p.add(new Button(amh.getMessage("button.apply")));
- p.add(new Button(amh.getMessage("button.reset")));
- p.add(new Button(amh.getMessage("button.cancel")));
- add("South", p);
- move(200, 150);
- pack();
- reset();
- }
-
- void reset() {
- AppletSecurity security = (AppletSecurity) System.getSecurityManager();
- if (security != null)
- security.reset();
-
- String proxyhost = AccessController.doPrivileged(
- new GetPropertyAction("http.proxyHost"));
- String proxyport = AccessController.doPrivileged(
- new GetPropertyAction("http.proxyPort"));
-
- Boolean tmp = AccessController.doPrivileged(
- new GetBooleanAction("package.restrict.access.sun"));
-
- boolean packageRestrict = tmp.booleanValue();
- if (packageRestrict) {
- accessMode.select(amh.getMessage("choice.class.item.restricted"));
- } else {
- accessMode.select(amh.getMessage("choice.class.item.unrestricted"));
- }
-
- if (proxyhost != null) {
- proxyHost.setText(proxyhost);
- proxyPort.setText(proxyport);
- } else {
- proxyHost.setText("");
- proxyPort.setText("");
- }
- }
-
- @SuppressWarnings("deprecation")
- void apply() {
- String proxyHostValue = proxyHost.getText().trim();
- String proxyPortValue = proxyPort.getText().trim();
-
- // Get properties
- final Properties props = AccessController.doPrivileged(
- new PrivilegedAction<Properties>() {
- public Properties run() {
- return System.getProperties();
- }
- });
-
- if (proxyHostValue.length() != 0) {
- /* 4066402 */
- /* Check for parsable value in proxy port number field before */
- /* applying. Display warning to user until parsable value is */
- /* entered. */
- int proxyPortNumber = 0;
- try {
- proxyPortNumber = Integer.parseInt(proxyPortValue);
- } catch (NumberFormatException e) {}
-
- if (proxyPortNumber <= 0) {
- proxyPort.selectAll();
- proxyPort.requestFocus();
- (new AppletPropsErrorDialog(this,
- amh.getMessage("title.invalidproxy"),
- amh.getMessage("label.invalidproxy"),
- amh.getMessage("button.ok"))).show();
- return;
- }
- /* end 4066402 */
-
- props.put("http.proxyHost", proxyHostValue);
- props.put("http.proxyPort", proxyPortValue);
- } else {
- props.put("http.proxyHost", "");
- }
-
- if (amh.getMessage("choice.class.item.restricted").equals(accessMode.getSelectedItem())) {
- props.put("package.restrict.access.sun", "true");
- } else {
- props.put("package.restrict.access.sun", "false");
- }
-
- // Save properties
- try {
- reset();
- AccessController.doPrivileged(new PrivilegedExceptionAction<Object>() {
- public Object run() throws IOException {
- File dotAV = Main.theUserPropertiesFile;
- FileOutputStream out = new FileOutputStream(dotAV);
- Properties avProps = new Properties();
- for (int i = 0; i < Main.avDefaultUserProps.length; i++) {
- String avKey = Main.avDefaultUserProps[i][0];
- avProps.setProperty(avKey, props.getProperty(avKey));
- }
- avProps.store(out, amh.getMessage("prop.store"));
- out.close();
- return null;
- }
- });
- hide();
- } catch (java.security.PrivilegedActionException e) {
- System.out.println(amh.getMessage("apply.exception",
- e.getException()));
- // XXX what's the general feeling on stack traces to System.out?
- e.printStackTrace();
- reset();
- }
- }
-
- @SuppressWarnings("deprecation")
- public boolean action(Event evt, Object obj) {
- if (amh.getMessage("button.apply").equals(obj)) {
- apply();
- return true;
- }
- if (amh.getMessage("button.reset").equals(obj)) {
- reset();
- return true;
- }
- if (amh.getMessage("button.cancel").equals(obj)) {
- reset();
- hide();
- return true;
- }
- return false;
- }
-
- private static AppletMessageHandler amh = new AppletMessageHandler("appletprops");
-
-}
-
-/* 4066432 */
-/* Dialog class to display property-related errors to user */
-@SuppressWarnings("serial") // JDK implementation class
-@Deprecated(since = "9")
-class AppletPropsErrorDialog extends Dialog {
- @SuppressWarnings("deprecation")
- public AppletPropsErrorDialog(Frame parent, String title, String message,
- String buttonText) {
- super(parent, title, true);
- Panel p = new Panel();
- add("Center", new Label(message));
- p.add(new Button(buttonText));
- add("South", p);
- pack();
-
- Dimension dDim = size();
- Rectangle fRect = parent.bounds();
- move(fRect.x + ((fRect.width - dDim.width) / 2),
- fRect.y + ((fRect.height - dDim.height) / 2));
- }
-
- @SuppressWarnings("deprecation")
- public boolean action(Event event, Object object) {
- hide();
- dispose();
- return true;
- }
-}
-
-/* end 4066432 */
--- a/src/java.desktop/share/classes/sun/applet/AppletResourceLoader.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 1996, 2014, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package sun.applet;
-
-import java.net.URL;
-import java.awt.Image;
-
-/**
- * Part of this class still remains only to support legacy, 100%-impure
- * applications such as HotJava 1.0.1.
- */
-@Deprecated
-public class AppletResourceLoader {
- public static Image getImage(URL url) {
- return AppletViewer.getCachedImage(url);
- }
-
- public static void flushImages() {
- AppletViewer.flushImageCache();
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/AppletSecurityException.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-/*
- * Copyright (c) 1995, 2014, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package sun.applet;
-
-/**
- * An applet security exception.
- *
- * @author Arthur van Hoff
- */
-@SuppressWarnings("serial") // JDK-implementation class
-public
-class AppletSecurityException extends SecurityException {
- private String key = null;
- private Object msgobj[] = null;
-
- public AppletSecurityException(String name) {
- super(name);
- this.key = name;
- }
-
- public AppletSecurityException(String name, String arg) {
- this(name);
- msgobj = new Object[1];
- msgobj[0] = (Object)arg;
- }
-
- public AppletSecurityException(String name, String arg1, String arg2) {
- this(name);
- msgobj = new Object[2];
- msgobj[0] = (Object)arg1;
- msgobj[1] = (Object)arg2;
- }
-
- public String getLocalizedMessage() {
- if( msgobj != null)
- return amh.getMessage(key, msgobj);
- else
- return amh.getMessage(key);
- }
-
- private static AppletMessageHandler amh = new AppletMessageHandler("appletsecurityexception");
-
-}
--- a/src/java.desktop/share/classes/sun/applet/AppletViewer.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1312 +0,0 @@
-/*
- * Copyright (c) 1995, 2014, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package sun.applet;
-
-import java.util.*;
-import java.io.*;
-import java.awt.*;
-import java.awt.event.*;
-import java.awt.print.*;
-import javax.print.attribute.*;
-import java.applet.*;
-import java.net.URL;
-import java.net.SocketPermission;
-import java.security.AccessController;
-import java.security.PrivilegedAction;
-import sun.awt.SunToolkit;
-import sun.awt.AppContext;
-
-/**
- * A frame to show the applet tag in.
- */
-@SuppressWarnings("serial") // JDK-implementation class
-@Deprecated(since = "9")
-final class TextFrame extends Frame {
-
- /**
- * Create the tag frame.
- */
- @SuppressWarnings("deprecation")
- TextFrame(int x, int y, String title, String text) {
- setTitle(title);
- TextArea txt = new TextArea(20, 60);
- txt.setText(text);
- txt.setEditable(false);
-
- add("Center", txt);
-
- Panel p = new Panel();
- add("South", p);
- Button b = new Button(amh.getMessage("button.dismiss", "Dismiss"));
- p.add(b);
-
- class ActionEventListener implements ActionListener {
- @Override
- public void actionPerformed(ActionEvent evt) {
- dispose();
- }
- }
- b.addActionListener(new ActionEventListener());
-
- pack();
- move(x, y);
- setVisible(true);
-
- WindowListener windowEventListener = new WindowAdapter() {
-
- @Override
- public void windowClosing(WindowEvent evt) {
- dispose();
- }
- };
-
- addWindowListener(windowEventListener);
- }
- private static AppletMessageHandler amh = new AppletMessageHandler("textframe");
-
-}
-
-/**
- * Lets us construct one using unix-style one shot behaviors.
- */
-@Deprecated(since = "9")
-final class StdAppletViewerFactory implements AppletViewerFactory {
-
- @Override
- public AppletViewer createAppletViewer(int x, int y,
- URL doc, Hashtable<String, String> atts) {
- return new AppletViewer(x, y, doc, atts, System.out, this);
- }
-
- @Override
- public MenuBar getBaseMenuBar() {
- return new MenuBar();
- }
-
- @Override
- public boolean isStandalone() {
- return true;
- }
-}
-
-/**
- * The applet viewer makes it possible to run a Java applet without using a browser.
- * For details on the syntax that <B>appletviewer</B> supports, see
- * <a href="../../../docs/tooldocs/appletviewertags.html">AppletViewer Tags</a>.
- * (The document named appletviewertags.html in the JDK's docs/tooldocs directory,
- * once the JDK docs have been installed.)
- *
- * @deprecated The Applet API is deprecated. See the
- * <a href="../../java/applet/package-summary.html"> java.applet package
- * documentation</a> for further information.
- */
-@SuppressWarnings({"serial"}) // JDK-implementation class
-@Deprecated(since = "9")
-public class AppletViewer extends Frame implements AppletContext, Printable {
-
- /**
- * Some constants...
- */
- private static String defaultSaveFile = "Applet.ser";
-
- /**
- * The panel in which the applet is being displayed.
- */
- AppletViewerPanel panel;
-
- /**
- * The status line.
- */
- Label label;
-
- /**
- * output status messages to this stream
- */
-
- PrintStream statusMsgStream;
-
- /**
- * For cloning
- */
- AppletViewerFactory factory;
-
- @Deprecated(since = "9")
- private final class UserActionListener implements ActionListener {
- @Override
- public void actionPerformed(ActionEvent evt) {
- processUserAction(evt);
- }
- }
-
- /**
- * Create the applet viewer.
- */
- public AppletViewer(int x, int y, URL doc, Hashtable<String, String> atts,
- PrintStream statusMsgStream, AppletViewerFactory factory) {
- this.factory = factory;
- this.statusMsgStream = statusMsgStream;
- setTitle(amh.getMessage("tool.title", atts.get("code")));
-
- MenuBar mb = factory.getBaseMenuBar();
-
- Menu m = new Menu(amh.getMessage("menu.applet"));
-
- addMenuItem(m, "menuitem.restart");
- addMenuItem(m, "menuitem.reload");
- addMenuItem(m, "menuitem.stop");
- addMenuItem(m, "menuitem.save");
- addMenuItem(m, "menuitem.start");
- addMenuItem(m, "menuitem.clone");
- m.add(new MenuItem("-"));
- addMenuItem(m, "menuitem.tag");
- addMenuItem(m, "menuitem.info");
- addMenuItem(m, "menuitem.edit").disable();
- addMenuItem(m, "menuitem.encoding");
- m.add(new MenuItem("-"));
- addMenuItem(m, "menuitem.print");
- m.add(new MenuItem("-"));
- addMenuItem(m, "menuitem.props");
- m.add(new MenuItem("-"));
- addMenuItem(m, "menuitem.close");
- if (factory.isStandalone()) {
- addMenuItem(m, "menuitem.quit");
- }
-
- mb.add(m);
-
- setMenuBar(mb);
-
- add("Center", panel = new AppletViewerPanel(doc, atts));
- add("South", label = new Label(amh.getMessage("label.hello")));
- panel.init();
- appletPanels.addElement(panel);
-
- pack();
- move(x, y);
- setVisible(true);
-
- WindowListener windowEventListener = new WindowAdapter() {
-
- @Override
- public void windowClosing(WindowEvent evt) {
- appletClose();
- }
-
- @Override
- public void windowIconified(WindowEvent evt) {
- appletStop();
- }
-
- @Override
- public void windowDeiconified(WindowEvent evt) {
- appletStart();
- }
- };
-
- @Deprecated(since = "9")
- class AppletEventListener implements AppletListener
- {
- final Frame frame;
-
- public AppletEventListener(Frame frame)
- {
- this.frame = frame;
- }
-
- @Override
- @SuppressWarnings("deprecation")
- public void appletStateChanged(AppletEvent evt)
- {
- AppletPanel src = (AppletPanel)evt.getSource();
-
- switch (evt.getID()) {
- case AppletPanel.APPLET_RESIZE: {
- if(src != null) {
- resize(preferredSize());
- validate();
- }
- break;
- }
- case AppletPanel.APPLET_LOADING_COMPLETED: {
- Applet a = src.getApplet(); // sun.applet.AppletPanel
-
- // Fixed #4754451: Applet can have methods running on main
- // thread event queue.
- //
- // The cause of this bug is that the frame of the applet
- // is created in main thread group. Thus, when certain
- // AWT/Swing events are generated, the events will be
- // dispatched through the wrong event dispatch thread.
- //
- // To fix this, we rearrange the AppContext with the frame,
- // so the proper event queue will be looked up.
- //
- // Swing also maintains a Frame list for the AppContext,
- // so we will have to rearrange it as well.
- //
- if (a != null)
- AppletPanel.changeFrameAppContext(frame, SunToolkit.targetToAppContext(a));
- else
- AppletPanel.changeFrameAppContext(frame, AppContext.getAppContext());
-
- break;
- }
- }
- }
- };
-
- addWindowListener(windowEventListener);
- panel.addAppletListener(new AppletEventListener(this));
-
- // Start the applet
- showStatus(amh.getMessage("status.start"));
- initEventQueue();
- }
-
- // XXX 99/9/10 probably should be "private"
- public MenuItem addMenuItem(Menu m, String s) {
- MenuItem mItem = new MenuItem(amh.getMessage(s));
- mItem.addActionListener(new UserActionListener());
- return m.add(mItem);
- }
-
- /**
- * Send the initial set of events to the appletviewer event queue.
- * On start-up the current behaviour is to load the applet and call
- * Applet.init() and Applet.start().
- */
- private void initEventQueue() {
- // appletviewer.send.event is an undocumented and unsupported system
- // property which is used exclusively for testing purposes.
- String eventList = System.getProperty("appletviewer.send.event");
-
- if (eventList == null) {
- // Add the standard events onto the event queue.
- panel.sendEvent(AppletPanel.APPLET_LOAD);
- panel.sendEvent(AppletPanel.APPLET_INIT);
- panel.sendEvent(AppletPanel.APPLET_START);
- } else {
- // We're testing AppletViewer. Force the specified set of events
- // onto the event queue, wait for the events to be processed, and
- // exit.
-
- // The list of events that will be executed is provided as a
- // ","-separated list. No error-checking will be done on the list.
- String [] events = splitSeparator(",", eventList);
-
- for (int i = 0; i < events.length; i++) {
- System.out.println("Adding event to queue: " + events[i]);
- if (events[i].equals("dispose"))
- panel.sendEvent(AppletPanel.APPLET_DISPOSE);
- else if (events[i].equals("load"))
- panel.sendEvent(AppletPanel.APPLET_LOAD);
- else if (events[i].equals("init"))
- panel.sendEvent(AppletPanel.APPLET_INIT);
- else if (events[i].equals("start"))
- panel.sendEvent(AppletPanel.APPLET_START);
- else if (events[i].equals("stop"))
- panel.sendEvent(AppletPanel.APPLET_STOP);
- else if (events[i].equals("destroy"))
- panel.sendEvent(AppletPanel.APPLET_DESTROY);
- else if (events[i].equals("quit"))
- panel.sendEvent(AppletPanel.APPLET_QUIT);
- else if (events[i].equals("error"))
- panel.sendEvent(AppletPanel.APPLET_ERROR);
- else
- // non-fatal error if we get an unrecognized event
- System.out.println("Unrecognized event name: " + events[i]);
- }
-
- while (!panel.emptyEventQueue()) ;
- appletSystemExit();
- }
- }
-
- /**
- * Split a string based on the presence of a specified separator. Returns
- * an array of arbitrary length. The end of each element in the array is
- * indicated by the separator of the end of the string. If there is a
- * separator immediately before the end of the string, the final element
- * will be empty. None of the strings will contain the separator. Useful
- * when separating strings such as "foo/bar/bas" using separator "/".
- *
- * @param sep The separator.
- * @param s The string to split.
- * @return An array of strings. Each string in the array is determined
- * by the location of the provided sep in the original string,
- * s. Whitespace not stripped.
- */
- private String [] splitSeparator(String sep, String s) {
- Vector<String> v = new Vector<>();
- int tokenStart = 0;
- int tokenEnd = 0;
-
- while ((tokenEnd = s.indexOf(sep, tokenStart)) != -1) {
- v.addElement(s.substring(tokenStart, tokenEnd));
- tokenStart = tokenEnd+1;
- }
- // Add the final element.
- v.addElement(s.substring(tokenStart));
-
- String [] retVal = new String[v.size()];
- v.copyInto(retVal);
- return retVal;
- }
-
- /*
- * Methods for java.applet.AppletContext
- */
-
- private static Map<URL, AudioClip> audioClips = new HashMap<>();
-
- /**
- * Get an audio clip.
- */
- @Override
- public AudioClip getAudioClip(URL url) {
- checkConnect(url);
- synchronized (audioClips) {
- AudioClip clip = audioClips.get(url);
- if (clip == null) {
- audioClips.put(url, clip = new AppletAudioClip(url));
- }
- return clip;
- }
- }
-
- private static Map<URL, AppletImageRef> imageRefs = new HashMap<>();
-
- /**
- * Get an image.
- */
- @Override
- public Image getImage(URL url) {
- return getCachedImage(url);
- }
-
- /**
- * Get an image.
- */
- static Image getCachedImage(URL url) {
- // System.getSecurityManager().checkConnection(url.getHost(), url.getPort());
- synchronized (imageRefs) {
- AppletImageRef ref = imageRefs.get(url);
- if (ref == null) {
- ref = new AppletImageRef(url);
- imageRefs.put(url, ref);
- }
- return ref.get();
- }
- }
-
- /**
- * Flush the image cache.
- */
- static void flushImageCache() {
- imageRefs.clear();
- }
-
- static Vector<AppletPanel> appletPanels = new Vector<>();
-
- /**
- * Get an applet by name.
- */
- @Override
- public Applet getApplet(String name) {
- AppletSecurity security = (AppletSecurity)System.getSecurityManager();
- name = name.toLowerCase();
- SocketPermission panelSp =
- new SocketPermission(panel.getCodeBase().getHost(), "connect");
- for (Enumeration<AppletPanel> e = appletPanels.elements() ; e.hasMoreElements() ;) {
- AppletPanel p = e.nextElement();
- String param = p.getParameter("name");
- if (param != null) {
- param = param.toLowerCase();
- }
- if (name.equals(param) &&
- p.getDocumentBase().equals(panel.getDocumentBase())) {
-
- SocketPermission sp =
- new SocketPermission(p.getCodeBase().getHost(), "connect");
-
- if (panelSp.implies(sp)) {
- return p.applet;
- }
- }
- }
- return null;
- }
-
- /**
- * Return an enumeration of all the accessible
- * applets on this page.
- */
- @Override
- public Enumeration<Applet> getApplets() {
- AppletSecurity security = (AppletSecurity)System.getSecurityManager();
- Vector<Applet> v = new Vector<>();
- SocketPermission panelSp =
- new SocketPermission(panel.getCodeBase().getHost(), "connect");
-
- for (Enumeration<AppletPanel> e = appletPanels.elements() ; e.hasMoreElements() ;) {
- AppletPanel p = e.nextElement();
- if (p.getDocumentBase().equals(panel.getDocumentBase())) {
-
- SocketPermission sp =
- new SocketPermission(p.getCodeBase().getHost(), "connect");
- if (panelSp.implies(sp)) {
- v.addElement(p.applet);
- }
- }
- }
- return v.elements();
- }
-
- /**
- * Ignore.
- */
- @Override
- public void showDocument(URL url) {
- }
-
- /**
- * Ignore.
- */
- @Override
- public void showDocument(URL url, String target) {
- }
-
- /**
- * Show status.
- */
- @Override
- public void showStatus(String status) {
- label.setText(status);
- }
-
- @Override
- public void setStream(String key, InputStream stream)throws IOException{
- // We do nothing.
- }
-
- @Override
- public InputStream getStream(String key){
- // We do nothing.
- return null;
- }
-
- @Override
- public Iterator<String> getStreamKeys(){
- // We do nothing.
- return null;
- }
-
- /**
- * System parameters.
- */
- static Hashtable<String, String> systemParam = new Hashtable<>();
-
- static {
- systemParam.put("codebase", "codebase");
- systemParam.put("code", "code");
- systemParam.put("alt", "alt");
- systemParam.put("width", "width");
- systemParam.put("height", "height");
- systemParam.put("align", "align");
- systemParam.put("vspace", "vspace");
- systemParam.put("hspace", "hspace");
- }
-
- /**
- * Print the HTML tag.
- */
- public static void printTag(PrintStream out, Hashtable<String, String> atts) {
- out.print("<applet");
-
- String v = atts.get("codebase");
- if (v != null) {
- out.print(" codebase=\"" + v + "\"");
- }
-
- v = atts.get("code");
- if (v == null) {
- v = "applet.class";
- }
- out.print(" code=\"" + v + "\"");
- v = atts.get("width");
- if (v == null) {
- v = "150";
- }
- out.print(" width=" + v);
-
- v = atts.get("height");
- if (v == null) {
- v = "100";
- }
- out.print(" height=" + v);
-
- v = atts.get("name");
- if (v != null) {
- out.print(" name=\"" + v + "\"");
- }
- out.println(">");
-
- // A very slow sorting algorithm
- int len = atts.size();
- String params[] = new String[len];
- len = 0;
- for (Enumeration<String> e = atts.keys() ; e.hasMoreElements() ;) {
- String param = e.nextElement();
- int i = 0;
- for (; i < len ; i++) {
- if (params[i].compareTo(param) >= 0) {
- break;
- }
- }
- System.arraycopy(params, i, params, i + 1, len - i);
- params[i] = param;
- len++;
- }
-
- for (int i = 0 ; i < len ; i++) {
- String param = params[i];
- if (systemParam.get(param) == null) {
- out.println("<param name=" + param +
- " value=\"" + atts.get(param) + "\">");
- }
- }
- out.println("</applet>");
- }
-
- /**
- * Make sure the atrributes are uptodate.
- */
- @SuppressWarnings("deprecation")
- public void updateAtts() {
- Dimension d = panel.size();
- Insets in = panel.insets();
- panel.atts.put("width",
- Integer.toString(d.width - (in.left + in.right)));
- panel.atts.put("height",
- Integer.toString(d.height - (in.top + in.bottom)));
- }
-
- /**
- * Restart the applet.
- */
- void appletRestart() {
- panel.sendEvent(AppletPanel.APPLET_STOP);
- panel.sendEvent(AppletPanel.APPLET_DESTROY);
- panel.sendEvent(AppletPanel.APPLET_INIT);
- panel.sendEvent(AppletPanel.APPLET_START);
- }
-
- /**
- * Reload the applet.
- */
- void appletReload() {
- panel.sendEvent(AppletPanel.APPLET_STOP);
- panel.sendEvent(AppletPanel.APPLET_DESTROY);
- panel.sendEvent(AppletPanel.APPLET_DISPOSE);
-
- /**
- * Fixed #4501142: Classloader sharing policy doesn't
- * take "archive" into account. This will be overridden
- * by Java Plug-in. [stanleyh]
- */
- AppletPanel.flushClassLoader(panel.getClassLoaderCacheKey());
-
- /*
- * Make sure we don't have two threads running through the event queue
- * at the same time.
- */
- try {
- panel.joinAppletThread();
- panel.release();
- } catch (InterruptedException e) {
- return; // abort the reload
- }
-
- panel.createAppletThread();
- panel.sendEvent(AppletPanel.APPLET_LOAD);
- panel.sendEvent(AppletPanel.APPLET_INIT);
- panel.sendEvent(AppletPanel.APPLET_START);
- }
-
- /**
- * Save the applet to a well known file (for now) as a serialized object
- */
- @SuppressWarnings("deprecation")
- void appletSave() {
- AccessController.doPrivileged(new PrivilegedAction<Object>() {
-
- @Override
- public Object run() {
- // XXX: this privileged block should be made smaller
- // by initializing a private static variable with "user.dir"
-
- // Applet needs to be stopped for serialization to succeed.
- // Since panel.sendEvent only queues the event, there is a
- // chance that the event will not be processed before
- // serialization begins. However, by sending the event before
- // FileDialog is created, enough time is given such that this
- // situation is unlikely to ever occur.
-
- panel.sendEvent(AppletPanel.APPLET_STOP);
- FileDialog fd = new FileDialog(AppletViewer.this,
- amh.getMessage("appletsave.filedialogtitle"),
- FileDialog.SAVE);
- // needed for a bug under Solaris...
- fd.setDirectory(System.getProperty("user.dir"));
- fd.setFile(defaultSaveFile);
- fd.show();
- String fname = fd.getFile();
- if (fname == null) {
- // Restart applet if Save is cancelled.
- panel.sendEvent(AppletPanel.APPLET_START);
- return null; // cancelled
- }
- String dname = fd.getDirectory();
- File file = new File(dname, fname);
-
- try (FileOutputStream fos = new FileOutputStream(file);
- BufferedOutputStream bos = new BufferedOutputStream(fos);
- ObjectOutputStream os = new ObjectOutputStream(bos)) {
-
- showStatus(amh.getMessage("appletsave.err1", panel.applet.toString(), file.toString()));
- os.writeObject(panel.applet);
- } catch (IOException ex) {
- System.err.println(amh.getMessage("appletsave.err2", ex));
- } finally {
- panel.sendEvent(AppletPanel.APPLET_START);
- }
- return null;
- }
- });
- }
-
- /**
- * Clone the viewer and the applet.
- */
- @SuppressWarnings("deprecation")
- void appletClone() {
- Point p = location();
- updateAtts();
- @SuppressWarnings("unchecked")
- Hashtable<String, String> tmp = (Hashtable<String, String>) panel.atts.clone();
- factory.createAppletViewer(p.x + XDELTA, p.y + YDELTA,
- panel.documentURL, tmp);
- }
-
- /**
- * Show the applet tag.
- */
- @SuppressWarnings("deprecation")
- void appletTag() {
- ByteArrayOutputStream out = new ByteArrayOutputStream();
- updateAtts();
- printTag(new PrintStream(out), panel.atts);
- showStatus(amh.getMessage("applettag"));
-
- Point p = location();
- new TextFrame(p.x + XDELTA, p.y + YDELTA, amh.getMessage("applettag.textframe"), out.toString());
- }
-
- /**
- * Show the applet info.
- */
- @SuppressWarnings("deprecation")
- void appletInfo() {
- String str = panel.applet.getAppletInfo();
- if (str == null) {
- str = amh.getMessage("appletinfo.applet");
- }
- str += "\n\n";
-
- String atts[][] = panel.applet.getParameterInfo();
- if (atts != null) {
- for (int i = 0 ; i < atts.length ; i++) {
- str += atts[i][0] + " -- " + atts[i][1] + " -- " + atts[i][2] + "\n";
- }
- } else {
- str += amh.getMessage("appletinfo.param");
- }
-
- Point p = location();
- new TextFrame(p.x + XDELTA, p.y + YDELTA, amh.getMessage("appletinfo.textframe"), str);
-
- }
-
- /**
- * Show character encoding type
- */
- void appletCharacterEncoding() {
- showStatus(amh.getMessage("appletencoding", encoding));
- }
-
- /**
- * Edit the applet.
- */
- void appletEdit() {
- }
-
- /**
- * Print the applet.
- */
- void appletPrint() {
- PrinterJob pj = PrinterJob.getPrinterJob();
-
- if (pj != null) {
- PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
- if (pj.printDialog(aset)) {
- pj.setPrintable(this);
- try {
- pj.print(aset);
- statusMsgStream.println(amh.getMessage("appletprint.finish"));
- } catch (PrinterException e) {
- statusMsgStream.println(amh.getMessage("appletprint.fail"));
- }
- } else {
- statusMsgStream.println(amh.getMessage("appletprint.cancel"));
- }
- } else {
- statusMsgStream.println(amh.getMessage("appletprint.fail"));
- }
- }
-
- @Override
- public int print(Graphics graphics, PageFormat pf, int pageIndex) {
- if (pageIndex > 0) {
- return Printable.NO_SUCH_PAGE;
- } else {
- Graphics2D g2d = (Graphics2D)graphics;
- g2d.translate(pf.getImageableX(), pf.getImageableY());
- panel.applet.printAll(graphics);
- return Printable.PAGE_EXISTS;
- }
- }
-
- /**
- * Properties.
- */
- static AppletProps props;
- public static synchronized void networkProperties() {
- if (props == null) {
- props = new AppletProps();
- }
- props.addNotify();
- props.setVisible(true);
- }
-
- /**
- * Start the applet.
- */
- void appletStart() {
- panel.sendEvent(AppletPanel.APPLET_START);
- }
-
- /**
- * Stop the applet.
- */
- void appletStop() {
- panel.sendEvent(AppletPanel.APPLET_STOP);
- }
-
- /**
- * Shutdown a viewer.
- * Stop, Destroy, Dispose and Quit a viewer
- */
- private void appletShutdown(AppletPanel p) {
- p.sendEvent(AppletPanel.APPLET_STOP);
- p.sendEvent(AppletPanel.APPLET_DESTROY);
- p.sendEvent(AppletPanel.APPLET_DISPOSE);
- p.sendEvent(AppletPanel.APPLET_QUIT);
- }
-
- /**
- * Close this viewer.
- * Stop, Destroy, Dispose and Quit an AppletView, then
- * reclaim resources and exit the program if this is
- * the last applet.
- */
- void appletClose() {
-
- // The caller thread is event dispatch thread, so
- // spawn a new thread to avoid blocking the event queue
- // when calling appletShutdown.
- //
- final AppletPanel p = panel;
-
- new Thread(null, new Runnable()
- {
- @Override
- public void run()
- {
- appletShutdown(p);
- appletPanels.removeElement(p);
- dispose();
-
- if (countApplets() == 0) {
- appletSystemExit();
- }
- }
- },
- "AppletCloser", 0, false).start();
- }
-
- /**
- * Exit the program.
- * Exit from the program (if not stand alone) - do no clean-up
- */
- private void appletSystemExit() {
- if (factory.isStandalone())
- System.exit(0);
- }
-
- /**
- * Quit all viewers.
- * Shutdown all viewers properly then
- * exit from the program (if not stand alone)
- */
- protected void appletQuit()
- {
- // The caller thread is event dispatch thread, so
- // spawn a new thread to avoid blocking the event queue
- // when calling appletShutdown.
- //
- new Thread(null, new Runnable()
- {
- @Override
- public void run()
- {
- for (Enumeration<AppletPanel> e = appletPanels.elements() ; e.hasMoreElements() ;) {
- AppletPanel p = e.nextElement();
- appletShutdown(p);
- }
- appletSystemExit();
- }
- },
- "AppletQuit", 0, false).start();
- }
-
- /**
- * Handle events.
- */
- public void processUserAction(ActionEvent evt) {
-
- String label = ((MenuItem)evt.getSource()).getLabel();
-
- if (amh.getMessage("menuitem.restart").equals(label)) {
- appletRestart();
- return;
- }
-
- if (amh.getMessage("menuitem.reload").equals(label)) {
- appletReload();
- return;
- }
-
- if (amh.getMessage("menuitem.clone").equals(label)) {
- appletClone();
- return;
- }
-
- if (amh.getMessage("menuitem.stop").equals(label)) {
- appletStop();
- return;
- }
-
- if (amh.getMessage("menuitem.save").equals(label)) {
- appletSave();
- return;
- }
-
- if (amh.getMessage("menuitem.start").equals(label)) {
- appletStart();
- return;
- }
-
- if (amh.getMessage("menuitem.tag").equals(label)) {
- appletTag();
- return;
- }
-
- if (amh.getMessage("menuitem.info").equals(label)) {
- appletInfo();
- return;
- }
-
- if (amh.getMessage("menuitem.encoding").equals(label)) {
- appletCharacterEncoding();
- return;
- }
-
- if (amh.getMessage("menuitem.edit").equals(label)) {
- appletEdit();
- return;
- }
-
- if (amh.getMessage("menuitem.print").equals(label)) {
- appletPrint();
- return;
- }
-
- if (amh.getMessage("menuitem.props").equals(label)) {
- networkProperties();
- return;
- }
-
- if (amh.getMessage("menuitem.close").equals(label)) {
- appletClose();
- return;
- }
-
- if (factory.isStandalone() && amh.getMessage("menuitem.quit").equals(label)) {
- appletQuit();
- return;
- }
- //statusMsgStream.println("evt = " + evt);
- }
-
- /**
- * How many applets are running?
- */
-
- public static int countApplets() {
- return appletPanels.size();
- }
-
-
- /**
- * The current character.
- */
- static int c;
-
- /**
- * Scan spaces.
- */
- public static void skipSpace(Reader in) throws IOException {
- while ((c >= 0) &&
- ((c == ' ') || (c == '\t') || (c == '\n') || (c == '\r'))) {
- c = in.read();
- }
- }
-
- /**
- * Scan identifier
- */
- public static String scanIdentifier(Reader in) throws IOException {
- StringBuilder sb = new StringBuilder();
- while (true) {
- if (((c >= 'a') && (c <= 'z')) ||
- ((c >= 'A') && (c <= 'Z')) ||
- ((c >= '0') && (c <= '9')) || (c == '_')) {
- sb.append((char) c);
- c = in.read();
- } else {
- return sb.toString();
- }
- }
- }
-
- /**
- * Scan tag
- */
- public static Hashtable<String, String> scanTag(Reader in) throws IOException {
- Hashtable<String, String> atts = new Hashtable<>();
- skipSpace(in);
- while (c >= 0 && c != '>') {
- String att = scanIdentifier(in);
- String val = "";
- skipSpace(in);
- if (c == '=') {
- int quote = -1;
- c = in.read();
- skipSpace(in);
- if ((c == '\'') || (c == '\"')) {
- quote = c;
- c = in.read();
- }
- StringBuilder sb = new StringBuilder();
- while ((c > 0) &&
- (((quote < 0) && (c != ' ') && (c != '\t') &&
- (c != '\n') && (c != '\r') && (c != '>'))
- || ((quote >= 0) && (c != quote)))) {
- sb.append((char) c);
- c = in.read();
- }
- if (c == quote) {
- c = in.read();
- }
- skipSpace(in);
- val = sb.toString();
- }
- //statusMsgStream.println("PUT " + att + " = '" + val + "'");
- if (! val.equals("")) {
- atts.put(att.toLowerCase(java.util.Locale.ENGLISH), val);
- }
- while (true) {
- if ((c == '>') || (c < 0) ||
- ((c >= 'a') && (c <= 'z')) ||
- ((c >= 'A') && (c <= 'Z')) ||
- ((c >= '0') && (c <= '9')) || (c == '_'))
- break;
- c = in.read();
- }
- //skipSpace(in);
- }
- return atts;
- }
-
- /* values used for placement of AppletViewer's frames */
- private static int x = 0;
- private static int y = 0;
- private static final int XDELTA = 30;
- private static final int YDELTA = XDELTA;
-
- static String encoding = null;
-
- private static Reader makeReader(InputStream is) {
- if (encoding != null) {
- try {
- return new BufferedReader(new InputStreamReader(is, encoding));
- } catch (IOException x) { }
- }
- InputStreamReader r = new InputStreamReader(is);
- encoding = r.getEncoding();
- return new BufferedReader(r);
- }
-
- /**
- * Scan an html file for {@code <applet>} tags
- */
- public static void parse(URL url, String enc) throws IOException {
- encoding = enc;
- parse(url, System.out, new StdAppletViewerFactory());
- }
-
- public static void parse(URL url) throws IOException {
- parse(url, System.out, new StdAppletViewerFactory());
- }
-
- public static void parse(URL url, PrintStream statusMsgStream,
- AppletViewerFactory factory) throws IOException {
- // <OBJECT> <EMBED> tag flags
- boolean isAppletTag = false;
- boolean isObjectTag = false;
- boolean isEmbedTag = false;
-
- // warning messages
- String requiresNameWarning = amh.getMessage("parse.warning.requiresname");
- String paramOutsideWarning = amh.getMessage("parse.warning.paramoutside");
- String appletRequiresCodeWarning = amh.getMessage("parse.warning.applet.requirescode");
- String appletRequiresHeightWarning = amh.getMessage("parse.warning.applet.requiresheight");
- String appletRequiresWidthWarning = amh.getMessage("parse.warning.applet.requireswidth");
- String objectRequiresCodeWarning = amh.getMessage("parse.warning.object.requirescode");
- String objectRequiresHeightWarning = amh.getMessage("parse.warning.object.requiresheight");
- String objectRequiresWidthWarning = amh.getMessage("parse.warning.object.requireswidth");
- String embedRequiresCodeWarning = amh.getMessage("parse.warning.embed.requirescode");
- String embedRequiresHeightWarning = amh.getMessage("parse.warning.embed.requiresheight");
- String embedRequiresWidthWarning = amh.getMessage("parse.warning.embed.requireswidth");
- String appNotLongerSupportedWarning = amh.getMessage("parse.warning.appnotLongersupported");
-
- java.net.URLConnection conn = url.openConnection();
- Reader in = makeReader(conn.getInputStream());
- /* The original URL may have been redirected - this
- * sets it to whatever URL/codebase we ended up getting
- */
- url = conn.getURL();
-
- int ydisp = 1;
- Hashtable<String, String> atts = null;
-
- while(true) {
- c = in.read();
- if (c == -1)
- break;
-
- if (c == '<') {
- c = in.read();
- if (c == '/') {
- c = in.read();
- String nm = scanIdentifier(in);
- if (nm.equalsIgnoreCase("applet") ||
- nm.equalsIgnoreCase("object") ||
- nm.equalsIgnoreCase("embed")) {
-
- // We can't test for a code tag until </OBJECT>
- // because it is a parameter, not an attribute.
- if(isObjectTag) {
- if (atts.get("code") == null && atts.get("object") == null) {
- statusMsgStream.println(objectRequiresCodeWarning);
- atts = null;
- }
- }
-
- if (atts != null) {
- // XXX 5/18 In general this code just simply
- // shouldn't be part of parsing. It's presence
- // causes things to be a little too much of a
- // hack.
- factory.createAppletViewer(x, y, url, atts);
- x += XDELTA;
- y += YDELTA;
- // make sure we don't go too far!
- Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
- if ((x > d.width - 300) || (y > d.height - 300)) {
- x = 0;
- y = 2 * ydisp * YDELTA;
- ydisp++;
- }
- }
- atts = null;
- isAppletTag = false;
- isObjectTag = false;
- isEmbedTag = false;
- }
- }
- else {
- String nm = scanIdentifier(in);
- if (nm.equalsIgnoreCase("param")) {
- Hashtable<String, String> t = scanTag(in);
- String att = t.get("name");
- if (att == null) {
- statusMsgStream.println(requiresNameWarning);
- } else {
- String val = t.get("value");
- if (val == null) {
- statusMsgStream.println(requiresNameWarning);
- } else if (atts != null) {
- atts.put(att.toLowerCase(), val);
- } else {
- statusMsgStream.println(paramOutsideWarning);
- }
- }
- }
- else if (nm.equalsIgnoreCase("applet")) {
- isAppletTag = true;
- atts = scanTag(in);
- if (atts.get("code") == null && atts.get("object") == null) {
- statusMsgStream.println(appletRequiresCodeWarning);
- atts = null;
- } else if (atts.get("width") == null) {
- statusMsgStream.println(appletRequiresWidthWarning);
- atts = null;
- } else if (atts.get("height") == null) {
- statusMsgStream.println(appletRequiresHeightWarning);
- atts = null;
- }
- }
- else if (nm.equalsIgnoreCase("object")) {
- isObjectTag = true;
- atts = scanTag(in);
- // The <OBJECT> attribute codebase isn't what
- // we want. If its defined, remove it.
- if(atts.get("codebase") != null) {
- atts.remove("codebase");
- }
-
- if (atts.get("width") == null) {
- statusMsgStream.println(objectRequiresWidthWarning);
- atts = null;
- } else if (atts.get("height") == null) {
- statusMsgStream.println(objectRequiresHeightWarning);
- atts = null;
- }
- }
- else if (nm.equalsIgnoreCase("embed")) {
- isEmbedTag = true;
- atts = scanTag(in);
-
- if (atts.get("code") == null && atts.get("object") == null) {
- statusMsgStream.println(embedRequiresCodeWarning);
- atts = null;
- } else if (atts.get("width") == null) {
- statusMsgStream.println(embedRequiresWidthWarning);
- atts = null;
- } else if (atts.get("height") == null) {
- statusMsgStream.println(embedRequiresHeightWarning);
- atts = null;
- }
- }
- else if (nm.equalsIgnoreCase("app")) {
- statusMsgStream.println(appNotLongerSupportedWarning);
- Hashtable<String, String> atts2 = scanTag(in);
- nm = atts2.get("class");
- if (nm != null) {
- atts2.remove("class");
- atts2.put("code", nm + ".class");
- }
- nm = atts2.get("src");
- if (nm != null) {
- atts2.remove("src");
- atts2.put("codebase", nm);
- }
- if (atts2.get("width") == null) {
- atts2.put("width", "100");
- }
- if (atts2.get("height") == null) {
- atts2.put("height", "100");
- }
- printTag(statusMsgStream, atts2);
- statusMsgStream.println();
- }
- }
- }
- }
- in.close();
- }
-
- /**
- * Old main entry point.
- *
- * @deprecated
- */
- @Deprecated
- public static void main(String argv[]) {
- // re-route everything to the new main entry point
- Main.main(argv);
- }
-
- private static AppletMessageHandler amh = new AppletMessageHandler("appletviewer");
-
- private static void checkConnect(URL url)
- {
- SecurityManager security = System.getSecurityManager();
- if (security != null) {
- try {
- java.security.Permission perm =
- url.openConnection().getPermission();
- if (perm != null)
- security.checkPermission(perm);
- else
- security.checkConnect(url.getHost(), url.getPort());
- } catch (java.io.IOException ioe) {
- security.checkConnect(url.getHost(), url.getPort());
- }
- }
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/AppletViewerFactory.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 1996, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-/*
- * AppletViewerFactory.java
- */
-
-package sun.applet;
-
-import java.util.Hashtable;
-import java.net.URL;
-import java.awt.MenuBar;
-
-@Deprecated(since = "9")
-public interface AppletViewerFactory {
- public AppletViewer createAppletViewer(int x, int y, URL doc,
- Hashtable<String, String> atts);
- public MenuBar getBaseMenuBar();
- public boolean isStandalone();
-}
--- a/src/java.desktop/share/classes/sun/applet/AppletViewerPanel.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,221 +0,0 @@
-/*
- * Copyright (c) 1995, 2005, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package sun.applet;
-
-import java.util.*;
-import java.io.*;
-import java.net.URL;
-import java.net.MalformedURLException;
-import java.awt.*;
-import java.applet.*;
-
-
-/**
- * Sample applet panel class. The panel manages and manipulates the
- * applet as it is being loaded. It forks a seperate thread in a new
- * thread group to call the applet's init(), start(), stop(), and
- * destroy() methods.
- *
- * @author Arthur van Hoff
- *
- * @deprecated The Applet API is deprecated. See the
- * <a href="../../java/applet/package-summary.html"> java.applet package
- * documentation</a> for further information.
- */
-@Deprecated(since = "9")
-class AppletViewerPanel extends AppletPanel {
-
- /* Are we debugging? */
- static boolean debug = false;
-
- /**
- * The document url.
- */
- URL documentURL;
-
- /**
- * The base url.
- */
- URL baseURL;
-
- /**
- * The attributes of the applet.
- */
- Hashtable<String, String> atts;
-
- /*
- * JDK 1.1 serialVersionUID
- */
- private static final long serialVersionUID = 8890989370785545619L;
-
- /**
- * Construct an applet viewer and start the applet.
- */
- AppletViewerPanel(URL documentURL, Hashtable<String, String> atts) {
- this.documentURL = documentURL;
- this.atts = atts;
-
- String att = getParameter("codebase");
- if (att != null) {
- if (!att.endsWith("/")) {
- att += "/";
- }
- try {
- baseURL = new URL(documentURL, att);
- } catch (MalformedURLException e) {
- }
- }
- if (baseURL == null) {
- String file = documentURL.getFile();
- int i = file.lastIndexOf('/');
- if (i >= 0 && i < file.length() - 1) {
- try {
- baseURL = new URL(documentURL, file.substring(0, i + 1));
- } catch (MalformedURLException e) {
- }
- }
- }
-
- // when all is said & done, baseURL shouldn't be null
- if (baseURL == null)
- baseURL = documentURL;
-
-
- }
-
- /**
- * Get an applet parameter.
- */
- public String getParameter(String name) {
- return atts.get(name.toLowerCase());
- }
-
- /**
- * Get the document url.
- */
- public URL getDocumentBase() {
- return documentURL;
-
- }
-
- /**
- * Get the base url.
- */
- public URL getCodeBase() {
- return baseURL;
- }
-
- /**
- * Get the width.
- */
- public int getWidth() {
- String w = getParameter("width");
- if (w != null) {
- return Integer.valueOf(w).intValue();
- }
- return 0;
- }
-
-
- /**
- * Get the height.
- */
- public int getHeight() {
- String h = getParameter("height");
- if (h != null) {
- return Integer.valueOf(h).intValue();
- }
- return 0;
- }
-
- /**
- * Get initial_focus
- */
- public boolean hasInitialFocus()
- {
-
- // 6234219: Do not set initial focus on an applet
- // during startup if applet is targeted for
- // JDK 1.1/1.2. [stanley.ho]
- if (isJDK11Applet() || isJDK12Applet())
- return false;
-
- String initialFocus = getParameter("initial_focus");
-
- if (initialFocus != null)
- {
- if (initialFocus.toLowerCase().equals("false"))
- return false;
- }
-
- return true;
- }
-
- /**
- * Get the code parameter
- */
- public String getCode() {
- return getParameter("code");
- }
-
-
- /**
- * Return the list of jar files if specified.
- * Otherwise return null.
- */
- public String getJarFiles() {
- return getParameter("archive");
- }
-
- /**
- * Return the value of the object param
- */
- public String getSerializedObject() {
- return getParameter("object");// another name?
- }
-
-
- /**
- * Get the applet context. For now this is
- * also implemented by the AppletPanel class.
- */
- @SuppressWarnings("deprecation")
- public AppletContext getAppletContext() {
- return (AppletContext)getParent();
- }
-
- static void debug(String s) {
- if(debug)
- System.err.println("AppletViewerPanel:::" + s);
- }
-
- static void debug(String s, Throwable t) {
- if(debug) {
- t.printStackTrace();
- debug(s);
- }
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/Main.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,460 +0,0 @@
-/*
- * Copyright (c) 1999, 2016, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package sun.applet;
-
-import java.io.BufferedInputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.net.URL;
-import java.net.MalformedURLException;
-import java.util.Enumeration;
-import java.util.Properties;
-import java.util.Vector;
-import sun.net.www.ParseUtil;
-
-/**
- * The main entry point into AppletViewer.
- *
- * @deprecated The Applet API is deprecated. See the
- * <a href="../../java/applet/package-summary.html"> java.applet package
- * documentation</a> for further information.
- */
-@Deprecated(since = "9")
-public class Main {
- /**
- * The file which contains all of the AppletViewer specific properties.
- */
- static File theUserPropertiesFile;
-
- /**
- * The default key/value pairs for the required user-specific properties.
- */
- static final String [][] avDefaultUserProps = {
- // There's a bootstrapping problem here. If we don't have a proxyHost,
- // then we will not be able to connect to a URL outside the firewall;
- // however, there's no way for us to set the proxyHost without starting
- // AppletViewer. This problem existed before the re-write.
- {"http.proxyHost", ""},
- {"http.proxyPort", "80"},
- {"package.restrict.access.sun", "true"}
- };
-
- static {
- File userHome = new File(System.getProperty("user.home"));
- // make sure we can write to this location
- userHome.canWrite();
-
- theUserPropertiesFile = new File(userHome, ".appletviewer");
- }
-
- // i18n
- private static AppletMessageHandler amh = new AppletMessageHandler("appletviewer");
-
- /**
- * Member variables set according to options passed in to AppletViewer.
- */
- private boolean helpFlag = false;
- private String encoding = null;
- private boolean noSecurityFlag = false;
- private static boolean cmdLineTestFlag = false;
-
- /**
- * The list of valid URLs passed in to AppletViewer.
- */
- private static Vector<URL> urlList = new Vector<>(1);
-
- // This is used in init(). Getting rid of this is desirable but depends
- // on whether the property that uses it is necessary/standard.
- public static final String theVersion = System.getProperty("java.version");
-
- /**
- * The main entry point into AppletViewer.
- */
- public static void main(String [] args) {
- Main m = new Main();
- int ret = m.run(args);
-
- // Exit immediately if we got some sort of error along the way.
- // For debugging purposes, if we have passed in "-XcmdLineTest" we
- // force a premature exit.
- if ((ret != 0) || (cmdLineTestFlag))
- System.exit(ret);
- }
-
- private int run(String [] args) {
- // DECODE ARGS
- try {
- System.err.println(lookup("deprecated"));
- System.err.flush();
- if (args.length == 0) {
- usage();
- return 0;
- }
- for (int i = 0; i < args.length; ) {
- int j = decodeArg(args, i);
- if (j == 0) {
- throw new ParseException(lookup("main.err.unrecognizedarg",
- args[i]));
- }
- i += j;
- }
- } catch (ParseException e) {
- System.err.println(e.getMessage());
- return 1;
- }
-
- // CHECK ARGUMENTS
- if (helpFlag) {
- usage();
- return 0;
- }
-
- if (urlList.size() == 0) {
- System.err.println(lookup("main.err.inputfile"));
- return 1;
- }
-
- // INSTALL THE SECURITY MANAGER (if necessary)
- if (!noSecurityFlag && (System.getSecurityManager() == null))
- init();
-
- // LAUNCH APPLETVIEWER FOR EACH URL
- for (int i = 0; i < urlList.size(); i++) {
- try {
- // XXX 5/17 this parsing method should be changed/fixed so that
- // it doesn't do both parsing of the html file and launching of
- // the AppletPanel
- AppletViewer.parse(urlList.elementAt(i), encoding);
- } catch (IOException e) {
- System.err.println(lookup("main.err.io", e.getMessage()));
- return 1;
- }
- }
- return 0;
- }
-
- private static void usage() {
- System.out.println(lookup("usage"));
- }
-
- /**
- * Decode a single argument in an array and return the number of elements
- * used.
- *
- * @param args The array of arguments.
- * @param i The argument to decode.
- * @return The number of array elements used when the argument was
- * decoded.
- * @exception ParseException
- * Thrown when there is a problem with something in the
- * argument array.
- */
- private int decodeArg(String [] args, int i) throws ParseException {
- String arg = args[i];
- int argc = args.length;
-
- if ("-help".equalsIgnoreCase(arg) || "-?".equals(arg)) {
- helpFlag = true;
- return 1;
- } else if ("-encoding".equals(arg) && (i < argc - 1)) {
- if (encoding != null)
- throw new ParseException(lookup("main.err.dupoption", arg));
- encoding = args[++i];
- return 2;
- } else if ("-Xnosecurity".equals(arg)) {
- // This is an undocumented (and, in the future, unsupported)
- // flag which prevents AppletViewer from installing its own
- // SecurityManager.
-
- System.err.println();
- System.err.println(lookup("main.warn.nosecmgr"));
- System.err.println();
-
- noSecurityFlag = true;
- return 1;
- } else if ("-XcmdLineTest".equals(arg)) {
- // This is an internal flag which should be used for command-line
- // testing. It instructs AppletViewer to force a premature exit
- // immediately after the applet has been launched.
- cmdLineTestFlag = true;
- return 1;
- } else if (arg.startsWith("-")) {
- throw new ParseException(lookup("main.err.unsupportedopt", arg));
- } else {
- // we found what we hope is a url
- URL url = parseURL(arg);
- if (url != null) {
- urlList.addElement(url);
- return 1;
- }
- }
- return 0;
- }
-
- /**
- * Following the relevant RFC, construct a valid URL based on the passed in
- * string.
- *
- * @param url a string which represents either a relative or absolute URL.
- * @return a URL when the passed in string can be interpreted according
- * to the RFC, {@code null} otherwise.
- * @exception ParseException
- * Thrown when we are unable to construct a proper URL from the
- * passed in string.
- */
- private URL parseURL(String url) throws ParseException {
- URL u = null;
- // prefix of the urls with 'file' scheme
- String prefix = "file:";
-
- try {
- if (url.indexOf(':') <= 1)
- {
- // appletviewer accepts only unencoded filesystem paths
- u = ParseUtil.fileToEncodedURL(new File(url));
- } else if (url.startsWith(prefix) &&
- url.length() != prefix.length() &&
- !(new File(url.substring(prefix.length())).isAbsolute()))
- {
- // relative file URL, like this "file:index.html"
- // ensure that this file URL is absolute
- // ParseUtil.fileToEncodedURL should be done last (see 6329251)
- String path = ParseUtil.fileToEncodedURL(new File(System.getProperty("user.dir"))).getPath() +
- url.substring(prefix.length());
- u = new URL("file", "", path);
- } else {
- // appletviewer accepts only encoded urls
- u = new URL(url);
- }
- } catch (MalformedURLException e) {
- throw new ParseException(lookup("main.err.badurl",
- url, e.getMessage()));
- }
-
- return u;
- }
-
- private void init() {
- // GET APPLETVIEWER USER-SPECIFIC PROPERTIES
- Properties avProps = getAVProps();
-
- // ADD OTHER RANDOM PROPERTIES
- // XXX 5/18 need to revisit why these are here, is there some
- // standard for what is available?
-
- // Standard browser properties
- avProps.put("browser", "sun.applet.AppletViewer");
- avProps.put("browser.version", "1.06");
- avProps.put("browser.vendor", "Oracle Corporation");
- avProps.put("http.agent", "Java(tm) 2 SDK, Standard Edition v" + theVersion);
-
- // Define which packages can be extended by applets
- // XXX 5/19 probably not needed, not checked in AppletSecurity
- avProps.put("package.restrict.definition.java", "true");
- avProps.put("package.restrict.definition.sun", "true");
-
- // Define which properties can be read by applets.
- // A property named by "key" can be read only when its twin
- // property "key.applet" is true. The following ten properties
- // are open by default. Any other property can be explicitly
- // opened up by the browser user by calling appletviewer with
- // -J-Dkey.applet=true
- avProps.put("java.version.applet", "true");
- avProps.put("java.vendor.applet", "true");
- avProps.put("java.vendor.url.applet", "true");
- avProps.put("java.class.version.applet", "true");
- avProps.put("os.name.applet", "true");
- avProps.put("os.version.applet", "true");
- avProps.put("os.arch.applet", "true");
- avProps.put("file.separator.applet", "true");
- avProps.put("path.separator.applet", "true");
- avProps.put("line.separator.applet", "true");
-
- // Read in the System properties. If something is going to be
- // over-written, warn about it.
- Properties sysProps = System.getProperties();
- for (Enumeration<?> e = sysProps.propertyNames(); e.hasMoreElements(); ) {
- String key = (String) e.nextElement();
- String val = sysProps.getProperty(key);
- String oldVal;
- if ((oldVal = (String) avProps.setProperty(key, val)) != null)
- System.err.println(lookup("main.warn.prop.overwrite", key,
- oldVal, val));
- }
-
- // INSTALL THE PROPERTY LIST
- System.setProperties(avProps);
-
- // Create and install the security manager
- if (!noSecurityFlag) {
- System.setSecurityManager(new AppletSecurity());
- } else {
- System.err.println(lookup("main.nosecmgr"));
- }
-
- // REMIND: Create and install a socket factory!
- }
-
- /**
- * Read the AppletViewer user-specific properties. Typically, these
- * properties should reside in the file $USER/.appletviewer. If this file
- * does not exist, one will be created. Information for this file will
- * be gleaned from $USER/.hotjava/properties. If that file does not exist,
- * then default values will be used.
- *
- * @return A Properties object containing all of the AppletViewer
- * user-specific properties.
- */
- private Properties getAVProps() {
- Properties avProps = new Properties();
-
- File dotAV = theUserPropertiesFile;
- if (dotAV.exists()) {
- // we must have already done the conversion
- if (dotAV.canRead()) {
- // just read the file
- avProps = getAVProps(dotAV);
- } else {
- // send out warning and use defaults
- System.err.println(lookup("main.warn.cantreadprops",
- dotAV.toString()));
- avProps = setDefaultAVProps();
- }
- } else {
- // create the $USER/.appletviewer file
-
- // see if $USER/.hotjava/properties exists
- File userHome = new File(System.getProperty("user.home"));
- File dotHJ = new File(userHome, ".hotjava");
- dotHJ = new File(dotHJ, "properties");
- if (dotHJ.exists()) {
- // just read the file
- avProps = getAVProps(dotHJ);
- } else {
- // send out warning and use defaults
- System.err.println(lookup("main.warn.cantreadprops",
- dotHJ.toString()));
- avProps = setDefaultAVProps();
- }
-
- // SAVE THE FILE
- try (FileOutputStream out = new FileOutputStream(dotAV)) {
- avProps.store(out, lookup("main.prop.store"));
- } catch (IOException e) {
- System.err.println(lookup("main.err.prop.cantsave",
- dotAV.toString()));
- }
- }
- return avProps;
- }
-
- /**
- * Set the AppletViewer user-specific properties to be the default values.
- *
- * @return A Properties object containing all of the AppletViewer
- * user-specific properties, set to the default values.
- */
- private Properties setDefaultAVProps() {
- Properties avProps = new Properties();
- for (int i = 0; i < avDefaultUserProps.length; i++) {
- avProps.setProperty(avDefaultUserProps[i][0],
- avDefaultUserProps[i][1]);
- }
- return avProps;
- }
-
- /**
- * Given a file, find only the properties that are setable by AppletViewer.
- *
- * @param inFile A Properties file from which we select the properties of
- * interest.
- * @return A Properties object containing all of the AppletViewer
- * user-specific properties.
- */
- private Properties getAVProps(File inFile) {
- Properties avProps = new Properties();
-
- // read the file
- Properties tmpProps = new Properties();
- try (FileInputStream in = new FileInputStream(inFile)) {
- tmpProps.load(new BufferedInputStream(in));
- } catch (IOException e) {
- System.err.println(lookup("main.err.prop.cantread", inFile.toString()));
- }
-
- // pick off the properties we care about
- for (int i = 0; i < avDefaultUserProps.length; i++) {
- String value = tmpProps.getProperty(avDefaultUserProps[i][0]);
- if (value != null) {
- // the property exists in the file, so replace the default
- avProps.setProperty(avDefaultUserProps[i][0], value);
- } else {
- // just use the default
- avProps.setProperty(avDefaultUserProps[i][0],
- avDefaultUserProps[i][1]);
- }
- }
- return avProps;
- }
-
- /**
- * Methods for easier i18n handling.
- */
-
- private static String lookup(String key) {
- return amh.getMessage(key);
- }
-
- private static String lookup(String key, String arg0) {
- return amh.getMessage(key, arg0);
- }
-
- private static String lookup(String key, String arg0, String arg1) {
- return amh.getMessage(key, arg0, arg1);
- }
-
- private static String lookup(String key, String arg0, String arg1,
- String arg2) {
- return amh.getMessage(key, arg0, arg1, arg2);
- }
-
- @SuppressWarnings("serial") // JDK implementation class
- class ParseException extends RuntimeException
- {
- public ParseException(String msg) {
- super(msg);
- }
-
- public ParseException(Throwable t) {
- super(t.getMessage());
- this.t = t;
- }
-
- Throwable t = null;
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/resources/MsgAppletViewer.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,200 +0,0 @@
-/*
- * Copyright (c) 1996, 2018, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package sun.applet.resources;
-
-import java.util.ListResourceBundle;
-
-public class MsgAppletViewer extends ListResourceBundle {
-
- public Object[][] getContents() {
- Object[][] temp = new Object[][] {
- {"textframe.button.dismiss", "Dismiss"},
- {"appletviewer.tool.title", "Applet Viewer: {0}"},
- {"appletviewer.menu.applet", "Applet"},
- {"appletviewer.menuitem.restart", "Restart"},
- {"appletviewer.menuitem.reload", "Reload"},
- {"appletviewer.menuitem.stop", "Stop"},
- {"appletviewer.menuitem.save", "Save..."},
- {"appletviewer.menuitem.start", "Start"},
- {"appletviewer.menuitem.clone", "Clone..."},
- {"appletviewer.menuitem.tag", "Tag..."},
- {"appletviewer.menuitem.info", "Info..."},
- {"appletviewer.menuitem.edit", "Edit"},
- {"appletviewer.menuitem.encoding", "Character Encoding"},
- {"appletviewer.menuitem.print", "Print..."},
- {"appletviewer.menuitem.props", "Properties..."},
- {"appletviewer.menuitem.close", "Close"},
- {"appletviewer.menuitem.quit", "Quit"},
- {"appletviewer.label.hello", "Hello..."},
- {"appletviewer.status.start", "starting applet..."},
- {"appletviewer.appletsave.filedialogtitle","Serialize Applet into File"},
- {"appletviewer.appletsave.err1", "serializing an {0} to {1}"},
- {"appletviewer.appletsave.err2", "in appletSave: {0}"},
- {"appletviewer.applettag", "Tag shown"},
- {"appletviewer.applettag.textframe", "Applet HTML Tag"},
- {"appletviewer.appletinfo.applet", "-- no applet info --"},
- {"appletviewer.appletinfo.param", "-- no parameter info --"},
- {"appletviewer.appletinfo.textframe", "Applet Info"},
- {"appletviewer.appletprint.fail", "Printing failed."},
- {"appletviewer.appletprint.finish", "Finished printing."},
- {"appletviewer.appletprint.cancel", "Printing cancelled."},
- {"appletviewer.appletencoding", "Character Encoding: {0}"},
- {"appletviewer.parse.warning.requiresname", "Warning: <param name=... value=...> tag requires name attribute."},
- {"appletviewer.parse.warning.paramoutside", "Warning: <param> tag outside <applet> ... </applet>."},
- {"appletviewer.parse.warning.applet.requirescode", "Warning: <applet> tag requires code attribute."},
- {"appletviewer.parse.warning.applet.requiresheight", "Warning: <applet> tag requires height attribute."},
- {"appletviewer.parse.warning.applet.requireswidth", "Warning: <applet> tag requires width attribute."},
- {"appletviewer.parse.warning.object.requirescode", "Warning: <object> tag requires code attribute."},
- {"appletviewer.parse.warning.object.requiresheight", "Warning: <object> tag requires height attribute."},
- {"appletviewer.parse.warning.object.requireswidth", "Warning: <object> tag requires width attribute."},
- {"appletviewer.parse.warning.embed.requirescode", "Warning: <embed> tag requires code attribute."},
- {"appletviewer.parse.warning.embed.requiresheight", "Warning: <embed> tag requires height attribute."},
- {"appletviewer.parse.warning.embed.requireswidth", "Warning: <embed> tag requires width attribute."},
- {"appletviewer.parse.warning.appnotLongersupported", "Warning: <app> tag no longer supported, use <applet> instead:"},
- {"appletviewer.deprecated", "Warning: Applet API and AppletViewer are deprecated."},
- {"appletviewer.usage", "Usage: appletviewer <options> url(s)\n\nwhere <options> include:\n -encoding <encoding> Specify character encoding used by HTML files\n -J<runtime flag> Pass argument to the java interpreter\n\nThe -J option is non-standard and subject to change without notice."},
- {"appletviewer.main.err.unsupportedopt", "Unsupported option: {0}"},
- {"appletviewer.main.err.unrecognizedarg", "Unrecognized argument: {0}"},
- {"appletviewer.main.err.dupoption", "Duplicate use of option: {0}"},
- {"appletviewer.main.err.inputfile", "No input files specified."},
- {"appletviewer.main.err.badurl", "Bad URL: {0} ( {1} )"},
- {"appletviewer.main.err.io", "I/O exception while reading: {0}"},
- {"appletviewer.main.err.readablefile", "Make sure that {0} is a file and is readable."},
- {"appletviewer.main.err.correcturl", "Is {0} the correct URL?"},
- {"appletviewer.main.prop.store", "User-specific properties for AppletViewer"},
- {"appletviewer.main.err.prop.cantread", "Can''t read user properties file: {0}"},
- {"appletviewer.main.err.prop.cantsave", "Can''t save user properties file: {0}"},
- {"appletviewer.main.warn.nosecmgr", "Warning: disabling security."},
- {"appletviewer.main.debug.cantfinddebug", "Can''t find the debugger!"},
- {"appletviewer.main.debug.cantfindmain", "Can''t find main method in the debugger!"},
- {"appletviewer.main.debug.exceptionindebug", "Exception in the debugger!"},
- {"appletviewer.main.debug.cantaccess", "Can''t access the debugger!"},
- {"appletviewer.main.nosecmgr", "Warning: SecurityManager not installed!"},
- {"appletviewer.main.warning", "Warning: No applets were started. Make sure the input contains an <applet> tag."},
- {"appletviewer.main.warn.prop.overwrite", "Warning: Temporarily overwriting system property at user''s request: key: {0} old value: {1} new value: {2}"},
- {"appletviewer.main.warn.cantreadprops", "Warning: Can''t read AppletViewer properties file: {0} Using defaults."},
- {"appletioexception.loadclass.throw.interrupted", "class loading interrupted: {0}"},
- {"appletioexception.loadclass.throw.notloaded", "class not loaded: {0}"},
- {"appletclassloader.loadcode.verbose", "Opening stream to: {0} to get {1}"},
- {"appletclassloader.filenotfound", "File not found when looking for: {0}"},
- {"appletclassloader.fileformat", "File format exception when loading: {0}"},
- {"appletclassloader.fileioexception", "I/O exception when loading: {0}"},
- {"appletclassloader.fileexception", "{0} exception when loading: {1}"},
- {"appletclassloader.filedeath", "{0} killed when loading: {1}"},
- {"appletclassloader.fileerror", "{0} error when loading: {1}"},
- {"appletclassloader.findclass.verbose.openstream", "Opening stream to: {0} to get {1}"},
- {"appletclassloader.getresource.verbose.forname", "AppletClassLoader.getResource for name: {0}"},
- {"appletclassloader.getresource.verbose.found", "Found resource: {0} as a system resource"},
- {"appletclassloader.getresourceasstream.verbose", "Found resource: {0} as a system resource"},
- {"appletpanel.runloader.err", "Either object or code parameter!"},
- {"appletpanel.runloader.exception", "exception while deserializing {0}"},
- {"appletpanel.destroyed", "Applet destroyed."},
- {"appletpanel.loaded", "Applet loaded."},
- {"appletpanel.started", "Applet started."},
- {"appletpanel.inited", "Applet initialized."},
- {"appletpanel.stopped", "Applet stopped."},
- {"appletpanel.disposed", "Applet disposed."},
- {"appletpanel.nocode", "APPLET tag missing CODE parameter."},
- {"appletpanel.notfound", "load: class {0} not found."},
- {"appletpanel.nocreate", "load: {0} can''t be instantiated."},
- {"appletpanel.noconstruct", "load: {0} is not public or has no public constructor."},
- {"appletpanel.death", "killed"},
- {"appletpanel.exception", "exception: {0}."},
- {"appletpanel.exception2", "exception: {0}: {1}."},
- {"appletpanel.error", "error: {0}."},
- {"appletpanel.error2", "error: {0}: {1}."},
- {"appletpanel.notloaded", "Init: applet not loaded."},
- {"appletpanel.notinited", "Start: applet not initialized."},
- {"appletpanel.notstarted", "Stop: applet not started."},
- {"appletpanel.notstopped", "Destroy: applet not stopped."},
- {"appletpanel.notdestroyed", "Dispose: applet not destroyed."},
- {"appletpanel.notdisposed", "Load: applet not disposed."},
- {"appletpanel.bail", "Interrupted: bailing out."},
- {"appletpanel.filenotfound", "File not found when looking for: {0}"},
- {"appletpanel.fileformat", "File format exception when loading: {0}"},
- {"appletpanel.fileioexception", "I/O exception when loading: {0}"},
- {"appletpanel.fileexception", "{0} exception when loading: {1}"},
- {"appletpanel.filedeath", "{0} killed when loading: {1}"},
- {"appletpanel.fileerror", "{0} error when loading: {1}"},
- {"appletpanel.badattribute.exception", "HTML parsing: incorrect value for width/height attribute"},
- {"appletillegalargumentexception.objectinputstream", "AppletObjectInputStream requires non-null loader"},
- {"appletprops.title", "AppletViewer Properties"},
- {"appletprops.label.http.server", "Http proxy server:"},
- {"appletprops.label.http.proxy", "Http proxy port:"},
- {"appletprops.label.network", "Network access:"},
- {"appletprops.choice.network.item.none", "None"},
- {"appletprops.choice.network.item.applethost", "Applet Host"},
- {"appletprops.choice.network.item.unrestricted", "Unrestricted"},
- {"appletprops.label.class", "Class access:"},
- {"appletprops.choice.class.item.restricted", "Restricted"},
- {"appletprops.choice.class.item.unrestricted", "Unrestricted"},
- {"appletprops.label.unsignedapplet", "Allow unsigned applets:"},
- {"appletprops.choice.unsignedapplet.no", "No"},
- {"appletprops.choice.unsignedapplet.yes", "Yes"},
- {"appletprops.button.apply", "Apply"},
- {"appletprops.button.cancel", "Cancel"},
- {"appletprops.button.reset", "Reset"},
- {"appletprops.apply.exception", "Failed to save properties: {0}"},
- /* 4066432 */
- {"appletprops.title.invalidproxy", "Invalid Entry"},
- {"appletprops.label.invalidproxy", "Proxy Port must be a positive integer value."},
- {"appletprops.button.ok", "OK"},
- /* end 4066432 */
- {"appletprops.prop.store", "User-specific properties for AppletViewer"},
- {"appletsecurityexception.checkcreateclassloader", "Security Exception: classloader"},
- {"appletsecurityexception.checkaccess.thread", "Security Exception: thread"},
- {"appletsecurityexception.checkaccess.threadgroup", "Security Exception: threadgroup: {0}"},
- {"appletsecurityexception.checkexit", "Security Exception: exit: {0}"},
- {"appletsecurityexception.checkexec", "Security Exception: exec: {0}"},
- {"appletsecurityexception.checklink", "Security Exception: link: {0}"},
- {"appletsecurityexception.checkpropsaccess", "Security Exception: properties"},
- {"appletsecurityexception.checkpropsaccess.key", "Security Exception: properties access {0}"},
- {"appletsecurityexception.checkread.exception1", "Security Exception: {0}, {1}"},
- {"appletsecurityexception.checkread.exception2", "Security Exception: file.read: {0}"},
- {"appletsecurityexception.checkread", "Security Exception: file.read: {0} == {1}"},
- {"appletsecurityexception.checkwrite.exception", "Security Exception: {0}, {1}"},
- {"appletsecurityexception.checkwrite", "Security Exception: file.write: {0} == {1}"},
- {"appletsecurityexception.checkread.fd", "Security Exception: fd.read"},
- {"appletsecurityexception.checkwrite.fd", "Security Exception: fd.write"},
- {"appletsecurityexception.checklisten", "Security Exception: socket.listen: {0}"},
- {"appletsecurityexception.checkaccept", "Security Exception: socket.accept: {0}:{1}"},
- {"appletsecurityexception.checkconnect.networknone", "Security Exception: socket.connect: {0}->{1}"},
- {"appletsecurityexception.checkconnect.networkhost1", "Security Exception: Couldn''t connect to {0} with origin from {1}."},
- {"appletsecurityexception.checkconnect.networkhost2", "Security Exception: Couldn''t resolve IP for host {0} or for {1}. "},
- {"appletsecurityexception.checkconnect.networkhost3", "Security Exception: Could not resolve IP for host {0}. See the trustProxy property."},
- {"appletsecurityexception.checkconnect", "Security Exception: connect: {0}->{1}"},
- {"appletsecurityexception.checkpackageaccess", "Security Exception: cannot access package: {0}"},
- {"appletsecurityexception.checkpackagedefinition", "Security Exception: cannot define package: {0}"},
- {"appletsecurityexception.cannotsetfactory", "Security Exception: cannot set factory"},
- {"appletsecurityexception.checkgetprintjob", "Security Exception: getPrintJob"},
- {"appletsecurityexception.checksecurityaccess", "Security Exception: security operation: {0}"},
- {"appletsecurityexception.getsecuritycontext.unknown", "unknown class loader type. unable to check for getContext"},
- {"appletsecurityexception.checkread.unknown", "unknown class loader type. unable to check for checking read {0}"},
- {"appletsecurityexception.checkconnect.unknown", "unknown class loader type. unable to check for checking connect"},
- };
-
- return temp;
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/resources/MsgAppletViewer_de.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,203 +0,0 @@
-/*
- * Copyright (c) 1996, 2016, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package sun.applet.resources;
-
-import java.util.ListResourceBundle;
-
-public class MsgAppletViewer_de extends ListResourceBundle {
-
- public Object[][] getContents() {
- Object[][] temp = new Object[][] {
- {"textframe.button.dismiss", "Verwerfen"},
- {"appletviewer.tool.title", "Applet Viewer: {0}"},
- {"appletviewer.menu.applet", "Applet"},
- {"appletviewer.menuitem.restart", "Neu starten"},
- {"appletviewer.menuitem.reload", "Neu laden"},
- {"appletviewer.menuitem.stop", "Stoppen"},
- {"appletviewer.menuitem.save", "Speichern..."},
- {"appletviewer.menuitem.start", "Starten..."},
- {"appletviewer.menuitem.clone", "Klonen..."},
- {"appletviewer.menuitem.tag", "Tag..."},
- {"appletviewer.menuitem.info", "Informationen..."},
- {"appletviewer.menuitem.edit", "Bearbeiten"},
- {"appletviewer.menuitem.encoding", "Zeichencodierung"},
- {"appletviewer.menuitem.print", "Drucken..."},
- {"appletviewer.menuitem.props", "Eigenschaften..."},
- {"appletviewer.menuitem.close", "Schlie\u00DFen"},
- {"appletviewer.menuitem.quit", "Beenden"},
- {"appletviewer.label.hello", "Hallo..."},
- {"appletviewer.status.start", "Applet wird gestartet..."},
- {"appletviewer.appletsave.filedialogtitle","Applet in Datei serialisieren"},
- {"appletviewer.appletsave.err1", "{0} in {1} serialisieren"},
- {"appletviewer.appletsave.err2", "in appletSave: {0}"},
- {"appletviewer.applettag", "Angezeigtes Tag"},
- {"appletviewer.applettag.textframe", "Applet-HTML-Tag"},
- {"appletviewer.appletinfo.applet", "-- keine Applet-Informationen --"},
- {"appletviewer.appletinfo.param", "-- keine Parameterinformationen --"},
- {"appletviewer.appletinfo.textframe", "Applet-Informationen"},
- {"appletviewer.appletprint.fail", "Druck nicht erfolgreich."},
- {"appletviewer.appletprint.finish", "Druck abgeschlossen."},
- {"appletviewer.appletprint.cancel", "Druck abgebrochen."},
- {"appletviewer.appletencoding", "Zeichencodierung: {0}"},
- {"appletviewer.parse.warning.requiresname", "Warnung: F\u00FCr <param name=... value=...>-Tag ist ein \"name\"-Attribut erforderlich."},
- {"appletviewer.parse.warning.paramoutside", "Warnung: <param>-Tag au\u00DFerhalb von <applet> ... </applet>."},
- {"appletviewer.parse.warning.applet.requirescode", "Warnung: F\u00FCr <applet>-Tag ist ein \"code\"-Attribut erforderlich."},
- {"appletviewer.parse.warning.applet.requiresheight", "Warnung: F\u00FCr <applet>-Tag ist ein \"height\"-Attribut erforderlich."},
- {"appletviewer.parse.warning.applet.requireswidth", "Warnung: F\u00FCr <applet>-Tag ist ein \"width\"-Attribut erforderlich."},
- {"appletviewer.parse.warning.object.requirescode", "Warnung: F\u00FCr <object>-Tag ist ein \"code\"-Attribut erforderlich."},
- {"appletviewer.parse.warning.object.requiresheight", "Warnung: F\u00FCr <object>-Tag ist ein \"height\"-Attribut erforderlich."},
- {"appletviewer.parse.warning.object.requireswidth", "Warnung: F\u00FCr <object>-Tag ist ein \"width\"-Attribut erforderlich."},
- {"appletviewer.parse.warning.embed.requirescode", "Warnung: F\u00FCr <embed>-Tag ist ein \"code\"-Attribut erforderlich."},
- {"appletviewer.parse.warning.embed.requiresheight", "Warnung: F\u00FCr <embed>-Tag ist ein \"height\"-Attribut erforderlich."},
- {"appletviewer.parse.warning.embed.requireswidth", "Warnung: F\u00FCr <embed>-Tag ist ein \"width\"-Attribut erforderlich."},
- {"appletviewer.parse.warning.appnotLongersupported", "Warnung: <app>-Tag wird nicht mehr unterst\u00FCtzt. Verwenden Sie stattdessen <applet>:"},
- {"appletviewer.deprecated", "Warnung: Applet-API und AppletViewer sind veraltet."},
- {"appletviewer.usage", "Verwendung: appletviewer <Optionen> url(s)\n\nwobei die <Optionen> Folgendes umfassen:\n -encoding <Codierung> Zeichencodierung f\u00FCr HTML-Dateien angeben\n -J<Laufzeitkennzeichen> Argument an den Java-Interpreter \u00FCbergeben\n\nDie Option \"-J\" ist nicht standardm\u00E4\u00DFig und kann ohne vorherige Ank\u00FCndigung ge\u00E4ndert werden."},
- {"appletviewer.main.err.unsupportedopt", "Nicht unterst\u00FCtzte Option: {0}"},
- {"appletviewer.main.err.unrecognizedarg", "Unbekanntes Argument: {0}"},
- {"appletviewer.main.err.dupoption", "Doppelte Verwendung von Option: {0}"},
- {"appletviewer.main.err.inputfile", "Keine Eingabedateien angegeben."},
- {"appletviewer.main.err.badurl", "Ung\u00FCltige URL: {0} ( {1} )"},
- {"appletviewer.main.err.io", "I/O-Ausnahme beim Lesen von: {0}"},
- {"appletviewer.main.err.readablefile", "Stellen Sie sicher, dass {0} eine lesbare Datei ist."},
- {"appletviewer.main.err.correcturl", "Ist {0} die richtige URL?"},
- {"appletviewer.main.prop.store", "Benutzerspezifische Eigenschaften f\u00FCr AppletViewer"},
- {"appletviewer.main.err.prop.cantread", "Benutzereigenschaftendatei kann nicht gelesen werden: {0}"},
- {"appletviewer.main.err.prop.cantsave", "Benutzereigenschaftendatei kann nicht gespeichert werden: {0}"},
- {"appletviewer.main.warn.nosecmgr", "Warnung: Sicherheit wird deaktiviert."},
- {"appletviewer.main.debug.cantfinddebug", "Debugger kann nicht gefunden werden."},
- {"appletviewer.main.debug.cantfindmain", "Hauptmethode im Debugger kann nicht gefunden werden."},
- {"appletviewer.main.debug.exceptionindebug", "Ausnahme im Debugger."},
- {"appletviewer.main.debug.cantaccess", "Zugriff auf Debugger nicht m\u00F6glich."},
- {"appletviewer.main.nosecmgr", "Warnung: SecurityManager nicht installiert."},
- {"appletviewer.main.warning", "Warnung: Es wurden keine Applets gestartet. Stellen Sie sicher, dass die Eingabe ein <applet>-Tag enth\u00E4lt."},
- {"appletviewer.main.warn.prop.overwrite", "Warnung: Systemeigenschaft wird tempor\u00E4r aufgrund von Benutzeranforderung \u00FCberschrieben: Schl\u00FCssel: {0} Alter Wert: {1} Neuer Wert: {2}"},
- {"appletviewer.main.warn.cantreadprops", "Warnung: AppletViewer-Eigenschaftendatei kann nicht gelesen werden: {0} Standardwerte werden verwendet."},
- {"appletioexception.loadclass.throw.interrupted", "Laden der Klasse unterbrochen: {0}"},
- {"appletioexception.loadclass.throw.notloaded", "Klasse nicht geladen: {0}"},
- {"appletclassloader.loadcode.verbose", "\u00D6ffnen von Stream zu: {0}, um {1} abzurufen"},
- {"appletclassloader.filenotfound", "Datei nicht gefunden beim Suchen nach: {0}"},
- {"appletclassloader.fileformat", "Dateiformatausnahme beim Laden von: {0}"},
- {"appletclassloader.fileioexception", "I/O-Ausnahme beim Laden von: {0}"},
- {"appletclassloader.fileexception", "{0}-Ausnahme beim Laden von: {1}"},
- {"appletclassloader.filedeath", "{0} abgebrochen beim Laden von: {1}"},
- {"appletclassloader.fileerror", "{0}-Fehler beim Laden von: {1}"},
- {"appletclassloader.findclass.verbose.openstream", "\u00D6ffnen von Stream zu: {0}, um {1} abzurufen"},
- {"appletclassloader.getresource.verbose.forname", "AppletClassLoader.getResource f\u00FCr Name: {0}"},
- {"appletclassloader.getresource.verbose.found", "Ressource {0} als Systemressource gefunden"},
- {"appletclassloader.getresourceasstream.verbose", "Ressource {0} als Systemressource gefunden"},
- {"appletpanel.runloader.err", "Objekt oder Codeparameter."},
- {"appletpanel.runloader.exception", "Ausnahme beim Deserialisieren von {0}"},
- {"appletpanel.destroyed", "Applet zerst\u00F6rt."},
- {"appletpanel.loaded", "Applet geladen."},
- {"appletpanel.started", "Applet gestartet."},
- {"appletpanel.inited", "Applet initialisiert."},
- {"appletpanel.stopped", "Applet gestoppt."},
- {"appletpanel.disposed", "Applet verworfen."},
- {"appletpanel.nocode", "Bei APPLET-Tag fehlt CODE-Parameter."},
- {"appletpanel.notfound", "Laden: Klasse {0} nicht gefunden."},
- {"appletpanel.nocreate", "Laden: {0} kann nicht instanziiert werden."},
- {"appletpanel.noconstruct", "Laden: {0} ist nicht \"public\" oder hat keinen \"public\"-Constructor."},
- {"appletpanel.death", "abgebrochen"},
- {"appletpanel.exception", "Ausnahme: {0}."},
- {"appletpanel.exception2", "Ausnahme: {0}: {1}."},
- {"appletpanel.error", "Fehler: {0}."},
- {"appletpanel.error2", "Fehler: {0}: {1}."},
- {"appletpanel.notloaded", "Init.: Applet nicht geladen."},
- {"appletpanel.notinited", "Starten: Applet nicht initialisiert."},
- {"appletpanel.notstarted", "Stoppen: Applet nicht gestartet."},
- {"appletpanel.notstopped", "Zerst\u00F6ren: Applet nicht gestoppt."},
- {"appletpanel.notdestroyed", "Verwerfen: Applet nicht zerst\u00F6rt."},
- {"appletpanel.notdisposed", "Laden: Applet nicht verworfen."},
- {"appletpanel.bail", "Unterbrochen: Zur\u00FCckziehen."},
- {"appletpanel.filenotfound", "Datei nicht gefunden beim Suchen nach: {0}"},
- {"appletpanel.fileformat", "Dateiformatausnahme beim Laden von: {0}"},
- {"appletpanel.fileioexception", "I/O-Ausnahme beim Laden von: {0}"},
- {"appletpanel.fileexception", "{0}-Ausnahme beim Laden von: {1}"},
- {"appletpanel.filedeath", "{0} abgebrochen beim Laden von: {1}"},
- {"appletpanel.fileerror", "{0}-Fehler beim Laden von: {1}"},
- {"appletpanel.badattribute.exception", "HTML-Parsing: Falscher Wert f\u00FCr \"width/height\"-Attribut"},
- {"appletillegalargumentexception.objectinputstream", "AppletObjectInputStream erfordert Loader ungleich null"},
- {"appletprops.title", "AppletViewer-Eigenschaften"},
- {"appletprops.label.http.server", "HTTP-Proxyserver:"},
- {"appletprops.label.http.proxy", "HTTP-Proxyport:"},
- {"appletprops.label.network", "Netzwerkzugriff:"},
- {"appletprops.choice.network.item.none", "Keine"},
- {"appletprops.choice.network.item.applethost", "Applet-Host"},
- {"appletprops.choice.network.item.unrestricted", "Uneingeschr\u00E4nkt"},
- {"appletprops.label.class", "Klassenzugriff:"},
- {"appletprops.choice.class.item.restricted", "Eingeschr\u00E4nkt"},
- {"appletprops.choice.class.item.unrestricted", "Uneingeschr\u00E4nkt"},
- {"appletprops.label.unsignedapplet", "Nicht signierte Applets zulassen:"},
- {"appletprops.choice.unsignedapplet.no", "Nein"},
- {"appletprops.choice.unsignedapplet.yes", "Ja"},
- {"appletprops.button.apply", "Anwenden"},
- {"appletprops.button.cancel", "Abbrechen"},
- {"appletprops.button.reset", "Zur\u00FCcksetzen"},
- {"appletprops.apply.exception", "Eigenschaften konnten nicht gespeichert werden: {0}"},
- /* 4066432 */
- {"appletprops.title.invalidproxy", "Ung\u00FCltiger Eintrag"},
- {"appletprops.label.invalidproxy", "Proxyport muss ein positiver Ganzzahlwert sein."},
- {"appletprops.button.ok", "OK"},
- /* end 4066432 */
- {"appletprops.prop.store", "Benutzerspezifische Eigenschaften f\u00FCr AppletViewer"},
- {"appletsecurityexception.checkcreateclassloader", "Sicherheitsausnahme: Class Loader"},
- {"appletsecurityexception.checkaccess.thread", "Sicherheitsausnahme: Thread"},
- {"appletsecurityexception.checkaccess.threadgroup", "Sicherheitsausnahme: Threadgruppe: {0}"},
- {"appletsecurityexception.checkexit", "Sicherheitsausnahme: Beenden: {0}"},
- {"appletsecurityexception.checkexec", "Sicherheitsausnahme: Ausf\u00FChrung: {0}"},
- {"appletsecurityexception.checklink", "Sicherheitsausnahme: Link: {0}"},
- {"appletsecurityexception.checkpropsaccess", "Sicherheitsausnahme: Eigenschaften"},
- {"appletsecurityexception.checkpropsaccess.key", "Sicherheitsausnahme: Eigenschaftszugriff {0}"},
- {"appletsecurityexception.checkread.exception1", "Sicherheitsausnahme: {0}, {1}"},
- {"appletsecurityexception.checkread.exception2", "Sicherheitsausnahme: file.read: {0}"},
- {"appletsecurityexception.checkread", "Sicherheitsausnahme: file.read: {0} == {1}"},
- {"appletsecurityexception.checkwrite.exception", "Sicherheitsausnahme: {0}, {1}"},
- {"appletsecurityexception.checkwrite", "Sicherheitsausnahme: file.write: {0} == {1}"},
- {"appletsecurityexception.checkread.fd", "Sicherheitsausnahme: fd.read"},
- {"appletsecurityexception.checkwrite.fd", "Sicherheitsausnahme: fd.write"},
- {"appletsecurityexception.checklisten", "Sicherheitsausnahme: socket.listen: {0}"},
- {"appletsecurityexception.checkaccept", "Sicherheitsausnahme: socket.accept: {0}:{1}"},
- {"appletsecurityexception.checkconnect.networknone", "Sicherheitsausnahme: socket.connect: {0}->{1}"},
- {"appletsecurityexception.checkconnect.networkhost1", "Sicherheitsausnahme: Verbindung mit {0} mit Ursprung aus {1} konnte nicht hergestellt werden."},
- {"appletsecurityexception.checkconnect.networkhost2", "Sicherheitsausnahme: IP f\u00FCr Host {0} oder f\u00FCr {1} konnte nicht aufgel\u00F6st werden. "},
- {"appletsecurityexception.checkconnect.networkhost3", "Sicherheitsausnahme: IP f\u00FCr Host {0} konnte nicht aufgel\u00F6st werden. Siehe trustProxy-Eigenschaft."},
- {"appletsecurityexception.checkconnect", "Sicherheitsausnahme: Verbinden: {0}->{1}"},
- {"appletsecurityexception.checkpackageaccess", "Sicherheitsausnahme: Zugriff auf Package nicht m\u00F6glich: {0}"},
- {"appletsecurityexception.checkpackagedefinition", "Sicherheitsausnahme: Package kann nicht definiert werden: {0}"},
- {"appletsecurityexception.cannotsetfactory", "Sicherheitsausnahme: Factory kann nicht festgelegt werden"},
- {"appletsecurityexception.checkmemberaccess", "Sicherheitsausnahme: Mitgliedszugriff pr\u00FCfen"},
- {"appletsecurityexception.checkgetprintjob", "Sicherheitsausnahme: getPrintJob"},
- {"appletsecurityexception.checksystemclipboardaccess", "Sicherheitsausnahme: getSystemClipboard"},
- {"appletsecurityexception.checkawteventqueueaccess", "Sicherheitsausnahme: getEventQueue"},
- {"appletsecurityexception.checksecurityaccess", "Sicherheitsausnahme: Sicherheitsvorgang: {0}"},
- {"appletsecurityexception.getsecuritycontext.unknown", "Unbekannter Class Loader-Typ. Pr\u00FCfen auf getContext nicht m\u00F6glich"},
- {"appletsecurityexception.checkread.unknown", "Unbekannter Class Loader-Typ. Pr\u00FCfen auf checkRead {0} nicht m\u00F6glich"},
- {"appletsecurityexception.checkconnect.unknown", "Unbekannter Class Loader-Typ. Pr\u00FCfen auf checkConnect nicht m\u00F6glich"},
- };
-
- return temp;
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/resources/MsgAppletViewer_es.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,203 +0,0 @@
-/*
- * Copyright (c) 1996, 2016, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package sun.applet.resources;
-
-import java.util.ListResourceBundle;
-
-public class MsgAppletViewer_es extends ListResourceBundle {
-
- public Object[][] getContents() {
- Object[][] temp = new Object[][] {
- {"textframe.button.dismiss", "Descartar"},
- {"appletviewer.tool.title", "Visor de Applet: {0}"},
- {"appletviewer.menu.applet", "Applet"},
- {"appletviewer.menuitem.restart", "Reiniciar"},
- {"appletviewer.menuitem.reload", "Volver a Cargar"},
- {"appletviewer.menuitem.stop", "Parar"},
- {"appletviewer.menuitem.save", "Guardar..."},
- {"appletviewer.menuitem.start", "Iniciar"},
- {"appletviewer.menuitem.clone", "Clonar..."},
- {"appletviewer.menuitem.tag", "Etiqueta..."},
- {"appletviewer.menuitem.info", "Informaci\u00F3n..."},
- {"appletviewer.menuitem.edit", "Editar"},
- {"appletviewer.menuitem.encoding", "Codificaci\u00F3n de Caracteres"},
- {"appletviewer.menuitem.print", "Imprimir..."},
- {"appletviewer.menuitem.props", "Propiedades..."},
- {"appletviewer.menuitem.close", "Cerrar"},
- {"appletviewer.menuitem.quit", "Salir"},
- {"appletviewer.label.hello", "Hola..."},
- {"appletviewer.status.start", "iniciando applet..."},
- {"appletviewer.appletsave.filedialogtitle","Serializar Applet en Archivo"},
- {"appletviewer.appletsave.err1", "serializando {0} en {1}"},
- {"appletviewer.appletsave.err2", "en appletSave: {0}"},
- {"appletviewer.applettag", "Etiqueta Mostrada"},
- {"appletviewer.applettag.textframe", "Etiqueta HTML de Applet"},
- {"appletviewer.appletinfo.applet", "-- ninguna informaci\u00F3n de applet --"},
- {"appletviewer.appletinfo.param", "-- ninguna informaci\u00F3n de par\u00E1metros --"},
- {"appletviewer.appletinfo.textframe", "Informaci\u00F3n del Applet"},
- {"appletviewer.appletprint.fail", "Fallo de impresi\u00F3n."},
- {"appletviewer.appletprint.finish", "Impresi\u00F3n terminada."},
- {"appletviewer.appletprint.cancel", "Impresi\u00F3n cancelada."},
- {"appletviewer.appletencoding", "Codificaci\u00F3n de Caracteres: {0}"},
- {"appletviewer.parse.warning.requiresname", "Advertencia: la etiqueta <param name=... value=...> requiere un atributo name."},
- {"appletviewer.parse.warning.paramoutside", "Advertencia: la etiqueta <param> est\u00E1 fuera de <applet> ... </applet>."},
- {"appletviewer.parse.warning.applet.requirescode", "Advertencia: la etiqueta <applet> requiere el atributo code."},
- {"appletviewer.parse.warning.applet.requiresheight", "Advertencia: la etiqueta <applet> requiere el atributo height."},
- {"appletviewer.parse.warning.applet.requireswidth", "Advertencia: la etiqueta <applet> requiere el atributo width."},
- {"appletviewer.parse.warning.object.requirescode", "Advertencia: la etiqueta <object> requiere el atributo code."},
- {"appletviewer.parse.warning.object.requiresheight", "Advertencia: la etiqueta <object> requiere el atributo height."},
- {"appletviewer.parse.warning.object.requireswidth", "Advertencia: la etiqueta <object> requiere el atributo width."},
- {"appletviewer.parse.warning.embed.requirescode", "Advertencia: la etiqueta <embed> requiere el atributo code."},
- {"appletviewer.parse.warning.embed.requiresheight", "Advertencia: la etiqueta <embed> requiere el atributo height."},
- {"appletviewer.parse.warning.embed.requireswidth", "Advertencia: la etiqueta <embed> requiere el atributo width."},
- {"appletviewer.parse.warning.appnotLongersupported", "Advertencia: la etiqueta <app> ya no est\u00E1 soportada, utilice <applet> en su lugar:"},
- {"appletviewer.deprecated", "Advertencia: la API de applet y AppletViewer est\u00E1n en desuso."},
- {"appletviewer.usage", "Sintaxis: appletviewer <opciones> url(s)\n\ndonde <opciones> incluye:\n -encoding <codificaci\u00F3n> Especificar la codificaci\u00F3n de caracteres utilizada por los archivos HTML\n -J<indicador de tiempo de ejecuci\u00F3n> Transferir argumento al int\u00E9rprete de Java\n\nLa opci\u00F3n -J es no est\u00E1ndar y est\u00E1 sujeta a cambios sin previo aviso."},
- {"appletviewer.main.err.unsupportedopt", "Opci\u00F3n no soportada: {0}"},
- {"appletviewer.main.err.unrecognizedarg", "Argumento no reconocido: {0}"},
- {"appletviewer.main.err.dupoption", "Uso duplicado de la opci\u00F3n: {0}"},
- {"appletviewer.main.err.inputfile", "No se ha especificado ning\u00FAn archivo de entrada."},
- {"appletviewer.main.err.badurl", "URL Err\u00F3nea: {0} ( {1} )"},
- {"appletviewer.main.err.io", "Excepci\u00F3n de E/S durante la lectura: {0}"},
- {"appletviewer.main.err.readablefile", "Aseg\u00FArese de que {0} es un archivo y que se puede leer."},
- {"appletviewer.main.err.correcturl", "\u00BFEs {0} la URL correcta?"},
- {"appletviewer.main.prop.store", "Propiedades Espec\u00EDficas del Usuario para AppletViewer"},
- {"appletviewer.main.err.prop.cantread", "No se puede leer el archivo de propiedades del usuario: {0}"},
- {"appletviewer.main.err.prop.cantsave", "No se puede guardar el archivo de propiedades del usuario: {0}"},
- {"appletviewer.main.warn.nosecmgr", "Advertencia: desactivando seguridad."},
- {"appletviewer.main.debug.cantfinddebug", "No se ha encontrado el depurador."},
- {"appletviewer.main.debug.cantfindmain", "No se ha encontrado el m\u00E9todo principal en el depurador."},
- {"appletviewer.main.debug.exceptionindebug", "Excepci\u00F3n en el depurador."},
- {"appletviewer.main.debug.cantaccess", "No se puede acceder al depurador."},
- {"appletviewer.main.nosecmgr", "Advertencia: no se ha instalado SecurityManager."},
- {"appletviewer.main.warning", "Advertencia: no se ha iniciado ning\u00FAn applet. Aseg\u00FArese de que la entrada contiene una etiqueta <applet>."},
- {"appletviewer.main.warn.prop.overwrite", "Advertencia: se sobrescribir\u00E1 temporalmente la propiedad del sistema cuando lo solicite el usuario: clave: {0} valor anterior: {1} nuevo valor: {2}"},
- {"appletviewer.main.warn.cantreadprops", "Advertencia: no se puede leer el archivo de propiedades de AppletViewer: {0}. Utilizando valores por defecto."},
- {"appletioexception.loadclass.throw.interrupted", "carga de clase interrumpida: {0}"},
- {"appletioexception.loadclass.throw.notloaded", "clase no cargada: {0}"},
- {"appletclassloader.loadcode.verbose", "Abriendo flujo a: {0} para obtener {1}"},
- {"appletclassloader.filenotfound", "No se ha encontrado el archivo al buscar: {0}"},
- {"appletclassloader.fileformat", "Excepci\u00F3n de formato de archivo al cargar: {0}"},
- {"appletclassloader.fileioexception", "Excepci\u00F3n de E/S al cargar: {0}"},
- {"appletclassloader.fileexception", "Excepci\u00F3n de {0} al cargar: {1}"},
- {"appletclassloader.filedeath", "{0} interrumpido al cargar: {1}"},
- {"appletclassloader.fileerror", "error de {0} al cargar: {1}"},
- {"appletclassloader.findclass.verbose.openstream", "Abriendo flujo a: {0} para obtener {1}"},
- {"appletclassloader.getresource.verbose.forname", "AppletClassLoader.getResource para nombre: {0}"},
- {"appletclassloader.getresource.verbose.found", "Recurso encontrado: {0} como un recurso de sistema"},
- {"appletclassloader.getresourceasstream.verbose", "Recurso encontrado: {0} como un recurso de sistema"},
- {"appletpanel.runloader.err", "Par\u00E1metro de c\u00F3digo u objeto."},
- {"appletpanel.runloader.exception", "excepci\u00F3n al deserializar {0}"},
- {"appletpanel.destroyed", "Applet destruido."},
- {"appletpanel.loaded", "Applet cargado."},
- {"appletpanel.started", "Applet iniciado."},
- {"appletpanel.inited", "Applet inicializado."},
- {"appletpanel.stopped", "Applet parado."},
- {"appletpanel.disposed", "Applet desechado."},
- {"appletpanel.nocode", "Falta el par\u00E1metro CODE en la etiqueta APPLET."},
- {"appletpanel.notfound", "cargar: clase {0} no encontrada."},
- {"appletpanel.nocreate", "cargar: {0} no se puede instanciar."},
- {"appletpanel.noconstruct", "cargar: {0} no es p\u00FAblico o no tiene un constructor p\u00FAblico."},
- {"appletpanel.death", "interrumpido"},
- {"appletpanel.exception", "excepci\u00F3n: {0}."},
- {"appletpanel.exception2", "excepci\u00F3n: {0}: {1}."},
- {"appletpanel.error", "error: {0}."},
- {"appletpanel.error2", "error: {0}: {1}."},
- {"appletpanel.notloaded", "Iniciaci\u00F3n: applet no cargado."},
- {"appletpanel.notinited", "Iniciar: applet no inicializado."},
- {"appletpanel.notstarted", "Parar: applet no iniciado."},
- {"appletpanel.notstopped", "Destruir: applet no parado."},
- {"appletpanel.notdestroyed", "Desechar: applet no destruido."},
- {"appletpanel.notdisposed", "Cargar: applet no desechado."},
- {"appletpanel.bail", "Interrumpido: rescatando."},
- {"appletpanel.filenotfound", "No se ha encontrado el archivo al buscar: {0}"},
- {"appletpanel.fileformat", "Excepci\u00F3n de formato de archivo al cargar: {0}"},
- {"appletpanel.fileioexception", "Excepci\u00F3n de E/S al cargar: {0}"},
- {"appletpanel.fileexception", "Excepci\u00F3n de {0} al cargar: {1}"},
- {"appletpanel.filedeath", "{0} interrumpido al cargar: {1}"},
- {"appletpanel.fileerror", "error de {0} al cargar: {1}"},
- {"appletpanel.badattribute.exception", "An\u00E1lisis HTML: valor incorrecto para el atributo width/height."},
- {"appletillegalargumentexception.objectinputstream", "AppletObjectInputStream requiere un cargador no nulo"},
- {"appletprops.title", "Propiedades de AppletViewer"},
- {"appletprops.label.http.server", "Servidor Proxy HTTP:"},
- {"appletprops.label.http.proxy", "Puerto Proxy HTTP:"},
- {"appletprops.label.network", "Acceso de Red:"},
- {"appletprops.choice.network.item.none", "Ninguno"},
- {"appletprops.choice.network.item.applethost", "Host del Applet"},
- {"appletprops.choice.network.item.unrestricted", "No Restringido"},
- {"appletprops.label.class", "Acceso de Clase:"},
- {"appletprops.choice.class.item.restricted", "Restringido"},
- {"appletprops.choice.class.item.unrestricted", "No Restringido"},
- {"appletprops.label.unsignedapplet", "Permitir Applets no Firmados:"},
- {"appletprops.choice.unsignedapplet.no", "No"},
- {"appletprops.choice.unsignedapplet.yes", "S\u00ED"},
- {"appletprops.button.apply", "Aplicar"},
- {"appletprops.button.cancel", "Cancelar"},
- {"appletprops.button.reset", "Restablecer"},
- {"appletprops.apply.exception", "Fallo al guardar las propiedades: {0}"},
- /* 4066432 */
- {"appletprops.title.invalidproxy", "Entrada no V\u00E1lida"},
- {"appletprops.label.invalidproxy", "El puerto proxy debe ser un valor entero positivo."},
- {"appletprops.button.ok", "Aceptar"},
- /* end 4066432 */
- {"appletprops.prop.store", "Propiedades espec\u00EDficas del usuario para AppletViewer"},
- {"appletsecurityexception.checkcreateclassloader", "Excepci\u00F3n de Seguridad: classloader"},
- {"appletsecurityexception.checkaccess.thread", "Excepci\u00F3n de Seguridad: thread"},
- {"appletsecurityexception.checkaccess.threadgroup", "Excepci\u00F3n de Seguridad: threadgroup: {0}"},
- {"appletsecurityexception.checkexit", "Excepci\u00F3n de Seguridad: salir: {0}"},
- {"appletsecurityexception.checkexec", "Excepci\u00F3n de Seguridad: ejecutar: {0}"},
- {"appletsecurityexception.checklink", "Excepci\u00F3n de Seguridad: enlace: {0}"},
- {"appletsecurityexception.checkpropsaccess", "Excepci\u00F3n de Seguridad: propiedades"},
- {"appletsecurityexception.checkpropsaccess.key", "Excepci\u00F3n de Seguridad: acceso a propiedades {0}"},
- {"appletsecurityexception.checkread.exception1", "Excepci\u00F3n de Seguridad: {0}, {1}"},
- {"appletsecurityexception.checkread.exception2", "Excepci\u00F3n de Seguridad: file.read: {0}"},
- {"appletsecurityexception.checkread", "Excepci\u00F3n de Seguridad: file.read: {0} == {1}"},
- {"appletsecurityexception.checkwrite.exception", "Excepci\u00F3n de Seguridad: {0}, {1}"},
- {"appletsecurityexception.checkwrite", "Excepci\u00F3n de Seguridad: file.write: {0} == {1}"},
- {"appletsecurityexception.checkread.fd", "Excepci\u00F3n de Seguridad: fd.read"},
- {"appletsecurityexception.checkwrite.fd", "Excepci\u00F3n de Seguridad: fd.write"},
- {"appletsecurityexception.checklisten", "Excepci\u00F3n de Seguridad: socket.listen: {0}"},
- {"appletsecurityexception.checkaccept", "Excepci\u00F3n de Seguridad: socket.accept: {0}:{1}"},
- {"appletsecurityexception.checkconnect.networknone", "Excepci\u00F3n de Seguridad: socket.connect: {0}->{1}"},
- {"appletsecurityexception.checkconnect.networkhost1", "Excepci\u00F3n de Seguridad: no se puede conectar a {0} con origen de {1}."},
- {"appletsecurityexception.checkconnect.networkhost2", "Excepci\u00F3n de Seguridad: no se puede resolver la IP para el host {0} o para {1}. "},
- {"appletsecurityexception.checkconnect.networkhost3", "Excepci\u00F3n de Seguridad: no se puede resolver la IP para el host {0}. Consulte la propiedad trustProxy."},
- {"appletsecurityexception.checkconnect", "Excepci\u00F3n de Seguridad: conexi\u00F3n: {0}->{1}"},
- {"appletsecurityexception.checkpackageaccess", "Excepci\u00F3n de Seguridad: no se puede acceder al paquete: {0}"},
- {"appletsecurityexception.checkpackagedefinition", "Excepci\u00F3n de Seguridad: no se puede definir el paquete: {0}"},
- {"appletsecurityexception.cannotsetfactory", "Excepci\u00F3n de Seguridad: no se puede definir el valor de f\u00E1brica"},
- {"appletsecurityexception.checkmemberaccess", "Excepci\u00F3n de Seguridad: comprobar el acceso de miembro"},
- {"appletsecurityexception.checkgetprintjob", "Excepci\u00F3n de Seguridad: getPrintJob"},
- {"appletsecurityexception.checksystemclipboardaccess", "Excepci\u00F3n de Seguridad: getSystemClipboard"},
- {"appletsecurityexception.checkawteventqueueaccess", "Excepci\u00F3n de Seguridad: getEventQueue"},
- {"appletsecurityexception.checksecurityaccess", "Excepci\u00F3n de Seguridad: operaci\u00F3n de seguridad: {0}"},
- {"appletsecurityexception.getsecuritycontext.unknown", "tipo de cargador de clase desconocido. no se puede comprobar para getContext"},
- {"appletsecurityexception.checkread.unknown", "tipo de cargador de clase desconocido. no se puede comprobar para lectura de comprobaci\u00F3n {0}"},
- {"appletsecurityexception.checkconnect.unknown", "tipo de cargador de clase desconocido. no se puede comprobar para conexi\u00F3n de comprobaci\u00F3n"},
- };
-
- return temp;
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/resources/MsgAppletViewer_fr.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,203 +0,0 @@
-/*
- * Copyright (c) 1996, 2016, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package sun.applet.resources;
-
-import java.util.ListResourceBundle;
-
-public class MsgAppletViewer_fr extends ListResourceBundle {
-
- public Object[][] getContents() {
- Object[][] temp = new Object[][] {
- {"textframe.button.dismiss", "Abandonner"},
- {"appletviewer.tool.title", "Visualiseur d''applets : {0}"},
- {"appletviewer.menu.applet", "Applet"},
- {"appletviewer.menuitem.restart", "Red\u00E9marrer"},
- {"appletviewer.menuitem.reload", "Recharger"},
- {"appletviewer.menuitem.stop", "Arr\u00EAter"},
- {"appletviewer.menuitem.save", "Enregistrer..."},
- {"appletviewer.menuitem.start", "D\u00E9marrer"},
- {"appletviewer.menuitem.clone", "Cloner..."},
- {"appletviewer.menuitem.tag", "Baliser..."},
- {"appletviewer.menuitem.info", "Informations..."},
- {"appletviewer.menuitem.edit", "Modifier"},
- {"appletviewer.menuitem.encoding", "Encodage de caract\u00E8res"},
- {"appletviewer.menuitem.print", "Imprimer..."},
- {"appletviewer.menuitem.props", "Propri\u00E9t\u00E9s..."},
- {"appletviewer.menuitem.close", "Fermer"},
- {"appletviewer.menuitem.quit", "Quitter"},
- {"appletviewer.label.hello", "Bonjour..."},
- {"appletviewer.status.start", "d\u00E9marrage de l'applet..."},
- {"appletviewer.appletsave.filedialogtitle","S\u00E9rialiser l'applet dans le fichier"},
- {"appletviewer.appletsave.err1", "S\u00E9rialisation de {0} vers {1}"},
- {"appletviewer.appletsave.err2", "dans appletSave : {0}"},
- {"appletviewer.applettag", "Balise affich\u00E9e"},
- {"appletviewer.applettag.textframe", "Balise HTML d'applet"},
- {"appletviewer.appletinfo.applet", "-- aucune information d'applet --"},
- {"appletviewer.appletinfo.param", "-- aucune information de param\u00E8tre --"},
- {"appletviewer.appletinfo.textframe", "Informations d'applet"},
- {"appletviewer.appletprint.fail", "Echec de l'impression."},
- {"appletviewer.appletprint.finish", "Impression termin\u00E9e."},
- {"appletviewer.appletprint.cancel", "Impression annul\u00E9e."},
- {"appletviewer.appletencoding", "Encodage de caract\u00E8res : {0}"},
- {"appletviewer.parse.warning.requiresname", "Avertissement : la balise <param name=... value=...> requiert un attribut de nom."},
- {"appletviewer.parse.warning.paramoutside", "Avertissement : la balise <param> est en dehors des balises <applet> ... </applet>."},
- {"appletviewer.parse.warning.applet.requirescode", "Avertissement : la balise <applet> requiert un attribut de code."},
- {"appletviewer.parse.warning.applet.requiresheight", "Avertissement : la balise <applet> requiert un attribut de hauteur."},
- {"appletviewer.parse.warning.applet.requireswidth", "Avertissement : la balise <applet> requiert un attribut de largeur."},
- {"appletviewer.parse.warning.object.requirescode", "Avertissement : la balise <object> requiert un attribut de code."},
- {"appletviewer.parse.warning.object.requiresheight", "Avertissement : la balise <object> requiert un attribut de hauteur."},
- {"appletviewer.parse.warning.object.requireswidth", "Avertissement : la balise <object> requiert un attribut de largeur."},
- {"appletviewer.parse.warning.embed.requirescode", "Avertissement : la balise <embed> requiert un attribut de code."},
- {"appletviewer.parse.warning.embed.requiresheight", "Avertissement : la balise <embed> requiert un attribut de hauteur."},
- {"appletviewer.parse.warning.embed.requireswidth", "Avertissement : la balise <embed> requiert un attribut de largeur."},
- {"appletviewer.parse.warning.appnotLongersupported", "Avertissement : la balise <app> n'est plus prise en charge, utilisez <applet> \u00E0 la place :"},
- {"appletviewer.deprecated", "Avertissement : l'API d'applet et AppletViewer sont en phase d'abandon."},
- {"appletviewer.usage", "Syntaxe : appletviewer <options> url(s)\n\no\u00F9 <options> inclut :\n -encoding <encoding> Indiquer l'encodage de caract\u00E8res utilis\u00E9 par les fichiers HTML\n -J<runtime flag> Transmettre l'argument \u00E0 l'interpr\u00E9teur Java\n\nL'option -J n'est pas standard et elle peut \u00EAtre modifi\u00E9e sans pr\u00E9avis."},
- {"appletviewer.main.err.unsupportedopt", "Option non prise en charge : {0}"},
- {"appletviewer.main.err.unrecognizedarg", "Argument non reconnu : {0}"},
- {"appletviewer.main.err.dupoption", "Utilisation en double de l''option : {0}"},
- {"appletviewer.main.err.inputfile", "Aucun fichier d'entr\u00E9e indiqu\u00E9."},
- {"appletviewer.main.err.badurl", "URL incorrecte : {0} ({1})"},
- {"appletviewer.main.err.io", "Exception d''E/S lors de la lecture : {0}"},
- {"appletviewer.main.err.readablefile", "Assurez-vous que {0} est un fichier accessible en lecture."},
- {"appletviewer.main.err.correcturl", "L''\u00E9l\u00E9ment {0} est-il l''URL correcte ?"},
- {"appletviewer.main.prop.store", "Propri\u00E9t\u00E9s utilisateur pour AppletViewer"},
- {"appletviewer.main.err.prop.cantread", "Impossible de lire le fichier de propri\u00E9t\u00E9s utilisateur : {0}"},
- {"appletviewer.main.err.prop.cantsave", "Impossible d''enregistrer le fichier de propri\u00E9t\u00E9s utilisateur : {0}"},
- {"appletviewer.main.warn.nosecmgr", "Avertissement : d\u00E9sactivation de la s\u00E9curit\u00E9."},
- {"appletviewer.main.debug.cantfinddebug", "D\u00E9bogueur introuvable."},
- {"appletviewer.main.debug.cantfindmain", "La m\u00E9thode principale est introuvable dans le d\u00E9bogueur."},
- {"appletviewer.main.debug.exceptionindebug", "Exception d\u00E9tect\u00E9e dans le d\u00E9bogueur."},
- {"appletviewer.main.debug.cantaccess", "Impossible d'acc\u00E9der au d\u00E9bogueur."},
- {"appletviewer.main.nosecmgr", "Avertissement : SecurityManager n'est pas install\u00E9."},
- {"appletviewer.main.warning", "Avertissement : aucune applet n'a \u00E9t\u00E9 d\u00E9marr\u00E9e. Assurez-vous que l'entr\u00E9e contient une balise <applet>."},
- {"appletviewer.main.warn.prop.overwrite", "Avertissement : remplacement temporaire de la propri\u00E9t\u00E9 syst\u00E8me \u00E0 la demande de l''utilisateur - Cl\u00E9 : {0}, ancienne valeur : {1}, nouvelle valeur : {2}"},
- {"appletviewer.main.warn.cantreadprops", "Avertissement : impossible de lire le fichier de propri\u00E9t\u00E9s d''AppletViewer : {0} Utilisation des valeurs par d\u00E9faut."},
- {"appletioexception.loadclass.throw.interrupted", "chargement de classe interrompu : {0}"},
- {"appletioexception.loadclass.throw.notloaded", "classe non charg\u00E9e : {0}"},
- {"appletclassloader.loadcode.verbose", "Ouverture du flux de donn\u00E9es dans {0} pour obtenir {1}"},
- {"appletclassloader.filenotfound", "Fichier introuvable lors de la recherche de {0}"},
- {"appletclassloader.fileformat", "Exception de format de fichier d\u00E9tect\u00E9e lors du chargement de : {0}"},
- {"appletclassloader.fileioexception", "Exception d''E/S lors du chargement de : {0}"},
- {"appletclassloader.fileexception", "Exception {0} lors du chargement de : {1}"},
- {"appletclassloader.filedeath", "Fermeture de {0} lors du chargement de : {1}"},
- {"appletclassloader.fileerror", "Erreur {0} lors du chargement de : {1}"},
- {"appletclassloader.findclass.verbose.openstream", "Ouverture du flux de donn\u00E9es dans {0} pour obtenir {1}"},
- {"appletclassloader.getresource.verbose.forname", "AppletClassLoader.getResource pour le nom : {0}"},
- {"appletclassloader.getresource.verbose.found", "Ressource {0} trouv\u00E9e en tant que ressource syst\u00E8me"},
- {"appletclassloader.getresourceasstream.verbose", "Ressource {0} trouv\u00E9e en tant que ressource syst\u00E8me"},
- {"appletpanel.runloader.err", "Param\u00E8tre d'objet ou de code."},
- {"appletpanel.runloader.exception", "exception lors de la d\u00E9s\u00E9rialisation de {0}"},
- {"appletpanel.destroyed", "Applet d\u00E9truite."},
- {"appletpanel.loaded", "Applet charg\u00E9e."},
- {"appletpanel.started", "Applet d\u00E9marr\u00E9e."},
- {"appletpanel.inited", "Applet initialis\u00E9e."},
- {"appletpanel.stopped", "Applet arr\u00EAt\u00E9e."},
- {"appletpanel.disposed", "Applet \u00E9limin\u00E9e."},
- {"appletpanel.nocode", "Param\u00E8tre CODE manquant dans la balise APPLET."},
- {"appletpanel.notfound", "Charger : la classe {0} est introuvable."},
- {"appletpanel.nocreate", "Charger : impossible d''instantier {0}."},
- {"appletpanel.noconstruct", "Charger : l''\u00E9l\u00E9ment {0} n''est pas public ou ne poss\u00E8de aucun constructeur public."},
- {"appletpanel.death", "arr\u00EAt\u00E9"},
- {"appletpanel.exception", "exception : {0}."},
- {"appletpanel.exception2", "exception : {0} : {1}."},
- {"appletpanel.error", "erreur : {0}."},
- {"appletpanel.error2", "erreur : {0} : {1}."},
- {"appletpanel.notloaded", "Initialiser : applet non charg\u00E9e."},
- {"appletpanel.notinited", "D\u00E9marrer : applet non initialis\u00E9e."},
- {"appletpanel.notstarted", "Arr\u00EAter : applet non d\u00E9marr\u00E9e."},
- {"appletpanel.notstopped", "D\u00E9truire : applet non arr\u00EAt\u00E9e."},
- {"appletpanel.notdestroyed", "Eliminer : applet non d\u00E9truite."},
- {"appletpanel.notdisposed", "Charger : applet non \u00E9limin\u00E9e."},
- {"appletpanel.bail", "Interrompu : r\u00E9solution."},
- {"appletpanel.filenotfound", "Fichier introuvable lors de la recherche de {0}"},
- {"appletpanel.fileformat", "Exception de format de fichier d\u00E9tect\u00E9e lors du chargement de : {0}"},
- {"appletpanel.fileioexception", "Exception d''E/S lors du chargement de : {0}"},
- {"appletpanel.fileexception", "Exception {0} lors du chargement de : {1}"},
- {"appletpanel.filedeath", "Fermeture de {0} lors du chargement de : {1}"},
- {"appletpanel.fileerror", "Erreur {0} lors du chargement de : {1}"},
- {"appletpanel.badattribute.exception", "Analyse HTML : valeur incorrecte pour l'attribut de largeur/hauteur"},
- {"appletillegalargumentexception.objectinputstream", "AppletObjectInputStream requiert un chargeur non NULL"},
- {"appletprops.title", "Propri\u00E9t\u00E9s d'AppletViewer"},
- {"appletprops.label.http.server", "Serveur proxy HTTP :"},
- {"appletprops.label.http.proxy", "Port proxy HTTP :"},
- {"appletprops.label.network", "Acc\u00E8s au r\u00E9seau :"},
- {"appletprops.choice.network.item.none", "Aucun"},
- {"appletprops.choice.network.item.applethost", "H\u00F4te de l'applet"},
- {"appletprops.choice.network.item.unrestricted", "Sans restriction"},
- {"appletprops.label.class", "Acc\u00E8s \u00E0 la classe :"},
- {"appletprops.choice.class.item.restricted", "Avec restriction"},
- {"appletprops.choice.class.item.unrestricted", "Sans restriction"},
- {"appletprops.label.unsignedapplet", "Autoriser les applets non sign\u00E9es :"},
- {"appletprops.choice.unsignedapplet.no", "Non"},
- {"appletprops.choice.unsignedapplet.yes", "Oui"},
- {"appletprops.button.apply", "Appliquer"},
- {"appletprops.button.cancel", "Annuler"},
- {"appletprops.button.reset", "R\u00E9initialiser"},
- {"appletprops.apply.exception", "Echec de l''enregistrement des propri\u00E9t\u00E9s : {0}"},
- /* 4066432 */
- {"appletprops.title.invalidproxy", "Entr\u00E9e non valide"},
- {"appletprops.label.invalidproxy", "Le port proxy doit \u00EAtre un entier positif."},
- {"appletprops.button.ok", "OK"},
- /* end 4066432 */
- {"appletprops.prop.store", "Propri\u00E9t\u00E9s utilisateur pour AppletViewer"},
- {"appletsecurityexception.checkcreateclassloader", "Exception de s\u00E9curit\u00E9 : chargeur de classe"},
- {"appletsecurityexception.checkaccess.thread", "Exception de s\u00E9curit\u00E9 : thread"},
- {"appletsecurityexception.checkaccess.threadgroup", "Exception de s\u00E9curit\u00E9 : groupe de threads : {0}"},
- {"appletsecurityexception.checkexit", "Exception de s\u00E9curit\u00E9 : sortie : {0}"},
- {"appletsecurityexception.checkexec", "Exception de s\u00E9curit\u00E9 : ex\u00E9cution : {0}"},
- {"appletsecurityexception.checklink", "Exception de s\u00E9curit\u00E9 : lien : {0}"},
- {"appletsecurityexception.checkpropsaccess", "Exception de s\u00E9curit\u00E9 : propri\u00E9t\u00E9s"},
- {"appletsecurityexception.checkpropsaccess.key", "Exception de s\u00E9curit\u00E9 : acc\u00E8s aux propri\u00E9t\u00E9s {0}"},
- {"appletsecurityexception.checkread.exception1", "Exception de s\u00E9curit\u00E9 : {0}, {1}"},
- {"appletsecurityexception.checkread.exception2", "Exception de s\u00E9curit\u00E9 : file.read : {0}"},
- {"appletsecurityexception.checkread", "Exception de s\u00E9curit\u00E9 : file.read : {0} == {1}"},
- {"appletsecurityexception.checkwrite.exception", "Exception de s\u00E9curit\u00E9 : {0}, {1}"},
- {"appletsecurityexception.checkwrite", "Exception de s\u00E9curit\u00E9 : file.write : {0} == {1}"},
- {"appletsecurityexception.checkread.fd", "Exception de s\u00E9curit\u00E9 : fd.read"},
- {"appletsecurityexception.checkwrite.fd", "Exception de s\u00E9curit\u00E9 : fd.write"},
- {"appletsecurityexception.checklisten", "Exception de s\u00E9curit\u00E9 : socket.listen : {0}"},
- {"appletsecurityexception.checkaccept", "Exception de s\u00E9curit\u00E9 : socket.accept : {0} : {1}"},
- {"appletsecurityexception.checkconnect.networknone", "Exception de s\u00E9curit\u00E9 : socket.connect : {0} -> {1}"},
- {"appletsecurityexception.checkconnect.networkhost1", "Exception de s\u00E9curit\u00E9 : impossible de se connecter \u00E0 {0} dont l''origine est {1}."},
- {"appletsecurityexception.checkconnect.networkhost2", "Exception de s\u00E9curit\u00E9 : impossible de r\u00E9soudre l''adresse IP pour l''h\u00F4te {0} ou pour {1}. "},
- {"appletsecurityexception.checkconnect.networkhost3", "Exception de s\u00E9curit\u00E9 : impossible de r\u00E9soudre l''adresse IP pour l''h\u00F4te {0}. Voir la propri\u00E9t\u00E9 trustProxy."},
- {"appletsecurityexception.checkconnect", "Exception de s\u00E9curit\u00E9 : connexion : {0} -> {1}"},
- {"appletsecurityexception.checkpackageaccess", "Exception de s\u00E9curit\u00E9 : impossible d''acc\u00E9der au package : {0}"},
- {"appletsecurityexception.checkpackagedefinition", "Exception de s\u00E9curit\u00E9 : impossible de d\u00E9finir le package : {0}"},
- {"appletsecurityexception.cannotsetfactory", "Exception de s\u00E9curit\u00E9 : impossible de d\u00E9finir la fabrique"},
- {"appletsecurityexception.checkmemberaccess", "Exception de s\u00E9curit\u00E9 : v\u00E9rifier l'acc\u00E8s des membres"},
- {"appletsecurityexception.checkgetprintjob", "Exception de s\u00E9curit\u00E9 : getPrintJob"},
- {"appletsecurityexception.checksystemclipboardaccess", "Exception de s\u00E9curit\u00E9 : getSystemClipboard"},
- {"appletsecurityexception.checkawteventqueueaccess", "Exception de s\u00E9curit\u00E9 : getEventQueue"},
- {"appletsecurityexception.checksecurityaccess", "Exception de s\u00E9curit\u00E9 : op\u00E9ration de s\u00E9curit\u00E9 : {0}"},
- {"appletsecurityexception.getsecuritycontext.unknown", "type de chargeur de classe inconnu, impossible de rechercher getContext"},
- {"appletsecurityexception.checkread.unknown", "type de chargeur de classe inconnu, impossible de rechercher la v\u00E9rification de lecture {0}"},
- {"appletsecurityexception.checkconnect.unknown", "type de chargeur de classe inconnu, impossible de rechercher la v\u00E9rification de connexion"},
- };
-
- return temp;
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/resources/MsgAppletViewer_it.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,203 +0,0 @@
-/*
- * Copyright (c) 1996, 2016, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package sun.applet.resources;
-
-import java.util.ListResourceBundle;
-
-public class MsgAppletViewer_it extends ListResourceBundle {
-
- public Object[][] getContents() {
- Object[][] temp = new Object[][] {
- {"textframe.button.dismiss", "Chiudi"},
- {"appletviewer.tool.title", "Visualizzatore applet: {0}"},
- {"appletviewer.menu.applet", "Applet"},
- {"appletviewer.menuitem.restart", "Riavvia"},
- {"appletviewer.menuitem.reload", "Ricarica"},
- {"appletviewer.menuitem.stop", "Arresta"},
- {"appletviewer.menuitem.save", "Salva..."},
- {"appletviewer.menuitem.start", "Avvia"},
- {"appletviewer.menuitem.clone", "Copia..."},
- {"appletviewer.menuitem.tag", "Tag..."},
- {"appletviewer.menuitem.info", "Informazioni..."},
- {"appletviewer.menuitem.edit", "Modifica"},
- {"appletviewer.menuitem.encoding", "Codifica caratteri"},
- {"appletviewer.menuitem.print", "Stampa..."},
- {"appletviewer.menuitem.props", "Propriet\u00E0..."},
- {"appletviewer.menuitem.close", "Chiudi"},
- {"appletviewer.menuitem.quit", "Esci"},
- {"appletviewer.label.hello", "Benvenuti..."},
- {"appletviewer.status.start", "avvio applet in corso..."},
- {"appletviewer.appletsave.filedialogtitle","Serializza applet in file"},
- {"appletviewer.appletsave.err1", "serializzazione di {0} in {1}"},
- {"appletviewer.appletsave.err2", "in appletSave: {0}"},
- {"appletviewer.applettag", "Tag visualizzata"},
- {"appletviewer.applettag.textframe", "Applet tag HTML"},
- {"appletviewer.appletinfo.applet", "-- nessuna informazione sull'applet --"},
- {"appletviewer.appletinfo.param", "-- nessuna informazione sul parametro --"},
- {"appletviewer.appletinfo.textframe", "Informazioni applet"},
- {"appletviewer.appletprint.fail", "Stampa non riuscita."},
- {"appletviewer.appletprint.finish", "Stampa completata."},
- {"appletviewer.appletprint.cancel", "Stampa annullata."},
- {"appletviewer.appletencoding", "Codifica caratteri: {0}"},
- {"appletviewer.parse.warning.requiresname", "Avvertenza: la tag <param name=... value=...> richiede un attributo name."},
- {"appletviewer.parse.warning.paramoutside", "Avvertenza: la tag <param> non rientra in <applet>... </applet>."},
- {"appletviewer.parse.warning.applet.requirescode", "Avvertenza: la tag <applet> richiede un attributo code."},
- {"appletviewer.parse.warning.applet.requiresheight", "Avvertenza: la tag <applet> richiede un attributo height."},
- {"appletviewer.parse.warning.applet.requireswidth", "Avvertenza: la tag <applet> richiede un attributo width."},
- {"appletviewer.parse.warning.object.requirescode", "Avvertenza: la tag <object> richiede un attributo code."},
- {"appletviewer.parse.warning.object.requiresheight", "Avvertenza: la tag <object> richiede un attributo height."},
- {"appletviewer.parse.warning.object.requireswidth", "Avvertenza: la tag <object> richiede un attributo width."},
- {"appletviewer.parse.warning.embed.requirescode", "Avvertenza: la tag <embed> richiede un attributo code."},
- {"appletviewer.parse.warning.embed.requiresheight", "Avvertenza: la tag <embed> richiede un attributo height."},
- {"appletviewer.parse.warning.embed.requireswidth", "Avvertenza: la tag <embed> richiede un attributo width."},
- {"appletviewer.parse.warning.appnotLongersupported", "Avvertenza: la tag <app> non \u00E8 pi\u00F9 supportata. Utilizzare <applet>:"},
- {"appletviewer.deprecated", "Avvertenza: l'API dell'applet e AppletViewer non sono pi\u00F9 validi."},
- {"appletviewer.usage", "Uso: appletviewer <options> url(s)\n\ndove <options> includono:\n -encoding <encoding> Specifica la codifica dei caratteri utilizzata dai file HTML\n -J<runtime flag> Passa l'argomento all'interpreter Java\n\nL'opzione -J non \u00E8 standard ed \u00E8 soggetta a modifica senza preavviso."},
- {"appletviewer.main.err.unsupportedopt", "Opzione non supportata: {0}"},
- {"appletviewer.main.err.unrecognizedarg", "Argomento non riconosciuto: {0}"},
- {"appletviewer.main.err.dupoption", "Uso duplicato dell''opzione: {0}"},
- {"appletviewer.main.err.inputfile", "Nessun file di input specificato."},
- {"appletviewer.main.err.badurl", "URL non valido: {0} ( {1} )"},
- {"appletviewer.main.err.io", "Eccezione I/O durante la lettura di {0}"},
- {"appletviewer.main.err.readablefile", "Assicurarsi che {0} sia un file e che sia leggibile."},
- {"appletviewer.main.err.correcturl", "{0} \u00E8 l''URL corretto?"},
- {"appletviewer.main.prop.store", "Propriet\u00E0 specifiche dell'utente per AppletViewer"},
- {"appletviewer.main.err.prop.cantread", "Impossibile leggere il file delle propriet\u00E0 utente: {0}"},
- {"appletviewer.main.err.prop.cantsave", "Impossibile salvare il file delle propriet\u00E0 utente: {0}"},
- {"appletviewer.main.warn.nosecmgr", "Avvertenza: la sicurezza verr\u00E0 disabilitata."},
- {"appletviewer.main.debug.cantfinddebug", "Impossibile trovare il debugger."},
- {"appletviewer.main.debug.cantfindmain", "Impossibile trovare il metodo principale nel debugger."},
- {"appletviewer.main.debug.exceptionindebug", "Eccezione nel debugger."},
- {"appletviewer.main.debug.cantaccess", "Impossibile accedere al debugger."},
- {"appletviewer.main.nosecmgr", "Avvertenza: SecurityManager non installato."},
- {"appletviewer.main.warning", "Avvertenza: nessuna applet avviata. Assicurarsi che l'input contenga una tag <applet>."},
- {"appletviewer.main.warn.prop.overwrite", "Avvertenza: la propriet\u00E0 di sistema verr\u00E0 sovrascritta temporaneamente su richiesta dell''utente. Chiave {0}, valore precedente {1}, nuovo valore {2}."},
- {"appletviewer.main.warn.cantreadprops", "Avvertenza: impossibile leggere il file delle propriet\u00E0 AppletViewer {0}. Verranno utilizzate le impostazioni predefinite."},
- {"appletioexception.loadclass.throw.interrupted", "caricamento della classe interrotto: {0}"},
- {"appletioexception.loadclass.throw.notloaded", "classe non caricata: {0}"},
- {"appletclassloader.loadcode.verbose", "Apertura del flusso per {0} per recuperare {1}"},
- {"appletclassloader.filenotfound", "File non trovato durante la ricerca di {0}"},
- {"appletclassloader.fileformat", "Eccezione di formato file durante il caricamento di {0}"},
- {"appletclassloader.fileioexception", "Eccezione I/O durante il caricamento di {0}"},
- {"appletclassloader.fileexception", "Eccezione {0} durante il caricamento di {1}"},
- {"appletclassloader.filedeath", "{0} terminato durante il caricamento di {1}"},
- {"appletclassloader.fileerror", "Errore {0} durante il caricamento di {1}"},
- {"appletclassloader.findclass.verbose.openstream", "Apertura del flusso per {0} per recuperare {1}"},
- {"appletclassloader.getresource.verbose.forname", "AppletClassLoader.getResource per il nome: {0}"},
- {"appletclassloader.getresource.verbose.found", "\u00C8 stata trovata la risorsa {0} come risorsa di sistema"},
- {"appletclassloader.getresourceasstream.verbose", "\u00C8 stata trovata la risorsa {0} come risorsa di sistema"},
- {"appletpanel.runloader.err", "Parametro di oggetto o di codice."},
- {"appletpanel.runloader.exception", "eccezione durante la deserializzazione di {0}"},
- {"appletpanel.destroyed", "Applet rimossa."},
- {"appletpanel.loaded", "Applet caricata."},
- {"appletpanel.started", "Applet avviata."},
- {"appletpanel.inited", "Applet inizializzata."},
- {"appletpanel.stopped", "Applet arrestata."},
- {"appletpanel.disposed", "Applet eliminata."},
- {"appletpanel.nocode", "Nella tag APPLET manca il parametro CODE."},
- {"appletpanel.notfound", "caricamento: classe {0} non trovata."},
- {"appletpanel.nocreate", "caricamento: impossibile creare un''istanza di {0}."},
- {"appletpanel.noconstruct", "caricamento: {0} non \u00E8 pubblico o non ha un costruttore pubblico."},
- {"appletpanel.death", "terminato"},
- {"appletpanel.exception", "eccezione: {0}"},
- {"appletpanel.exception2", "eccezione: {0}: {1}."},
- {"appletpanel.error", "errore: {0}."},
- {"appletpanel.error2", "errore: {0}: {1}."},
- {"appletpanel.notloaded", "Inizializzazione: applet non caricata."},
- {"appletpanel.notinited", "Avvio: applet non inizializzata."},
- {"appletpanel.notstarted", "Arresto: applet non avviata."},
- {"appletpanel.notstopped", "Rimozione: applet non arrestata."},
- {"appletpanel.notdestroyed", "Eliminazione: applet non rimossa."},
- {"appletpanel.notdisposed", "Caricamento: applet non eliminata."},
- {"appletpanel.bail", "Interrotto: chiusura."},
- {"appletpanel.filenotfound", "File non trovato durante la ricerca di {0}"},
- {"appletpanel.fileformat", "Eccezione di formato file durante il caricamento di {0}"},
- {"appletpanel.fileioexception", "Eccezione I/O durante il caricamento di {0}"},
- {"appletpanel.fileexception", "Eccezione {0} durante il caricamento di {1}"},
- {"appletpanel.filedeath", "{0} terminato durante il caricamento di {1}"},
- {"appletpanel.fileerror", "Errore {0} durante il caricamento di {1}"},
- {"appletpanel.badattribute.exception", "Analisi HTML: valore errato per l'attributo width/height"},
- {"appletillegalargumentexception.objectinputstream", "AppletObjectInputStream richiede un loader non nullo"},
- {"appletprops.title", "Propriet\u00E0 AppletViewer"},
- {"appletprops.label.http.server", "Server proxy http:"},
- {"appletprops.label.http.proxy", "Porta proxy http:"},
- {"appletprops.label.network", "Accesso alla rete:"},
- {"appletprops.choice.network.item.none", "Nessuno"},
- {"appletprops.choice.network.item.applethost", "Host applet"},
- {"appletprops.choice.network.item.unrestricted", "Non limitato"},
- {"appletprops.label.class", "Accesso alla classe:"},
- {"appletprops.choice.class.item.restricted", "Limitato"},
- {"appletprops.choice.class.item.unrestricted", "Non limitato"},
- {"appletprops.label.unsignedapplet", "Consenti applet senza firma:"},
- {"appletprops.choice.unsignedapplet.no", "No"},
- {"appletprops.choice.unsignedapplet.yes", "S\u00EC"},
- {"appletprops.button.apply", "Applica"},
- {"appletprops.button.cancel", "Annulla"},
- {"appletprops.button.reset", "Reimposta"},
- {"appletprops.apply.exception", "Salvataggio delle propriet\u00E0 non riuscito: {0}"},
- /* 4066432 */
- {"appletprops.title.invalidproxy", "Voce non valida"},
- {"appletprops.label.invalidproxy", "La porta del proxy deve essere un valore intero positivo."},
- {"appletprops.button.ok", "OK"},
- /* end 4066432 */
- {"appletprops.prop.store", "Propriet\u00E0 specifiche dell'utente per AppletViewer"},
- {"appletsecurityexception.checkcreateclassloader", "Eccezione di sicurezza: classloader"},
- {"appletsecurityexception.checkaccess.thread", "Eccezione di sicurezza: thread"},
- {"appletsecurityexception.checkaccess.threadgroup", "Eccezione di sicurezza: threadgroup: {0}"},
- {"appletsecurityexception.checkexit", "Eccezione di sicurezza: exit: {0}"},
- {"appletsecurityexception.checkexec", "Eccezione di sicurezza: exec: {0}"},
- {"appletsecurityexception.checklink", "Eccezione di sicurezza: link: {0}"},
- {"appletsecurityexception.checkpropsaccess", "Eccezione di sicurezza: properties"},
- {"appletsecurityexception.checkpropsaccess.key", "Eccezione di sicurezza: properties access {0}"},
- {"appletsecurityexception.checkread.exception1", "Eccezione di sicurezza: {0}, {1}"},
- {"appletsecurityexception.checkread.exception2", "Eccezione di sicurezza: file.read: {0}"},
- {"appletsecurityexception.checkread", "Eccezione di sicurezza: file.read: {0} == {1}"},
- {"appletsecurityexception.checkwrite.exception", "Eccezione di sicurezza: {0}, {1}"},
- {"appletsecurityexception.checkwrite", "Eccezione di sicurezza: file.write: {0} == {1}"},
- {"appletsecurityexception.checkread.fd", "Eccezione di sicurezza: fd.read"},
- {"appletsecurityexception.checkwrite.fd", "Eccezione di sicurezza: fd.write"},
- {"appletsecurityexception.checklisten", "Eccezione di sicurezza: socket.listen: {0}"},
- {"appletsecurityexception.checkaccept", "Eccezione di sicurezza: socket.accept: {0}:{1}"},
- {"appletsecurityexception.checkconnect.networknone", "Eccezione di sicurezza: socket.connect: {0}->{1}"},
- {"appletsecurityexception.checkconnect.networkhost1", "Eccezione di sicurezza: impossibile connettersi a {0} con origine da {1}."},
- {"appletsecurityexception.checkconnect.networkhost2", "Eccezione di sicurezza: impossibile risolvere l''IP per l''host {0} o per {1}. "},
- {"appletsecurityexception.checkconnect.networkhost3", "Eccezione di sicurezza: impossibile non risolvere l''IP per l''host {0}. Vedere la propriet\u00E0 trustProxy."},
- {"appletsecurityexception.checkconnect", "Eccezione di sicurezza: connect: {0}->{1}"},
- {"appletsecurityexception.checkpackageaccess", "Eccezione di sicurezza: impossibile accedere al package {0}"},
- {"appletsecurityexception.checkpackagedefinition", "Eccezione di sicurezza: impossibile definire il package {0}"},
- {"appletsecurityexception.cannotsetfactory", "Eccezione di sicurezza: impossibile impostare il factory"},
- {"appletsecurityexception.checkmemberaccess", "Eccezione di sicurezza: controllare l'accesso dei membri"},
- {"appletsecurityexception.checkgetprintjob", "Eccezione di sicurezza: getPrintJob"},
- {"appletsecurityexception.checksystemclipboardaccess", "Eccezione di sicurezza: getSystemClipboard"},
- {"appletsecurityexception.checkawteventqueueaccess", "Eccezione di sicurezza: getEventQueue"},
- {"appletsecurityexception.checksecurityaccess", "Eccezione di sicurezza: operazione di sicurezza {0}"},
- {"appletsecurityexception.getsecuritycontext.unknown", "tipo di loader della classe sconosciuto. Impossibile verificare la presenza di getContext."},
- {"appletsecurityexception.checkread.unknown", "tipo di loader della classe sconosciuto. Impossibile verificare la presenza della lettura di controllo {0}."},
- {"appletsecurityexception.checkconnect.unknown", "tipo di loader della classe sconosciuto. Impossibile verificare la presenza della connessione di controllo."},
- };
-
- return temp;
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/resources/MsgAppletViewer_ja.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,203 +0,0 @@
-/*
- * Copyright (c) 1996, 2016, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package sun.applet.resources;
-
-import java.util.ListResourceBundle;
-
-public class MsgAppletViewer_ja extends ListResourceBundle {
-
- public Object[][] getContents() {
- Object[][] temp = new Object[][] {
- {"textframe.button.dismiss", "\u53D6\u6D88"},
- {"appletviewer.tool.title", "\u30A2\u30D7\u30EC\u30C3\u30C8\u30FB\u30D3\u30E5\u30FC\u30A2: {0}"},
- {"appletviewer.menu.applet", "\u30A2\u30D7\u30EC\u30C3\u30C8"},
- {"appletviewer.menuitem.restart", "\u518D\u8D77\u52D5"},
- {"appletviewer.menuitem.reload", "\u518D\u30ED\u30FC\u30C9"},
- {"appletviewer.menuitem.stop", "\u505C\u6B62"},
- {"appletviewer.menuitem.save", "\u4FDD\u5B58..."},
- {"appletviewer.menuitem.start", "\u958B\u59CB"},
- {"appletviewer.menuitem.clone", "\u30AF\u30ED\u30FC\u30F3..."},
- {"appletviewer.menuitem.tag", "\u30BF\u30B0..."},
- {"appletviewer.menuitem.info", "\u60C5\u5831..."},
- {"appletviewer.menuitem.edit", "\u7DE8\u96C6"},
- {"appletviewer.menuitem.encoding", "\u6587\u5B57\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0"},
- {"appletviewer.menuitem.print", "\u5370\u5237..."},
- {"appletviewer.menuitem.props", "\u30D7\u30ED\u30D1\u30C6\u30A3..."},
- {"appletviewer.menuitem.close", "\u9589\u3058\u308B"},
- {"appletviewer.menuitem.quit", "\u7D42\u4E86"},
- {"appletviewer.label.hello", "Hello..."},
- {"appletviewer.status.start", "\u30A2\u30D7\u30EC\u30C3\u30C8\u3092\u958B\u59CB\u3057\u3066\u3044\u307E\u3059..."},
- {"appletviewer.appletsave.filedialogtitle","\u30A2\u30D7\u30EC\u30C3\u30C8\u3092\u30D5\u30A1\u30A4\u30EB\u306B\u30B7\u30EA\u30A2\u30E9\u30A4\u30BA"},
- {"appletviewer.appletsave.err1", "{0}\u3092{1}\u306B\u30B7\u30EA\u30A2\u30E9\u30A4\u30BA"},
- {"appletviewer.appletsave.err2", "appletSave\u5185: {0}"},
- {"appletviewer.applettag", "\u30BF\u30B0\u306E\u8868\u793A"},
- {"appletviewer.applettag.textframe", "\u30A2\u30D7\u30EC\u30C3\u30C8HTML\u30BF\u30B0"},
- {"appletviewer.appletinfo.applet", "-- \u30A2\u30D7\u30EC\u30C3\u30C8\u60C5\u5831\u306A\u3057 --"},
- {"appletviewer.appletinfo.param", "-- \u30D1\u30E9\u30E1\u30FC\u30BF\u60C5\u5831\u306A\u3057 --"},
- {"appletviewer.appletinfo.textframe", "\u30A2\u30D7\u30EC\u30C3\u30C8\u60C5\u5831"},
- {"appletviewer.appletprint.fail", "\u5370\u5237\u304C\u5931\u6557\u3057\u307E\u3057\u305F\u3002"},
- {"appletviewer.appletprint.finish", "\u5370\u5237\u3092\u7D42\u4E86\u3057\u307E\u3057\u305F\u3002"},
- {"appletviewer.appletprint.cancel", "\u5370\u5237\u304C\u53D6\u308A\u6D88\u3055\u308C\u307E\u3057\u305F\u3002"},
- {"appletviewer.appletencoding", "\u6587\u5B57\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0: {0}"},
- {"appletviewer.parse.warning.requiresname", "\u8B66\u544A: <param name=... value=...>\u30BF\u30B0\u306Bname\u5C5E\u6027\u304C\u5FC5\u8981\u3067\u3059\u3002"},
- {"appletviewer.parse.warning.paramoutside", "\u8B66\u544A: <param>\u30BF\u30B0\u304C<applet> ... </applet>\u306E\u5916\u5074\u3067\u3059\u3002"},
- {"appletviewer.parse.warning.applet.requirescode", "\u8B66\u544A: <applet>\u30BF\u30B0\u306Bcode\u5C5E\u6027\u304C\u5FC5\u8981\u3067\u3059\u3002"},
- {"appletviewer.parse.warning.applet.requiresheight", "\u8B66\u544A: <applet>\u30BF\u30B0\u306Bheight\u5C5E\u6027\u304C\u5FC5\u8981\u3067\u3059\u3002"},
- {"appletviewer.parse.warning.applet.requireswidth", "\u8B66\u544A: <applet>\u30BF\u30B0\u306Bwidth\u5C5E\u6027\u304C\u5FC5\u8981\u3067\u3059\u3002"},
- {"appletviewer.parse.warning.object.requirescode", "\u8B66\u544A: <object>\u30BF\u30B0\u306Bcode\u5C5E\u6027\u304C\u5FC5\u8981\u3067\u3059\u3002"},
- {"appletviewer.parse.warning.object.requiresheight", "\u8B66\u544A: <object>\u30BF\u30B0\u306Bheight\u5C5E\u6027\u304C\u5FC5\u8981\u3067\u3059\u3002"},
- {"appletviewer.parse.warning.object.requireswidth", "\u8B66\u544A: <object>\u30BF\u30B0\u306Bwidth\u5C5E\u6027\u304C\u5FC5\u8981\u3067\u3059\u3002"},
- {"appletviewer.parse.warning.embed.requirescode", "\u8B66\u544A: <embed>\u30BF\u30B0\u306Bcode\u5C5E\u6027\u304C\u5FC5\u8981\u3067\u3059\u3002"},
- {"appletviewer.parse.warning.embed.requiresheight", "\u8B66\u544A: <embed>\u30BF\u30B0\u306Bheight\u5C5E\u6027\u304C\u5FC5\u8981\u3067\u3059\u3002"},
- {"appletviewer.parse.warning.embed.requireswidth", "\u8B66\u544A: <embed>\u30BF\u30B0\u306Bwidth\u5C5E\u6027\u304C\u5FC5\u8981\u3067\u3059\u3002"},
- {"appletviewer.parse.warning.appnotLongersupported", "\u8B66\u544A: <app>\u30BF\u30B0\u306F\u73FE\u5728\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u304B\u308F\u308A\u306B<applet>\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},
- {"appletviewer.deprecated", "\u8B66\u544A: \u30A2\u30D7\u30EC\u30C3\u30C8API\u304A\u3088\u3073AppletViewer\u306F\u975E\u63A8\u5968\u3067\u3059\u3002"},
- {"appletviewer.usage", "\u4F7F\u7528\u65B9\u6CD5: appletviewer <options> url(s)\n\n<options>\u306B\u306F\u6B21\u306E\u3082\u306E\u304C\u3042\u308A\u307E\u3059:\n -encoding <encoding> HTML\u30D5\u30A1\u30A4\u30EB\u306B\u3088\u3063\u3066\u4F7F\u7528\u3055\u308C\u308B\u6587\u5B57\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u3092\u6307\u5B9A\u3059\u308B\n -J<runtime flag> \u5F15\u6570\u3092Java\u30A4\u30F3\u30BF\u30D7\u30EA\u30BF\u306B\u6E21\u3059\n\n-J\u306F\u975E\u6A19\u6E96\u30AA\u30D7\u30B7\u30E7\u30F3\u3067\u3042\u308A\u3001\u4E88\u544A\u306A\u3057\u306B\u5909\u66F4\u3055\u308C\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002"},
- {"appletviewer.main.err.unsupportedopt", "\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u306A\u3044\u30AA\u30D7\u30B7\u30E7\u30F3: {0}"},
- {"appletviewer.main.err.unrecognizedarg", "\u8A8D\u8B58\u3055\u308C\u306A\u3044\u5F15\u6570: {0}"},
- {"appletviewer.main.err.dupoption", "\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u4F7F\u7528\u304C\u91CD\u8907\u3057\u3066\u3044\u307E\u3059: {0}"},
- {"appletviewer.main.err.inputfile", "\u5165\u529B\u30D5\u30A1\u30A4\u30EB\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002"},
- {"appletviewer.main.err.badurl", "\u4E0D\u6B63\u306AURL: {0} ( {1} )"},
- {"appletviewer.main.err.io", "\u8AAD\u8FBC\u307F\u4E2D\u306E\u5165\u51FA\u529B\u4F8B\u5916\u3067\u3059: {0}"},
- {"appletviewer.main.err.readablefile", "{0}\u304C\u30D5\u30A1\u30A4\u30EB\u3067\u3042\u308A\u3001\u8AAD\u8FBC\u307F\u53EF\u80FD\u3067\u3042\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},
- {"appletviewer.main.err.correcturl", "{0}\u306F\u6B63\u3057\u3044URL\u3067\u3059\u304B\u3002"},
- {"appletviewer.main.prop.store", "AppletViewer\u7528\u306E\u30E6\u30FC\u30B6\u30FC\u304C\u6307\u5B9A\u3057\u305F\u30D7\u30ED\u30D1\u30C6\u30A3"},
- {"appletviewer.main.err.prop.cantread", "\u30E6\u30FC\u30B6\u30FC\u30FB\u30D7\u30ED\u30D1\u30C6\u30A3\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093: {0}"},
- {"appletviewer.main.err.prop.cantsave", "\u30E6\u30FC\u30B6\u30FC\u30FB\u30D7\u30ED\u30D1\u30C6\u30A3\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u4FDD\u5B58\u3067\u304D\u307E\u305B\u3093: {0}"},
- {"appletviewer.main.warn.nosecmgr", "\u8B66\u544A: \u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u3092\u7121\u52B9\u5316\u3057\u307E\u3059\u3002"},
- {"appletviewer.main.debug.cantfinddebug", "\u30C7\u30D0\u30C3\u30AC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002"},
- {"appletviewer.main.debug.cantfindmain", "\u30C7\u30D0\u30C3\u30AC\u306E\u30E1\u30A4\u30F3\u30FB\u30E1\u30BD\u30C3\u30C9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002"},
- {"appletviewer.main.debug.exceptionindebug", "\u30C7\u30D0\u30C3\u30AC\u306B\u4F8B\u5916\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002"},
- {"appletviewer.main.debug.cantaccess", "\u30C7\u30D0\u30C3\u30AC\u306B\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u307E\u305B\u3093\u3002"},
- {"appletviewer.main.nosecmgr", "\u8B66\u544A: SecurityManager\u304C\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002"},
- {"appletviewer.main.warning", "\u8B66\u544A: \u30A2\u30D7\u30EC\u30C3\u30C8\u304C\u958B\u59CB\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u5165\u529B\u306B<applet>\u30BF\u30B0\u304C\u3042\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},
- {"appletviewer.main.warn.prop.overwrite", "\u8B66\u544A: \u30E6\u30FC\u30B6\u30FC\u306E\u30EA\u30AF\u30A8\u30B9\u30C8\u3067\u30B7\u30B9\u30C6\u30E0\u30FB\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u4E00\u6642\u7684\u306B\u4E0A\u66F8\u304D\u3057\u307E\u3059: \u30AD\u30FC: {0} \u53E4\u3044\u5024: {1} \u65B0\u3057\u3044\u5024: {2}"},
- {"appletviewer.main.warn.cantreadprops", "\u8B66\u544A: AppletViewer\u30D7\u30ED\u30D1\u30C6\u30A3\u30FB\u30D5\u30A1\u30A4\u30EB{0}\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3002\u30C7\u30D5\u30A9\u30EB\u30C8\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002"},
- {"appletioexception.loadclass.throw.interrupted", "\u30AF\u30E9\u30B9\u306E\u30ED\u30FC\u30C9\u304C\u4E2D\u65AD\u3057\u307E\u3057\u305F: {0}"},
- {"appletioexception.loadclass.throw.notloaded", "\u30AF\u30E9\u30B9\u304C\u30ED\u30FC\u30C9\u3055\u308C\u307E\u305B\u3093: {0}"},
- {"appletclassloader.loadcode.verbose", "{1}\u3092\u53D6\u5F97\u3059\u308B\u305F\u3081\u306E{0}\u3078\u306E\u30B9\u30C8\u30EA\u30FC\u30E0\u3092\u958B\u304D\u307E\u3059"},
- {"appletclassloader.filenotfound", "{0}\u306E\u691C\u7D22\u4E2D\u306B\u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},
- {"appletclassloader.fileformat", "{0}\u306E\u30ED\u30FC\u30C9\u4E2D\u306B\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u4F8B\u5916\u304C\u767A\u751F\u3057\u307E\u3057\u305F"},
- {"appletclassloader.fileioexception", "{0}\u306E\u30ED\u30FC\u30C9\u4E2D\u306B\u5165\u51FA\u529B\u4F8B\u5916\u304C\u767A\u751F\u3057\u307E\u3057\u305F"},
- {"appletclassloader.fileexception", "{1}\u306E\u30ED\u30FC\u30C9\u4E2D\u306B{0}\u4F8B\u5916\u304C\u767A\u751F\u3057\u307E\u3057\u305F"},
- {"appletclassloader.filedeath", "{1}\u306E\u30ED\u30FC\u30C9\u4E2D\u306B{0}\u304C\u5F37\u5236\u7D42\u4E86\u3057\u307E\u3057\u305F"},
- {"appletclassloader.fileerror", "{1}\u306E\u30ED\u30FC\u30C9\u4E2D\u306B{0}\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F"},
- {"appletclassloader.findclass.verbose.openstream", "{1}\u3092\u53D6\u5F97\u3059\u308B\u305F\u3081\u306E{0}\u3078\u306E\u30B9\u30C8\u30EA\u30FC\u30E0\u3092\u958B\u304D\u307E\u3059"},
- {"appletclassloader.getresource.verbose.forname", "\u540D\u524D{0}\u306EAppletClassLoader.getResource\u3067\u3059"},
- {"appletclassloader.getresource.verbose.found", "\u30EA\u30BD\u30FC\u30B9{0}\u304C\u30B7\u30B9\u30C6\u30E0\u30FB\u30EA\u30BD\u30FC\u30B9\u3068\u3057\u3066\u691C\u51FA\u3055\u308C\u307E\u3057\u305F"},
- {"appletclassloader.getresourceasstream.verbose", "\u30EA\u30BD\u30FC\u30B9{0}\u304C\u30B7\u30B9\u30C6\u30E0\u30FB\u30EA\u30BD\u30FC\u30B9\u3068\u3057\u3066\u691C\u51FA\u3055\u308C\u307E\u3057\u305F"},
- {"appletpanel.runloader.err", "\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u307E\u305F\u306F\u30B3\u30FC\u30C9\u30FB\u30D1\u30E9\u30E1\u30FC\u30BF\u306E\u3044\u305A\u308C\u304B\u3067\u3059\u3002"},
- {"appletpanel.runloader.exception", "{0}\u306E\u30C7\u30B7\u30EA\u30A2\u30E9\u30A4\u30BA\u4E2D\u306B\u4F8B\u5916\u304C\u767A\u751F\u3057\u307E\u3057\u305F"},
- {"appletpanel.destroyed", "\u30A2\u30D7\u30EC\u30C3\u30C8\u304C\u7834\u68C4\u3055\u308C\u307E\u3057\u305F\u3002"},
- {"appletpanel.loaded", "\u30A2\u30D7\u30EC\u30C3\u30C8\u304C\u30ED\u30FC\u30C9\u3055\u308C\u307E\u3057\u305F\u3002"},
- {"appletpanel.started", "\u30A2\u30D7\u30EC\u30C3\u30C8\u304C\u958B\u59CB\u3055\u308C\u307E\u3057\u305F\u3002"},
- {"appletpanel.inited", "\u30A2\u30D7\u30EC\u30C3\u30C8\u304C\u521D\u671F\u5316\u3055\u308C\u307E\u3057\u305F\u3002"},
- {"appletpanel.stopped", "\u30A2\u30D7\u30EC\u30C3\u30C8\u304C\u505C\u6B62\u3055\u308C\u307E\u3057\u305F\u3002"},
- {"appletpanel.disposed", "\u30A2\u30D7\u30EC\u30C3\u30C8\u304C\u7834\u68C4\u3055\u308C\u307E\u3057\u305F\u3002"},
- {"appletpanel.nocode", "APPLET\u30BF\u30B0\u306BCODE\u30D1\u30E9\u30E1\u30FC\u30BF\u304C\u3042\u308A\u307E\u305B\u3093\u3002"},
- {"appletpanel.notfound", "\u30ED\u30FC\u30C9: \u30AF\u30E9\u30B9{0}\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002"},
- {"appletpanel.nocreate", "\u30ED\u30FC\u30C9: {0}\u3092\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u5316\u3067\u304D\u307E\u305B\u3093\u3002"},
- {"appletpanel.noconstruct", "\u30ED\u30FC\u30C9: {0}\u306Fpublic\u3067\u306A\u3044\u304B\u3001public\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u3092\u6301\u3063\u3066\u3044\u307E\u305B\u3093\u3002"},
- {"appletpanel.death", "\u5F37\u5236\u7D42\u4E86\u3055\u308C\u307E\u3057\u305F"},
- {"appletpanel.exception", "\u4F8B\u5916: {0}\u3002"},
- {"appletpanel.exception2", "\u4F8B\u5916: {0}: {1}\u3002"},
- {"appletpanel.error", "\u30A8\u30E9\u30FC: {0}\u3002"},
- {"appletpanel.error2", "\u30A8\u30E9\u30FC: {0}: {1}\u3002"},
- {"appletpanel.notloaded", "\u521D\u671F\u5316: \u30A2\u30D7\u30EC\u30C3\u30C8\u304C\u30ED\u30FC\u30C9\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002"},
- {"appletpanel.notinited", "\u958B\u59CB: \u30A2\u30D7\u30EC\u30C3\u30C8\u304C\u521D\u671F\u5316\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002"},
- {"appletpanel.notstarted", "\u505C\u6B62: \u30A2\u30D7\u30EC\u30C3\u30C8\u304C\u958B\u59CB\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002"},
- {"appletpanel.notstopped", "\u7834\u68C4: \u30A2\u30D7\u30EC\u30C3\u30C8\u304C\u505C\u6B62\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002"},
- {"appletpanel.notdestroyed", "\u7834\u68C4: \u30A2\u30D7\u30EC\u30C3\u30C8\u304C\u7834\u68C4\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002"},
- {"appletpanel.notdisposed", "\u30ED\u30FC\u30C9: \u30A2\u30D7\u30EC\u30C3\u30C8\u304C\u7834\u68C4\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002"},
- {"appletpanel.bail", "\u4E2D\u65AD\u6E08: \u7D42\u4E86\u3057\u3066\u3044\u307E\u3059\u3002"},
- {"appletpanel.filenotfound", "{0}\u306E\u691C\u7D22\u4E2D\u306B\u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},
- {"appletpanel.fileformat", "{0}\u306E\u30ED\u30FC\u30C9\u4E2D\u306B\u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u4F8B\u5916\u304C\u767A\u751F\u3057\u307E\u3057\u305F"},
- {"appletpanel.fileioexception", "{0}\u306E\u30ED\u30FC\u30C9\u4E2D\u306B\u5165\u51FA\u529B\u4F8B\u5916\u304C\u767A\u751F\u3057\u307E\u3057\u305F"},
- {"appletpanel.fileexception", "{1}\u306E\u30ED\u30FC\u30C9\u4E2D\u306B{0}\u4F8B\u5916\u304C\u767A\u751F\u3057\u307E\u3057\u305F"},
- {"appletpanel.filedeath", "{1}\u306E\u30ED\u30FC\u30C9\u4E2D\u306B{0}\u304C\u5F37\u5236\u7D42\u4E86\u3057\u307E\u3057\u305F"},
- {"appletpanel.fileerror", "{1}\u306E\u30ED\u30FC\u30C9\u4E2D\u306B{0}\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F"},
- {"appletpanel.badattribute.exception", "HTML\u89E3\u6790: width\u307E\u305F\u306Fheight\u5C5E\u6027\u306E\u5024\u304C\u4E0D\u6B63\u3067\u3059"},
- {"appletillegalargumentexception.objectinputstream", "AppletObjectInputStream\u306F\u975Enull\u306E\u30ED\u30FC\u30C0\u30FC\u304C\u5FC5\u8981\u3067\u3059"},
- {"appletprops.title", "AppletViewer\u30D7\u30ED\u30D1\u30C6\u30A3"},
- {"appletprops.label.http.server", "Http\u30D7\u30ED\u30AD\u30B7\u30FB\u30B5\u30FC\u30D0\u30FC:"},
- {"appletprops.label.http.proxy", "Http\u30D7\u30ED\u30AD\u30B7\u30FB\u30DD\u30FC\u30C8:"},
- {"appletprops.label.network", "\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF\u30FB\u30A2\u30AF\u30BB\u30B9:"},
- {"appletprops.choice.network.item.none", "\u306A\u3057"},
- {"appletprops.choice.network.item.applethost", "\u30A2\u30D7\u30EC\u30C3\u30C8\u30FB\u30DB\u30B9\u30C8"},
- {"appletprops.choice.network.item.unrestricted", "\u5236\u9650\u306A\u3057"},
- {"appletprops.label.class", "\u30AF\u30E9\u30B9\u30FB\u30A2\u30AF\u30BB\u30B9:"},
- {"appletprops.choice.class.item.restricted", "\u5236\u9650\u4ED8\u304D"},
- {"appletprops.choice.class.item.unrestricted", "\u5236\u9650\u306A\u3057"},
- {"appletprops.label.unsignedapplet", "\u7F72\u540D\u3055\u308C\u3066\u3044\u306A\u3044\u30A2\u30D7\u30EC\u30C3\u30C8\u3092\u8A31\u53EF:"},
- {"appletprops.choice.unsignedapplet.no", "\u3044\u3044\u3048"},
- {"appletprops.choice.unsignedapplet.yes", "\u306F\u3044"},
- {"appletprops.button.apply", "\u9069\u7528"},
- {"appletprops.button.cancel", "\u53D6\u6D88"},
- {"appletprops.button.reset", "\u30EA\u30BB\u30C3\u30C8"},
- {"appletprops.apply.exception", "\u30D7\u30ED\u30D1\u30C6\u30A3{0}\u306E\u4FDD\u5B58\u306B\u5931\u6557\u3057\u307E\u3057\u305F"},
- /* 4066432 */
- {"appletprops.title.invalidproxy", "\u30A8\u30F3\u30C8\u30EA\u304C\u7121\u52B9\u3067\u3059"},
- {"appletprops.label.invalidproxy", "\u30D7\u30ED\u30AD\u30B7\u30FB\u30DD\u30FC\u30C8\u306F\u6B63\u306E\u6574\u6570\u5024\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002"},
- {"appletprops.button.ok", "OK"},
- /* end 4066432 */
- {"appletprops.prop.store", "AppletViewer\u7528\u306E\u30E6\u30FC\u30B6\u30FC\u304C\u6307\u5B9A\u3057\u305F\u30D7\u30ED\u30D1\u30C6\u30A3"},
- {"appletsecurityexception.checkcreateclassloader", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: \u30AF\u30E9\u30B9\u30ED\u30FC\u30C0\u30FC"},
- {"appletsecurityexception.checkaccess.thread", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: \u30B9\u30EC\u30C3\u30C9"},
- {"appletsecurityexception.checkaccess.threadgroup", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: \u30B9\u30EC\u30C3\u30C9\u30B0\u30EB\u30FC\u30D7: {0}"},
- {"appletsecurityexception.checkexit", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: \u7D42\u4E86: {0}"},
- {"appletsecurityexception.checkexec", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: \u5B9F\u884C: {0}"},
- {"appletsecurityexception.checklink", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: \u30EA\u30F3\u30AF: {0}"},
- {"appletsecurityexception.checkpropsaccess", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: \u30D7\u30ED\u30D1\u30C6\u30A3"},
- {"appletsecurityexception.checkpropsaccess.key", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: \u30D7\u30ED\u30D1\u30C6\u30A3\u30FB\u30A2\u30AF\u30BB\u30B9{0}"},
- {"appletsecurityexception.checkread.exception1", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: {0}, {1}"},
- {"appletsecurityexception.checkread.exception2", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: file.read: {0}"},
- {"appletsecurityexception.checkread", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: file.read: {0} == {1}"},
- {"appletsecurityexception.checkwrite.exception", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: {0}, {1}"},
- {"appletsecurityexception.checkwrite", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: file.write: {0} == {1}"},
- {"appletsecurityexception.checkread.fd", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: fd.read"},
- {"appletsecurityexception.checkwrite.fd", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: fd.write"},
- {"appletsecurityexception.checklisten", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: socket.listen: {0}"},
- {"appletsecurityexception.checkaccept", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: socket.accept: {0}:{1}"},
- {"appletsecurityexception.checkconnect.networknone", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: socket.connect: {0}->{1}"},
- {"appletsecurityexception.checkconnect.networkhost1", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: {1}\u306E\u8D77\u70B9\u3092\u4F7F\u7528\u3057\u3066{0}\u306B\u63A5\u7D9A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002"},
- {"appletsecurityexception.checkconnect.networkhost2", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: \u30DB\u30B9\u30C8{0}\u307E\u305F\u306F{1}\u306EIP\u3092\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002 "},
- {"appletsecurityexception.checkconnect.networkhost3", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: \u30DB\u30B9\u30C8{0}\u306EIP\u3092\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002trustProxy\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},
- {"appletsecurityexception.checkconnect", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: \u63A5\u7D9A: {0}->{1}"},
- {"appletsecurityexception.checkpackageaccess", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: \u30D1\u30C3\u30B1\u30FC\u30B8\u306B\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u307E\u305B\u3093: {0}"},
- {"appletsecurityexception.checkpackagedefinition", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: \u30D1\u30C3\u30B1\u30FC\u30B8\u3092\u5B9A\u7FA9\u3067\u304D\u307E\u305B\u3093: {0}"},
- {"appletsecurityexception.cannotsetfactory", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: \u30D5\u30A1\u30AF\u30C8\u30EA\u3092\u8A2D\u5B9A\u3067\u304D\u307E\u305B\u3093"},
- {"appletsecurityexception.checkmemberaccess", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: \u30E1\u30F3\u30D0\u30FC\u30FB\u30A2\u30AF\u30BB\u30B9\u306E\u78BA\u8A8D"},
- {"appletsecurityexception.checkgetprintjob", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: getPrintJob"},
- {"appletsecurityexception.checksystemclipboardaccess", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: getSystemClipboard"},
- {"appletsecurityexception.checkawteventqueueaccess", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: getEventQueue"},
- {"appletsecurityexception.checksecurityaccess", "\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u306E\u4F8B\u5916: \u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u64CD\u4F5C: {0}"},
- {"appletsecurityexception.getsecuritycontext.unknown", "\u4E0D\u660E\u306A\u30AF\u30E9\u30B9\u30ED\u30FC\u30C0\u30FC\u30FB\u30BF\u30A4\u30D7\u3067\u3059\u3002getContext\u3092\u78BA\u8A8D\u3067\u304D\u307E\u305B\u3093"},
- {"appletsecurityexception.checkread.unknown", "\u4E0D\u660E\u306A\u30AF\u30E9\u30B9\u30ED\u30FC\u30C0\u30FC\u30FB\u30BF\u30A4\u30D7\u3067\u3059\u3002{0}\u306E\u8AAD\u53D6\u308A\u30C1\u30A7\u30C3\u30AF\u3092\u78BA\u8A8D\u3067\u304D\u307E\u305B\u3093"},
- {"appletsecurityexception.checkconnect.unknown", "\u4E0D\u660E\u306A\u30AF\u30E9\u30B9\u30ED\u30FC\u30C0\u30FC\u30FB\u30BF\u30A4\u30D7\u3067\u3059\u3002\u63A5\u7D9A\u30C1\u30A7\u30C3\u30AF\u3092\u78BA\u8A8D\u3067\u304D\u307E\u305B\u3093"},
- };
-
- return temp;
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/resources/MsgAppletViewer_ko.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,203 +0,0 @@
-/*
- * Copyright (c) 1996, 2017, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package sun.applet.resources;
-
-import java.util.ListResourceBundle;
-
-public class MsgAppletViewer_ko extends ListResourceBundle {
-
- public Object[][] getContents() {
- Object[][] temp = new Object[][] {
- {"textframe.button.dismiss", "\uD574\uC81C"},
- {"appletviewer.tool.title", "\uC560\uD50C\uB9BF \uBDF0\uC5B4: {0}"},
- {"appletviewer.menu.applet", "\uC560\uD50C\uB9BF"},
- {"appletviewer.menuitem.restart", "\uC7AC\uC2DC\uC791"},
- {"appletviewer.menuitem.reload", "\uC7AC\uB85C\uB4DC"},
- {"appletviewer.menuitem.stop", "\uC815\uC9C0"},
- {"appletviewer.menuitem.save", "\uC800\uC7A5..."},
- {"appletviewer.menuitem.start", "\uC2DC\uC791"},
- {"appletviewer.menuitem.clone", "\uBCF5\uC81C..."},
- {"appletviewer.menuitem.tag", "\uD0DC\uADF8 \uC9C0\uC815..."},
- {"appletviewer.menuitem.info", "\uC815\uBCF4..."},
- {"appletviewer.menuitem.edit", "\uD3B8\uC9D1"},
- {"appletviewer.menuitem.encoding", "\uBB38\uC790 \uC778\uCF54\uB529"},
- {"appletviewer.menuitem.print", "\uC778\uC1C4..."},
- {"appletviewer.menuitem.props", "\uC18D\uC131..."},
- {"appletviewer.menuitem.close", "\uB2EB\uAE30"},
- {"appletviewer.menuitem.quit", "\uC885\uB8CC"},
- {"appletviewer.label.hello", "\uC2DC\uC791..."},
- {"appletviewer.status.start", "\uC560\uD50C\uB9BF\uC744 \uC2DC\uC791\uD558\uB294 \uC911..."},
- {"appletviewer.appletsave.filedialogtitle","\uD30C\uC77C\uB85C \uC560\uD50C\uB9BF \uC9C1\uB82C\uD654"},
- {"appletviewer.appletsave.err1", "{0}\uC744(\uB97C) {1}(\uC73C)\uB85C \uC9C1\uB82C\uD654\uD558\uB294 \uC911"},
- {"appletviewer.appletsave.err2", "appletSave\uC5D0 \uC624\uB958 \uBC1C\uC0DD: {0}"},
- {"appletviewer.applettag", "\uD0DC\uADF8\uAC00 \uD45C\uC2DC\uB428"},
- {"appletviewer.applettag.textframe", "\uC560\uD50C\uB9BF HTML \uD0DC\uADF8"},
- {"appletviewer.appletinfo.applet", "-- \uC560\uD50C\uB9BF \uC815\uBCF4 \uC5C6\uC74C --"},
- {"appletviewer.appletinfo.param", "-- \uB9E4\uAC1C\uBCC0\uC218 \uC815\uBCF4 \uC5C6\uC74C --"},
- {"appletviewer.appletinfo.textframe", "\uC560\uD50C\uB9BF \uC815\uBCF4"},
- {"appletviewer.appletprint.fail", "\uC778\uC1C4\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4."},
- {"appletviewer.appletprint.finish", "\uC778\uC1C4\uB97C \uC644\uB8CC\uD588\uC2B5\uB2C8\uB2E4."},
- {"appletviewer.appletprint.cancel", "\uC778\uC1C4\uAC00 \uCDE8\uC18C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},
- {"appletviewer.appletencoding", "\uBB38\uC790 \uC778\uCF54\uB529: {0}"},
- {"appletviewer.parse.warning.requiresname", "\uACBD\uACE0: <param name=... value=...> \uD0DC\uADF8\uC5D0\uB294 name \uC18D\uC131\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},
- {"appletviewer.parse.warning.paramoutside", "\uACBD\uACE0: <param> \uD0DC\uADF8\uAC00 <applet> ... </applet> \uBC16\uC5D0 \uC788\uC2B5\uB2C8\uB2E4."},
- {"appletviewer.parse.warning.applet.requirescode", "\uACBD\uACE0: <applet> \uD0DC\uADF8\uC5D0\uB294 code \uC18D\uC131\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},
- {"appletviewer.parse.warning.applet.requiresheight", "\uACBD\uACE0: <applet> \uD0DC\uADF8\uC5D0\uB294 height \uC18D\uC131\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},
- {"appletviewer.parse.warning.applet.requireswidth", "\uACBD\uACE0: <applet> \uD0DC\uADF8\uC5D0\uB294 width \uC18D\uC131\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},
- {"appletviewer.parse.warning.object.requirescode", "\uACBD\uACE0: <object> \uD0DC\uADF8\uC5D0\uB294 code \uC18D\uC131\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},
- {"appletviewer.parse.warning.object.requiresheight", "\uACBD\uACE0: <object> \uD0DC\uADF8\uC5D0\uB294 height \uC18D\uC131\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},
- {"appletviewer.parse.warning.object.requireswidth", "\uACBD\uACE0: <object> \uD0DC\uADF8\uC5D0\uB294 width \uC18D\uC131\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},
- {"appletviewer.parse.warning.embed.requirescode", "\uACBD\uACE0: <embed> \uD0DC\uADF8\uC5D0\uB294 code \uC18D\uC131\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},
- {"appletviewer.parse.warning.embed.requiresheight", "\uACBD\uACE0: <embed> \uD0DC\uADF8\uC5D0\uB294 height \uC18D\uC131\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},
- {"appletviewer.parse.warning.embed.requireswidth", "\uACBD\uACE0: <embed> \uD0DC\uADF8\uC5D0\uB294 width \uC18D\uC131\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."},
- {"appletviewer.parse.warning.appnotLongersupported", "\uACBD\uACE0: <app> \uD0DC\uADF8\uB294 \uB354 \uC774\uC0C1 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB300\uC2E0 <applet>\uC744 \uC0AC\uC6A9\uD558\uC2ED\uC2DC\uC624."},
- {"appletviewer.deprecated", "\uACBD\uACE0: \uC560\uD50C\uB9BF API \uBC0F AppletViewer\uAC00 \uC0AC\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."},
- {"appletviewer.usage", "\uC0AC\uC6A9\uBC95: appletviewer <options> url(s)\n\n\uC5EC\uAE30\uC11C <options>\uB294 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4.\n -encoding <encoding> HTML \uD30C\uC77C\uC5D0 \uC0AC\uC6A9\uB420 \uBB38\uC790 \uC778\uCF54\uB529\uC744 \uC9C0\uC815\uD569\uB2C8\uB2E4.\n -J<runtime flag> Java \uC778\uD130\uD504\uB9AC\uD130\uB85C \uC778\uC218\uB97C \uC804\uB2EC\uD569\uB2C8\uB2E4.\n\n-J \uC635\uC158\uC740 \uD45C\uC900\uC774 \uC544\uB2C8\uBA70 \uC608\uACE0 \uC5C6\uC774 \uBCC0\uACBD\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4."},
- {"appletviewer.main.err.unsupportedopt", "\uC9C0\uC6D0\uB418\uC9C0 \uC54A\uB294 \uC635\uC158: {0}"},
- {"appletviewer.main.err.unrecognizedarg", "\uC54C \uC218 \uC5C6\uB294 \uC778\uC218: {0}"},
- {"appletviewer.main.err.dupoption", "\uC911\uBCF5\uB41C \uC635\uC158 \uC0AC\uC6A9: {0}"},
- {"appletviewer.main.err.inputfile", "\uC9C0\uC815\uB41C \uC785\uB825 \uD30C\uC77C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."},
- {"appletviewer.main.err.badurl", "\uC798\uBABB\uB41C URL: {0}({1})"},
- {"appletviewer.main.err.io", "\uC77D\uB294 \uC911 I/O \uC608\uC678\uC0AC\uD56D \uBC1C\uC0DD: {0}"},
- {"appletviewer.main.err.readablefile", "{0}\uC774(\uAC00) \uD30C\uC77C\uC774\uBA70 \uC77D\uAE30 \uAC00\uB2A5\uD55C \uC0C1\uD0DC\uC778\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624."},
- {"appletviewer.main.err.correcturl", "{0}\uC774(\uAC00) \uC62C\uBC14\uB978 URL\uC785\uB2C8\uAE4C?"},
- {"appletviewer.main.prop.store", "\uC0AC\uC6A9\uC790 \uAD00\uB828 AppletViewer \uC18D\uC131"},
- {"appletviewer.main.err.prop.cantread", "\uC0AC\uC6A9\uC790 \uC18D\uC131 \uD30C\uC77C\uC744 \uC77D\uC744 \uC218 \uC5C6\uC74C: {0}"},
- {"appletviewer.main.err.prop.cantsave", "\uC0AC\uC6A9\uC790 \uC18D\uC131 \uD30C\uC77C\uC744 \uC800\uC7A5\uD560 \uC218 \uC5C6\uC74C: {0}"},
- {"appletviewer.main.warn.nosecmgr", "\uACBD\uACE0: \uBCF4\uC548\uC744 \uC0AC\uC6A9 \uC548\uD568\uC73C\uB85C \uC124\uC815\uD558\uB294 \uC911\uC785\uB2C8\uB2E4."},
- {"appletviewer.main.debug.cantfinddebug", "\uB514\uBC84\uAC70\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4!"},
- {"appletviewer.main.debug.cantfindmain", "\uB514\uBC84\uAC70\uC5D0\uC11C \uAE30\uBCF8 \uBA54\uC18C\uB4DC\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4!"},
- {"appletviewer.main.debug.exceptionindebug", "\uB514\uBC84\uAC70\uC5D0 \uC608\uC678\uC0AC\uD56D\uC774 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4!"},
- {"appletviewer.main.debug.cantaccess", "\uB514\uBC84\uAC70\uC5D0 \uC561\uC138\uC2A4\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4!"},
- {"appletviewer.main.nosecmgr", "\uACBD\uACE0: SecurityManager\uAC00 \uC124\uCE58\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4!"},
- {"appletviewer.main.warning", "\uACBD\uACE0: \uC2DC\uC791\uB41C \uC560\uD50C\uB9BF\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. <applet> \uD0DC\uADF8\uAC00 \uC785\uB825\uB418\uC5C8\uB294\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624."},
- {"appletviewer.main.warn.prop.overwrite", "\uACBD\uACE0: \uC0AC\uC6A9\uC790\uC758 \uC694\uCCAD\uC5D0 \uB530\uB77C \uC77C\uC2DC\uC801\uC73C\uB85C \uC2DC\uC2A4\uD15C \uC18D\uC131\uC744 \uACB9\uCCD0 \uC4F0\uB294 \uC911: \uD0A4: {0}, \uC774\uC804 \uAC12: {1}, \uC0C8 \uAC12: {2}"},
- {"appletviewer.main.warn.cantreadprops", "\uACBD\uACE0: AppletViewer \uC18D\uC131 \uD30C\uC77C\uC744 \uC77D\uC744 \uC218 \uC5C6\uC74C: {0}. \uAE30\uBCF8\uAC12\uC744 \uC0AC\uC6A9\uD558\uB294 \uC911\uC785\uB2C8\uB2E4."},
- {"appletioexception.loadclass.throw.interrupted", "\uD074\uB798\uC2A4 \uB85C\uB4DC\uAC00 \uC911\uB2E8\uB428: {0}"},
- {"appletioexception.loadclass.throw.notloaded", "\uD074\uB798\uC2A4\uAC00 \uB85C\uB4DC\uB418\uC9C0 \uC54A\uC74C: {0}"},
- {"appletclassloader.loadcode.verbose", "{1}\uC744(\uB97C) \uAC00\uC838\uC624\uAE30 \uC704\uD574 {0}\uC5D0 \uB300\uD55C \uC2A4\uD2B8\uB9BC\uC744 \uC5EC\uB294 \uC911"},
- {"appletclassloader.filenotfound", "{0}\uC744(\uB97C) \uAC80\uC0C9\uD558\uB294 \uC911 \uD30C\uC77C\uC744 \uCC3E\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."},
- {"appletclassloader.fileformat", "\uB85C\uB4DC \uC911 \uD30C\uC77C \uD615\uC2DD \uC608\uC678\uC0AC\uD56D \uBC1C\uC0DD: {0}"},
- {"appletclassloader.fileioexception", "\uB85C\uB4DC \uC911 I/O \uC608\uC678\uC0AC\uD56D \uBC1C\uC0DD: {0}"},
- {"appletclassloader.fileexception", "\uB85C\uB4DC \uC911 {0} \uC608\uC678\uC0AC\uD56D \uBC1C\uC0DD: {1}"},
- {"appletclassloader.filedeath", "\uB85C\uB4DC \uC911 {0}\uC774(\uAC00) \uC885\uB8CC\uB428: {1}"},
- {"appletclassloader.fileerror", "\uB85C\uB4DC \uC911 {0} \uC624\uB958 \uBC1C\uC0DD: {1}"},
- {"appletclassloader.findclass.verbose.openstream", "{1}\uC744(\uB97C) \uAC00\uC838\uC624\uAE30 \uC704\uD574 {0}\uC5D0 \uB300\uD55C \uC2A4\uD2B8\uB9BC\uC744 \uC5EC\uB294 \uC911"},
- {"appletclassloader.getresource.verbose.forname", "\uC774\uB984\uC5D0 \uB300\uD55C AppletClassLoader.getResource: {0}"},
- {"appletclassloader.getresource.verbose.found", "\uC2DC\uC2A4\uD15C \uB9AC\uC18C\uC2A4\uB85C {0} \uB9AC\uC18C\uC2A4\uB97C \uCC3E\uC558\uC2B5\uB2C8\uB2E4."},
- {"appletclassloader.getresourceasstream.verbose", "\uC2DC\uC2A4\uD15C \uB9AC\uC18C\uC2A4\uB85C {0} \uB9AC\uC18C\uC2A4\uB97C \uCC3E\uC558\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.runloader.err", "\uAC1D\uCCB4 \uB610\uB294 \uCF54\uB4DC \uB9E4\uAC1C\uBCC0\uC218\uC785\uB2C8\uB2E4!"},
- {"appletpanel.runloader.exception", "{0}\uC758 \uC9C1\uB82C\uD654\uB97C \uD574\uC81C\uD558\uB294 \uC911 \uC608\uC678\uC0AC\uD56D\uC774 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.destroyed", "\uC560\uD50C\uB9BF\uC774 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.loaded", "\uC560\uD50C\uB9BF\uC774 \uB85C\uB4DC\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.started", "\uC560\uD50C\uB9BF\uC774 \uC2DC\uC791\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.inited", "\uC560\uD50C\uB9BF\uC774 \uCD08\uAE30\uD654\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.stopped", "\uC560\uD50C\uB9BF\uC774 \uC815\uC9C0\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.disposed", "\uC560\uD50C\uB9BF\uC774 \uBC30\uCE58\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.nocode", "APPLET \uD0DC\uADF8\uC5D0 CODE \uB9E4\uAC1C\uBCC0\uC218\uAC00 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.notfound", "\uB85C\uB4DC: {0} \uD074\uB798\uC2A4\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.nocreate", "\uB85C\uB4DC: {0}\uC744(\uB97C) \uC778\uC2A4\uD134\uC2A4\uD654\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.noconstruct", "\uB85C\uB4DC: {0}\uC740(\uB294) \uACF5\uC6A9\uC774 \uC544\uB2C8\uAC70\uB098 \uACF5\uC6A9 \uC0DD\uC131\uC790\uB97C \uD3EC\uD568\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.death", "\uC885\uB8CC\uB428"},
- {"appletpanel.exception", "\uC608\uC678\uC0AC\uD56D: {0}."},
- {"appletpanel.exception2", "\uC608\uC678\uC0AC\uD56D: {0}: {1}."},
- {"appletpanel.error", "\uC624\uB958: {0}."},
- {"appletpanel.error2", "\uC624\uB958: {0}: {1}."},
- {"appletpanel.notloaded", "\uCD08\uAE30\uD654: \uC560\uD50C\uB9BF\uC774 \uB85C\uB4DC\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.notinited", "\uC2DC\uC791: \uC560\uD50C\uB9BF\uC774 \uCD08\uAE30\uD654\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.notstarted", "\uC815\uC9C0: \uC560\uD50C\uB9BF\uC774 \uC2DC\uC791\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.notstopped", "\uC0AD\uC81C: \uC560\uD50C\uB9BF\uC774 \uC815\uC9C0\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.notdestroyed", "\uBC30\uCE58: \uC560\uD50C\uB9BF\uC774 \uC0AD\uC81C\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.notdisposed", "\uB85C\uB4DC: \uC560\uD50C\uB9BF\uC774 \uBC30\uCE58\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.bail", "\uC911\uB2E8\uB428: \uC911\uB2E8\uD558\uB294 \uC911\uC785\uB2C8\uB2E4."},
- {"appletpanel.filenotfound", "{0}\uC744(\uB97C) \uAC80\uC0C9\uD558\uB294 \uC911 \uD30C\uC77C\uC744 \uCC3E\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4."},
- {"appletpanel.fileformat", "\uB85C\uB4DC \uC911 \uD30C\uC77C \uD615\uC2DD \uC608\uC678\uC0AC\uD56D \uBC1C\uC0DD: {0}"},
- {"appletpanel.fileioexception", "\uB85C\uB4DC \uC911 I/O \uC608\uC678\uC0AC\uD56D \uBC1C\uC0DD: {0}"},
- {"appletpanel.fileexception", "\uB85C\uB4DC \uC911 {0} \uC608\uC678\uC0AC\uD56D \uBC1C\uC0DD: {1}"},
- {"appletpanel.filedeath", "\uB85C\uB4DC \uC911 {0}\uC774(\uAC00) \uC885\uB8CC\uB428: {1}"},
- {"appletpanel.fileerror", "\uB85C\uB4DC \uC911 {0} \uC624\uB958 \uBC1C\uC0DD: {1}"},
- {"appletpanel.badattribute.exception", "HTML \uAD6C\uBB38\uBD84\uC11D \uC911: width/height \uC18D\uC131\uC5D0 \uB300\uD55C \uAC12\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."},
- {"appletillegalargumentexception.objectinputstream", "AppletObjectInputStream\uC5D0 \uB110\uC774 \uC544\uB2CC \uB85C\uB354\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4."},
- {"appletprops.title", "AppletViewer \uC18D\uC131"},
- {"appletprops.label.http.server", "HTTP \uD504\uB85D\uC2DC \uC11C\uBC84:"},
- {"appletprops.label.http.proxy", "HTTP \uD504\uB85D\uC2DC \uD3EC\uD2B8:"},
- {"appletprops.label.network", "\uB124\uD2B8\uC6CC\uD06C \uC561\uC138\uC2A4:"},
- {"appletprops.choice.network.item.none", "\uC5C6\uC74C"},
- {"appletprops.choice.network.item.applethost", "\uC560\uD50C\uB9BF \uD638\uC2A4\uD2B8"},
- {"appletprops.choice.network.item.unrestricted", "\uC81C\uD55C\uB418\uC9C0 \uC54A\uC74C"},
- {"appletprops.label.class", "\uD074\uB798\uC2A4 \uC561\uC138\uC2A4:"},
- {"appletprops.choice.class.item.restricted", "\uC81C\uD55C\uB428"},
- {"appletprops.choice.class.item.unrestricted", "\uC81C\uD55C\uB418\uC9C0 \uC54A\uC74C"},
- {"appletprops.label.unsignedapplet", "\uC11C\uBA85\uB418\uC9C0 \uC54A\uC740 \uC560\uD50C\uB9BF \uD5C8\uC6A9:"},
- {"appletprops.choice.unsignedapplet.no", "\uC544\uB2C8\uC624"},
- {"appletprops.choice.unsignedapplet.yes", "\uC608"},
- {"appletprops.button.apply", "\uC801\uC6A9"},
- {"appletprops.button.cancel", "\uCDE8\uC18C"},
- {"appletprops.button.reset", "\uC7AC\uC124\uC815"},
- {"appletprops.apply.exception", "\uC18D\uC131 \uC800\uC7A5 \uC2E4\uD328: {0}"},
- /* 4066432 */
- {"appletprops.title.invalidproxy", "\uBD80\uC801\uD569\uD55C \uD56D\uBAA9"},
- {"appletprops.label.invalidproxy", "\uD504\uB85D\uC2DC \uD3EC\uD2B8\uB294 \uC591\uC758 \uC815\uC218 \uAC12\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4."},
- {"appletprops.button.ok", "\uD655\uC778"},
- /* end 4066432 */
- {"appletprops.prop.store", "\uC0AC\uC6A9\uC790 \uAD00\uB828 AppletViewer \uC18D\uC131"},
- {"appletsecurityexception.checkcreateclassloader", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: \uD074\uB798\uC2A4 \uB85C\uB354"},
- {"appletsecurityexception.checkaccess.thread", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: \uC2A4\uB808\uB4DC"},
- {"appletsecurityexception.checkaccess.threadgroup", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: \uC2A4\uB808\uB4DC \uADF8\uB8F9: {0}"},
- {"appletsecurityexception.checkexit", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: \uC885\uB8CC: {0}"},
- {"appletsecurityexception.checkexec", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: \uC2E4\uD589: {0}"},
- {"appletsecurityexception.checklink", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: \uB9C1\uD06C: {0}"},
- {"appletsecurityexception.checkpropsaccess", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: \uC18D\uC131"},
- {"appletsecurityexception.checkpropsaccess.key", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: \uC18D\uC131 \uC561\uC138\uC2A4 {0}"},
- {"appletsecurityexception.checkread.exception1", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: {0}, {1}"},
- {"appletsecurityexception.checkread.exception2", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: file.read: {0}"},
- {"appletsecurityexception.checkread", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: file.read: {0} == {1}"},
- {"appletsecurityexception.checkwrite.exception", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: {0}, {1}"},
- {"appletsecurityexception.checkwrite", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: file.write: {0} == {1}"},
- {"appletsecurityexception.checkread.fd", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: fd.read"},
- {"appletsecurityexception.checkwrite.fd", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: fd.write"},
- {"appletsecurityexception.checklisten", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: socket.listen: {0}"},
- {"appletsecurityexception.checkaccept", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: socket.accept: {0}:{1}"},
- {"appletsecurityexception.checkconnect.networknone", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: socket.connect: {0}->{1}"},
- {"appletsecurityexception.checkconnect.networkhost1", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: {1}\uC5D0\uC11C {0}\uC5D0 \uC811\uC18D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."},
- {"appletsecurityexception.checkconnect.networkhost2", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: {0} \uD638\uC2A4\uD2B8 \uB610\uB294 {1}\uC5D0 \uB300\uD55C IP\uB97C \uBD84\uC11D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. "},
- {"appletsecurityexception.checkconnect.networkhost3", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: {0} \uD638\uC2A4\uD2B8\uC5D0 \uB300\uD55C IP\uB97C \uBD84\uC11D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. trustProxy \uC18D\uC131\uC744 \uCC38\uC870\uD558\uC2ED\uC2DC\uC624."},
- {"appletsecurityexception.checkconnect", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: \uC811\uC18D: {0}->{1}"},
- {"appletsecurityexception.checkpackageaccess", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: \uD328\uD0A4\uC9C0\uC5D0 \uC561\uC138\uC2A4\uD560 \uC218 \uC5C6\uC74C: {0}"},
- {"appletsecurityexception.checkpackagedefinition", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: \uD328\uD0A4\uC9C0\uB97C \uC815\uC758\uD560 \uC218 \uC5C6\uC74C: {0}"},
- {"appletsecurityexception.cannotsetfactory", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: \uD329\uD1A0\uB9AC\uB97C \uC124\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."},
- {"appletsecurityexception.checkmemberaccess", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: \uBA64\uBC84 \uC561\uC138\uC2A4\uB97C \uD655\uC778\uD558\uC2ED\uC2DC\uC624."},
- {"appletsecurityexception.checkgetprintjob", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: getPrintJob"},
- {"appletsecurityexception.checksystemclipboardaccess", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: getSystemClipboard"},
- {"appletsecurityexception.checkawteventqueueaccess", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: getEventQueue"},
- {"appletsecurityexception.checksecurityaccess", "\uBCF4\uC548 \uC608\uC678\uC0AC\uD56D: \uBCF4\uC548 \uC791\uC5C5: {0}"},
- {"appletsecurityexception.getsecuritycontext.unknown", "\uC54C \uC218 \uC5C6\uB294 \uD074\uB798\uC2A4 \uB85C\uB354 \uC720\uD615\uC785\uB2C8\uB2E4. getContext\uB97C \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."},
- {"appletsecurityexception.checkread.unknown", "\uC54C \uC218 \uC5C6\uB294 \uD074\uB798\uC2A4 \uB85C\uB354 \uC720\uD615\uC785\uB2C8\uB2E4. {0} \uC77D\uAE30\uB97C \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."},
- {"appletsecurityexception.checkconnect.unknown", "\uC54C \uC218 \uC5C6\uB294 \uD074\uB798\uC2A4 \uB85C\uB354 \uC720\uD615\uC785\uB2C8\uB2E4. \uC811\uC18D\uC744 \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."},
- };
-
- return temp;
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/resources/MsgAppletViewer_pt_BR.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,203 +0,0 @@
-/*
- * Copyright (c) 1996, 2016, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package sun.applet.resources;
-
-import java.util.ListResourceBundle;
-
-public class MsgAppletViewer_pt_BR extends ListResourceBundle {
-
- public Object[][] getContents() {
- Object[][] temp = new Object[][] {
- {"textframe.button.dismiss", "Rejeitar"},
- {"appletviewer.tool.title", "Visualizador do Applet: {0}"},
- {"appletviewer.menu.applet", "Applet"},
- {"appletviewer.menuitem.restart", "Reiniciar"},
- {"appletviewer.menuitem.reload", "Recarregar"},
- {"appletviewer.menuitem.stop", "Interromper"},
- {"appletviewer.menuitem.save", "Salvar"},
- {"appletviewer.menuitem.start", "Iniciar"},
- {"appletviewer.menuitem.clone", "Clonar..."},
- {"appletviewer.menuitem.tag", "Tag..."},
- {"appletviewer.menuitem.info", "Informa\u00E7\u00F5es..."},
- {"appletviewer.menuitem.edit", "Editar"},
- {"appletviewer.menuitem.encoding", "Codifica\u00E7\u00E3o do Caractere"},
- {"appletviewer.menuitem.print", "Imprimir..."},
- {"appletviewer.menuitem.props", "Propriedades..."},
- {"appletviewer.menuitem.close", "Fechar"},
- {"appletviewer.menuitem.quit", "Sair"},
- {"appletviewer.label.hello", "Ol\u00E1..."},
- {"appletviewer.status.start", "iniciando o applet..."},
- {"appletviewer.appletsave.filedialogtitle","Serializar Applet no Arquivo"},
- {"appletviewer.appletsave.err1", "serializando um {0} para {1}"},
- {"appletviewer.appletsave.err2", "no appletSave: {0}"},
- {"appletviewer.applettag", "Tag mostrada"},
- {"appletviewer.applettag.textframe", "Tag HTML do Applet"},
- {"appletviewer.appletinfo.applet", "-- nenhuma informa\u00E7\u00E3o do applet --"},
- {"appletviewer.appletinfo.param", "-- sem informa\u00E7\u00E3o de par\u00E2metro --"},
- {"appletviewer.appletinfo.textframe", "Informa\u00E7\u00F5es do Applet"},
- {"appletviewer.appletprint.fail", "Falha na impress\u00E3o."},
- {"appletviewer.appletprint.finish", "Impress\u00E3o finalizada."},
- {"appletviewer.appletprint.cancel", "Impress\u00E3o cancelada."},
- {"appletviewer.appletencoding", "Codifica\u00E7\u00E3o de Caractere: {0}"},
- {"appletviewer.parse.warning.requiresname", "Advert\u00EAncia: a tag <param name=... value=...> requer um atributo de nome."},
- {"appletviewer.parse.warning.paramoutside", "Advert\u00EAncia: a tag <param> externa <applet> ... </applet>."},
- {"appletviewer.parse.warning.applet.requirescode", "Advert\u00EAncia: a tag <applet> requer um atributo de c\u00F3digo."},
- {"appletviewer.parse.warning.applet.requiresheight", "Advert\u00EAncia: a tag <applet> requer um atributo de altura."},
- {"appletviewer.parse.warning.applet.requireswidth", "Advert\u00EAncia: a tag <applet> requer um atributo de largura."},
- {"appletviewer.parse.warning.object.requirescode", "Advert\u00EAncia: a tag <object> requer um atributo de c\u00F3digo."},
- {"appletviewer.parse.warning.object.requiresheight", "Advert\u00EAncia: a tag <object> requer um atributo de altura."},
- {"appletviewer.parse.warning.object.requireswidth", "Advert\u00EAncia: a tag <object> requer um atributo de largura."},
- {"appletviewer.parse.warning.embed.requirescode", "Advert\u00EAncia: a tag <embed> requer um atributo de c\u00F3digo."},
- {"appletviewer.parse.warning.embed.requiresheight", "Advert\u00EAncia: a tag <embed> requer um atributo de altura."},
- {"appletviewer.parse.warning.embed.requireswidth", "Advert\u00EAncia: a tag <embed> requer um atributo de largura."},
- {"appletviewer.parse.warning.appnotLongersupported", "Advert\u00EAncia: a tag <app> n\u00E3o \u00E9 mais suportada; use <applet>:"},
- {"appletviewer.deprecated", "Advert\u00EAncia: A API do e o AppletViewer est\u00E3o obsoletos."},
- {"appletviewer.usage", "Uso: appletviewer <op\u00E7\u00F5es> url(s)\n\nem que as <op\u00E7\u00F5es> incluem:\n -encoding <codifica\u00E7\u00E3o> Especifica a codifica\u00E7\u00E3o de caractere usada pelos arquivos HTML\n -J<flag de runtime> Informa o argumento ao intepretador java\n\nA op\u00E7\u00E3o -J n\u00E3o \u00E9 padr\u00E3o e est\u00E1 sujeita \u00E0 altera\u00E7\u00E3o sem notifica\u00E7\u00E3o."},
- {"appletviewer.main.err.unsupportedopt", "Op\u00E7\u00E3o n\u00E3o suportada: {0}"},
- {"appletviewer.main.err.unrecognizedarg", "Argumento n\u00E3o reconhecido: {0}"},
- {"appletviewer.main.err.dupoption", "Uso duplicado da op\u00E7\u00E3o: {0}"},
- {"appletviewer.main.err.inputfile", "Nenhum arquivo de entrada especificado."},
- {"appletviewer.main.err.badurl", "URL Inv\u00E1lido: {0} ( {1} )"},
- {"appletviewer.main.err.io", "Exce\u00E7\u00E3o de E/S ao ler: {0}"},
- {"appletviewer.main.err.readablefile", "Certifique-se de que {0} seja um arquivo e seja leg\u00EDvel."},
- {"appletviewer.main.err.correcturl", "O URL {0} est\u00E1 correto?"},
- {"appletviewer.main.prop.store", "Propriedades espec\u00EDficas do usu\u00E1rio do AppletViewer"},
- {"appletviewer.main.err.prop.cantread", "N\u00E3o \u00E9 poss\u00EDvel ler o arquivo de propriedades do usu\u00E1rio: {0}"},
- {"appletviewer.main.err.prop.cantsave", "N\u00E3o \u00E9 poss\u00EDvel salvar o arquivo de propriedades do usu\u00E1rio: {0}"},
- {"appletviewer.main.warn.nosecmgr", "Advert\u00EAncia: desativando a seguran\u00E7a."},
- {"appletviewer.main.debug.cantfinddebug", "N\u00E3o \u00E9 poss\u00EDvel localizar o depurador!"},
- {"appletviewer.main.debug.cantfindmain", "N\u00E3o \u00E9 poss\u00EDvel localizar o m\u00E9todo main no depurador!"},
- {"appletviewer.main.debug.exceptionindebug", "Exce\u00E7\u00E3o no depurador!"},
- {"appletviewer.main.debug.cantaccess", "N\u00E3o \u00E9 poss\u00EDvel acessar o depurador!"},
- {"appletviewer.main.nosecmgr", "Advert\u00EAncia: SecurityManager n\u00E3o instalado!"},
- {"appletviewer.main.warning", "Advert\u00EAncia: Nenhum applet iniciado. Certifique-se de que a entrada contenha uma tag <applet>."},
- {"appletviewer.main.warn.prop.overwrite", "Advert\u00EAncia: Substituindo a propriedade do sistema temporariamente a pedido do usu\u00E1rio: chave: {0} valor antigo: {1} valor novo: {2}"},
- {"appletviewer.main.warn.cantreadprops", "Advert\u00EAncia: N\u00E3o \u00E9 poss\u00EDvel ler o arquivo de propriedades AppletViewer: {0} Usando padr\u00F5es."},
- {"appletioexception.loadclass.throw.interrupted", "carregamento de classe interrompido: {0}"},
- {"appletioexception.loadclass.throw.notloaded", "classe n\u00E3o carregada: {0}"},
- {"appletclassloader.loadcode.verbose", "Fluxo de abertura para: {0} para obter {1}"},
- {"appletclassloader.filenotfound", "Arquivo n\u00E3o encontrado ao procurar: {0}"},
- {"appletclassloader.fileformat", "Exce\u00E7\u00E3o de formato do arquivo ao carregar: {0}"},
- {"appletclassloader.fileioexception", "Exce\u00E7\u00E3o de E/S ao carregar: {0}"},
- {"appletclassloader.fileexception", "exce\u00E7\u00E3o de {0} ao carregar: {1}"},
- {"appletclassloader.filedeath", "{0} eliminado ao carregar: {1}"},
- {"appletclassloader.fileerror", "erro de {0} ao carregar: {1}"},
- {"appletclassloader.findclass.verbose.openstream", "Fluxo de abertura para: {0} para obter {1}"},
- {"appletclassloader.getresource.verbose.forname", "AppletClassLoader.getResource do nome: {0}"},
- {"appletclassloader.getresource.verbose.found", "Recurso encontrado: {0} como um recurso do sistema"},
- {"appletclassloader.getresourceasstream.verbose", "Recurso encontrado: {0} como um recurso do sistema"},
- {"appletpanel.runloader.err", "Par\u00E2metro de c\u00F3digo ou objeto!"},
- {"appletpanel.runloader.exception", "exce\u00E7\u00E3o ao desserializar {0}"},
- {"appletpanel.destroyed", "Applet destru\u00EDdo."},
- {"appletpanel.loaded", "Applet carregado."},
- {"appletpanel.started", "Applet iniciado."},
- {"appletpanel.inited", "Applet inicializado."},
- {"appletpanel.stopped", "Applet interrompido."},
- {"appletpanel.disposed", "Applet descartado."},
- {"appletpanel.nocode", "A tag APPLET n\u00E3o encontrou o par\u00E2metro CODE."},
- {"appletpanel.notfound", "carga: classe {0} n\u00E3o encontrada."},
- {"appletpanel.nocreate", "carga: {0} n\u00E3o pode ser instanciada."},
- {"appletpanel.noconstruct", "carga: {0} n\u00E3o \u00E9 p\u00FAblica ou n\u00E3o tem construtor p\u00FAblico."},
- {"appletpanel.death", "eliminado"},
- {"appletpanel.exception", "exce\u00E7\u00E3o: {0}."},
- {"appletpanel.exception2", "exce\u00E7\u00E3o: {0}: {1}."},
- {"appletpanel.error", "erro: {0}."},
- {"appletpanel.error2", "erro: {0}: {1}."},
- {"appletpanel.notloaded", "Inic: applet n\u00E3o carregado."},
- {"appletpanel.notinited", "Iniciar: applet n\u00E3o inicializado."},
- {"appletpanel.notstarted", "Interromper: applet n\u00E3o inicializado."},
- {"appletpanel.notstopped", "Destruir: applet n\u00E3o interrompido."},
- {"appletpanel.notdestroyed", "Descartar: applet n\u00E3o destru\u00EDdo."},
- {"appletpanel.notdisposed", "Carregar: applet n\u00E3o descartado."},
- {"appletpanel.bail", "Interrompido: esvaziando."},
- {"appletpanel.filenotfound", "Arquivo n\u00E3o encontrado ao procurar: {0}"},
- {"appletpanel.fileformat", "Exce\u00E7\u00E3o de formato do arquivo ao carregar: {0}"},
- {"appletpanel.fileioexception", "Exce\u00E7\u00E3o de E/S ao carregar: {0}"},
- {"appletpanel.fileexception", "exce\u00E7\u00E3o de {0} ao carregar: {1}"},
- {"appletpanel.filedeath", "{0} eliminado ao carregar: {1}"},
- {"appletpanel.fileerror", "erro de {0} ao carregar: {1}"},
- {"appletpanel.badattribute.exception", "Parsing de HTML: valor incorreto do atributo de largura/altura"},
- {"appletillegalargumentexception.objectinputstream", "AppletObjectInputStream requer um carregador n\u00E3o nulo"},
- {"appletprops.title", "Propriedades do AppletViewer"},
- {"appletprops.label.http.server", "Servidor proxy Http:"},
- {"appletprops.label.http.proxy", "Porta proxy Http:"},
- {"appletprops.label.network", "Acesso de rede:"},
- {"appletprops.choice.network.item.none", "Nenhum"},
- {"appletprops.choice.network.item.applethost", "Host do Applet"},
- {"appletprops.choice.network.item.unrestricted", "Irrestrito"},
- {"appletprops.label.class", "Acesso \u00E0 classe:"},
- {"appletprops.choice.class.item.restricted", "Restrito"},
- {"appletprops.choice.class.item.unrestricted", "Irrestrito"},
- {"appletprops.label.unsignedapplet", "Permitir applets n\u00E3o assinados:"},
- {"appletprops.choice.unsignedapplet.no", "N\u00E3o"},
- {"appletprops.choice.unsignedapplet.yes", "Sim"},
- {"appletprops.button.apply", "Aplicar"},
- {"appletprops.button.cancel", "Cancelar"},
- {"appletprops.button.reset", "Redefinir"},
- {"appletprops.apply.exception", "Falha ao salvar as propriedades: {0}"},
- /* 4066432 */
- {"appletprops.title.invalidproxy", "Entrada Inv\u00E1lida"},
- {"appletprops.label.invalidproxy", "A Porta Proxy deve ser um valor inteiro positivo."},
- {"appletprops.button.ok", "OK"},
- /* end 4066432 */
- {"appletprops.prop.store", "Propriedades espec\u00EDficas do usu\u00E1rio do AppletViewer"},
- {"appletsecurityexception.checkcreateclassloader", "Exce\u00E7\u00E3o de Seguran\u00E7a: carregador de classes"},
- {"appletsecurityexception.checkaccess.thread", "Exce\u00E7\u00E3o de Seguran\u00E7a: thread"},
- {"appletsecurityexception.checkaccess.threadgroup", "Exce\u00E7\u00E3o de Seguran\u00E7a: grupo de threads: {0}"},
- {"appletsecurityexception.checkexit", "Exce\u00E7\u00E3o de Seguran\u00E7a: sa\u00EDda: {0}"},
- {"appletsecurityexception.checkexec", "Exce\u00E7\u00E3o de Seguran\u00E7a: exec.: {0}"},
- {"appletsecurityexception.checklink", "Exce\u00E7\u00E3o de Seguran\u00E7a: link: {0}"},
- {"appletsecurityexception.checkpropsaccess", "Exce\u00E7\u00E3o de Seguran\u00E7a: propriedades"},
- {"appletsecurityexception.checkpropsaccess.key", "Exce\u00E7\u00E3o de Seguran\u00E7a: acesso \u00E0s propriedades {0}"},
- {"appletsecurityexception.checkread.exception1", "Exce\u00E7\u00E3o de Seguran\u00E7a: {0}, {1}"},
- {"appletsecurityexception.checkread.exception2", "Exce\u00E7\u00E3o de Seguran\u00E7a: file.read: {0}"},
- {"appletsecurityexception.checkread", "Exce\u00E7\u00E3o de Seguran\u00E7a: file.read: {0} == {1}"},
- {"appletsecurityexception.checkwrite.exception", "Exce\u00E7\u00E3o de Seguran\u00E7a: {0}, {1}"},
- {"appletsecurityexception.checkwrite", "Exce\u00E7\u00E3o de Seguran\u00E7a: file.write: {0} == {1}"},
- {"appletsecurityexception.checkread.fd", "Exce\u00E7\u00E3o de Seguran\u00E7a: fd.read"},
- {"appletsecurityexception.checkwrite.fd", "Exce\u00E7\u00E3o de Seguran\u00E7a: fd.write"},
- {"appletsecurityexception.checklisten", "Exce\u00E7\u00E3o de Seguran\u00E7a: socket.listen: {0}"},
- {"appletsecurityexception.checkaccept", "Exce\u00E7\u00E3o de Seguran\u00E7a: socket.accept: {0}:{1}"},
- {"appletsecurityexception.checkconnect.networknone", "Exce\u00E7\u00E3o de Seguran\u00E7a: socket.connect: {0}->{1}"},
- {"appletsecurityexception.checkconnect.networkhost1", "Exce\u00E7\u00E3o de Seguran\u00E7a: N\u00E3o foi poss\u00EDvel estabelecer conex\u00E3o com {0} com a origem de {1}."},
- {"appletsecurityexception.checkconnect.networkhost2", "Exce\u00E7\u00E3o de Seguran\u00E7a: N\u00E3o foi poss\u00EDvel resolver o IP para o host {0} ou para {1}. "},
- {"appletsecurityexception.checkconnect.networkhost3", "Exce\u00E7\u00E3o de Seguran\u00E7a: N\u00E3o foi poss\u00EDvel resolver o IP para o host {0}. Consulte a propriedade trustProxy."},
- {"appletsecurityexception.checkconnect", "Exce\u00E7\u00E3o de Seguran\u00E7a: conectar: {0}->{1}"},
- {"appletsecurityexception.checkpackageaccess", "Exce\u00E7\u00E3o de Seguran\u00E7a: n\u00E3o \u00E9 poss\u00EDvel acessar o pacote: {0}"},
- {"appletsecurityexception.checkpackagedefinition", "Exce\u00E7\u00E3o de Seguran\u00E7a: n\u00E3o \u00E9 poss\u00EDvel definir o pacote: {0}"},
- {"appletsecurityexception.cannotsetfactory", "Exce\u00E7\u00E3o de Seguran\u00E7a: n\u00E3o \u00E9 poss\u00EDvel definir o factory"},
- {"appletsecurityexception.checkmemberaccess", "Exce\u00E7\u00E3o de Seguran\u00E7a: verificar acesso do membro"},
- {"appletsecurityexception.checkgetprintjob", "Exce\u00E7\u00E3o de Seguran\u00E7a: getPrintJob"},
- {"appletsecurityexception.checksystemclipboardaccess", "Exce\u00E7\u00E3o de Seguran\u00E7a: getSystemClipboard"},
- {"appletsecurityexception.checkawteventqueueaccess", "Exce\u00E7\u00E3o de Seguran\u00E7a: getEventQueue"},
- {"appletsecurityexception.checksecurityaccess", "Exce\u00E7\u00E3o de Seguran\u00E7a: opera\u00E7\u00E3o de seguran\u00E7a: {0}"},
- {"appletsecurityexception.getsecuritycontext.unknown", "tipo de carregador de classe desconhecido. n\u00E3o \u00E9 poss\u00EDvel verificar getContext"},
- {"appletsecurityexception.checkread.unknown", "tipo de carregador de classe desconhecido. n\u00E3o \u00E9 poss\u00EDvel verificar a leitura {0}"},
- {"appletsecurityexception.checkconnect.unknown", "tipo de carregador de classe desconhecido. n\u00E3o \u00E9 poss\u00EDvel verificar a conex\u00E3o"},
- };
-
- return temp;
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/resources/MsgAppletViewer_sv.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,203 +0,0 @@
-/*
- * Copyright (c) 1996, 2016, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package sun.applet.resources;
-
-import java.util.ListResourceBundle;
-
-public class MsgAppletViewer_sv extends ListResourceBundle {
-
- public Object[][] getContents() {
- Object[][] temp = new Object[][] {
- {"textframe.button.dismiss", "St\u00E4ng"},
- {"appletviewer.tool.title", "Applet Viewer: {0}"},
- {"appletviewer.menu.applet", "Applet"},
- {"appletviewer.menuitem.restart", "Starta om"},
- {"appletviewer.menuitem.reload", "Ladda om"},
- {"appletviewer.menuitem.stop", "Stopp"},
- {"appletviewer.menuitem.save", "Spara..."},
- {"appletviewer.menuitem.start", "Starta"},
- {"appletviewer.menuitem.clone", "Klona..."},
- {"appletviewer.menuitem.tag", "Tagg..."},
- {"appletviewer.menuitem.info", "Information..."},
- {"appletviewer.menuitem.edit", "Redigera"},
- {"appletviewer.menuitem.encoding", "Teckenkodning"},
- {"appletviewer.menuitem.print", "Skriv ut..."},
- {"appletviewer.menuitem.props", "Egenskaper..."},
- {"appletviewer.menuitem.close", "St\u00E4ng"},
- {"appletviewer.menuitem.quit", "Avsluta"},
- {"appletviewer.label.hello", "Hej..."},
- {"appletviewer.status.start", "startar applet..."},
- {"appletviewer.appletsave.filedialogtitle","Serialisera applet till fil"},
- {"appletviewer.appletsave.err1", "serialiserar {0} till {1}"},
- {"appletviewer.appletsave.err2", "i appletSave: {0}"},
- {"appletviewer.applettag", "Tagg visas"},
- {"appletviewer.applettag.textframe", "HTML-tagg f\u00F6r applet"},
- {"appletviewer.appletinfo.applet", "-- ingen appletinformation --"},
- {"appletviewer.appletinfo.param", "-- ingen parameterinformation --"},
- {"appletviewer.appletinfo.textframe", "Appletinformation"},
- {"appletviewer.appletprint.fail", "Kunde inte skriva ut."},
- {"appletviewer.appletprint.finish", "Utskriften klar."},
- {"appletviewer.appletprint.cancel", "Utskriften avbruten."},
- {"appletviewer.appletencoding", "Teckenkodning: {0}"},
- {"appletviewer.parse.warning.requiresname", "Varning: <param name=... value=...>-taggen kr\u00E4ver ett namnattribut."},
- {"appletviewer.parse.warning.paramoutside", "Varning: <param>-taggen finns utanf\u00F6r <applet> ... </applet>."},
- {"appletviewer.parse.warning.applet.requirescode", "Varning: <applet>-taggen kr\u00E4ver ett kodattribut."},
- {"appletviewer.parse.warning.applet.requiresheight", "Varning: <applet>-taggen kr\u00E4ver ett h\u00F6jdattribut."},
- {"appletviewer.parse.warning.applet.requireswidth", "Varning: <applet>-taggen kr\u00E4ver ett breddattribut."},
- {"appletviewer.parse.warning.object.requirescode", "Varning: <object>-taggen kr\u00E4ver ett kodattribut."},
- {"appletviewer.parse.warning.object.requiresheight", "Varning: <object>-taggen kr\u00E4ver ett h\u00F6jdattribut."},
- {"appletviewer.parse.warning.object.requireswidth", "Varning: <object>-taggen kr\u00E4ver ett breddattribut."},
- {"appletviewer.parse.warning.embed.requirescode", "Varning: <embed>-taggen kr\u00E4ver ett kodattribut."},
- {"appletviewer.parse.warning.embed.requiresheight", "Varning: <embed>-taggen kr\u00E4ver ett h\u00F6jdattribut."},
- {"appletviewer.parse.warning.embed.requireswidth", "Varning: <embed>-taggen kr\u00E4ver ett breddattribut."},
- {"appletviewer.parse.warning.appnotLongersupported", "Varning: <app>-taggen st\u00F6ds inte l\u00E4ngre, anv\u00E4nd <applet> ist\u00E4llet:"},
- {"appletviewer.deprecated", "Varning: Applet-API:t och AppletViewer \u00E4r inaktuella."},
- {"appletviewer.usage", "Syntax: appletviewer <options> url(s)\n\nd\u00E4r <options> \u00E4r:\n -encoding <encoding> Ange teckenkodning som anv\u00E4nds av HTML-filer\n -J<runtime flag> \u00D6verf\u00F6r argument till java-tolken\n\nAlternativet -J \u00E4r inte standard och kan \u00E4ndras utan f\u00F6reg\u00E5ende meddelande."},
- {"appletviewer.main.err.unsupportedopt", "Alternativ som inte st\u00F6ds: {0}"},
- {"appletviewer.main.err.unrecognizedarg", "Ok\u00E4nt argument: {0}"},
- {"appletviewer.main.err.dupoption", "Duplicerat alternativ: {0}"},
- {"appletviewer.main.err.inputfile", "Inga angivna indatafiler."},
- {"appletviewer.main.err.badurl", "Felaktig URL: {0} ( {1} )"},
- {"appletviewer.main.err.io", "I/O-undantag vid l\u00E4sning: {0}"},
- {"appletviewer.main.err.readablefile", "Kontrollera att {0} \u00E4r en fil som \u00E4r l\u00E4sbar."},
- {"appletviewer.main.err.correcturl", "\u00C4r {0} den korrekta URL:en?"},
- {"appletviewer.main.prop.store", "Anv\u00E4ndarspecifika egenskaper f\u00F6r AppletViewer"},
- {"appletviewer.main.err.prop.cantread", "Kan inte l\u00E4sa egenskapsfilen: {0}"},
- {"appletviewer.main.err.prop.cantsave", "Kan inte spara egenskapsfilen: {0}"},
- {"appletviewer.main.warn.nosecmgr", "Varning! S\u00E4kerheten avaktiveras."},
- {"appletviewer.main.debug.cantfinddebug", "Hittar inte fels\u00F6kningsprogrammet!"},
- {"appletviewer.main.debug.cantfindmain", "Hittar inte huvudmetoden i fels\u00F6kningsprogrammet!"},
- {"appletviewer.main.debug.exceptionindebug", "Undantag i fels\u00F6kningsprogrammet!"},
- {"appletviewer.main.debug.cantaccess", "Det finns ingen \u00E5tkomst till fels\u00F6kningsprogrammet!"},
- {"appletviewer.main.nosecmgr", "Varning: SecurityManager har inte installerats!"},
- {"appletviewer.main.warning", "Varning: Inga appletar har startats. Kontrollera att indata inneh\u00E5ller <applet>-tagg."},
- {"appletviewer.main.warn.prop.overwrite", "Varning: Skriver tillf\u00E4lligt \u00F6ver systemegenskap enligt beg\u00E4ran fr\u00E5n anv\u00E4ndare: nyckel: {0} tidigare v\u00E4rde: {1} nytt v\u00E4rde: {2}"},
- {"appletviewer.main.warn.cantreadprops", "Varning: Kan inte l\u00E4sa egenskapsfil f\u00F6r AppletViewer: {0} Standardv\u00E4rden anv\u00E4nds."},
- {"appletioexception.loadclass.throw.interrupted", "klassladdning avbr\u00F6ts: {0}"},
- {"appletioexception.loadclass.throw.notloaded", "klass inte laddad: {0}"},
- {"appletclassloader.loadcode.verbose", "\u00D6ppnar str\u00F6m till: {0} f\u00F6r h\u00E4mtning av {1}"},
- {"appletclassloader.filenotfound", "Hittade inte fil vid s\u00F6kning efter: {0}"},
- {"appletclassloader.fileformat", "Undantag av filformat vid laddning av: {0}"},
- {"appletclassloader.fileioexception", "I/O-undantag vid laddning: {0}"},
- {"appletclassloader.fileexception", "{0} undantag vid laddning: {1}"},
- {"appletclassloader.filedeath", "{0} avslutad vid laddning: {1}"},
- {"appletclassloader.fileerror", "{0} fel vid laddning: {1}"},
- {"appletclassloader.findclass.verbose.openstream", "\u00D6ppnar str\u00F6m till: {0} f\u00F6r h\u00E4mtning av {1}"},
- {"appletclassloader.getresource.verbose.forname", "AppletClassLoader.getResource f\u00F6r namnet: {0}"},
- {"appletclassloader.getresource.verbose.found", "Hittade resursen: {0} som systemresurs"},
- {"appletclassloader.getresourceasstream.verbose", "Hittade resursen: {0} som systemresurs"},
- {"appletpanel.runloader.err", "Antingen objekt- eller kodparameter!"},
- {"appletpanel.runloader.exception", "undantag vid avserialisering {0}"},
- {"appletpanel.destroyed", "Applet raderad."},
- {"appletpanel.loaded", "Applet laddad."},
- {"appletpanel.started", "Applet startad."},
- {"appletpanel.inited", "Applet initierad."},
- {"appletpanel.stopped", "Applet stoppad."},
- {"appletpanel.disposed", "Applet kasserad."},
- {"appletpanel.nocode", "APPLET-tagg saknar CODE-parameter."},
- {"appletpanel.notfound", "load: hittade inte klassen {0}."},
- {"appletpanel.nocreate", "load: {0} kan inte instansieras."},
- {"appletpanel.noconstruct", "load: {0} \u00E4r inte allm\u00E4n eller saknar allm\u00E4n konstruktor."},
- {"appletpanel.death", "avslutad"},
- {"appletpanel.exception", "undantag: {0}."},
- {"appletpanel.exception2", "undantag: {0}: {1}."},
- {"appletpanel.error", "fel: {0}."},
- {"appletpanel.error2", "fel {0}: {1}."},
- {"appletpanel.notloaded", "Initiera: applet \u00E4r inte laddad."},
- {"appletpanel.notinited", "Starta: applet \u00E4r inte initierad."},
- {"appletpanel.notstarted", "Stoppa: applet har inte startats."},
- {"appletpanel.notstopped", "Radera: applet har inte stoppats."},
- {"appletpanel.notdestroyed", "Kassera: applet har inte raderats."},
- {"appletpanel.notdisposed", "Ladda: applet har inte kasserats."},
- {"appletpanel.bail", "Avbruten."},
- {"appletpanel.filenotfound", "Hittade inte fil vid s\u00F6kning efter: {0}"},
- {"appletpanel.fileformat", "Undantag av filformat vid laddning av: {0}"},
- {"appletpanel.fileioexception", "I/O-undantag vid laddning: {0}"},
- {"appletpanel.fileexception", "{0} undantag vid laddning: {1}"},
- {"appletpanel.filedeath", "{0} avslutad vid laddning: {1}"},
- {"appletpanel.fileerror", "{0} fel vid laddning: {1}"},
- {"appletpanel.badattribute.exception", "HTML-tolkning: felaktigt v\u00E4rde f\u00F6r bredd-/h\u00F6jdattribut"},
- {"appletillegalargumentexception.objectinputstream", "AppletObjectInputStream kr\u00E4ver laddare med icke-null"},
- {"appletprops.title", "AppletViewer-egenskaper"},
- {"appletprops.label.http.server", "HTTP-proxyserver:"},
- {"appletprops.label.http.proxy", "HTTP-proxyport:"},
- {"appletprops.label.network", "N\u00E4tverks\u00E5tkomst:"},
- {"appletprops.choice.network.item.none", "Ingen"},
- {"appletprops.choice.network.item.applethost", "Appletv\u00E4rd"},
- {"appletprops.choice.network.item.unrestricted", "Obegr\u00E4nsad"},
- {"appletprops.label.class", "Klass\u00E5tkomst:"},
- {"appletprops.choice.class.item.restricted", "Begr\u00E4nsad"},
- {"appletprops.choice.class.item.unrestricted", "Obegr\u00E4nsad"},
- {"appletprops.label.unsignedapplet", "Till\u00E5t osignerade appletar:"},
- {"appletprops.choice.unsignedapplet.no", "Nej"},
- {"appletprops.choice.unsignedapplet.yes", "Ja"},
- {"appletprops.button.apply", "Anv\u00E4nd"},
- {"appletprops.button.cancel", "Avbryt"},
- {"appletprops.button.reset", "\u00C5terst\u00E4ll"},
- {"appletprops.apply.exception", "Kunde inte spara egenskaper: {0}"},
- /* 4066432 */
- {"appletprops.title.invalidproxy", "Ogiltig post"},
- {"appletprops.label.invalidproxy", "Proxyport m\u00E5ste vara ett positivt heltal."},
- {"appletprops.button.ok", "OK"},
- /* end 4066432 */
- {"appletprops.prop.store", "Anv\u00E4ndarspecifika egenskaper f\u00F6r AppletViewer"},
- {"appletsecurityexception.checkcreateclassloader", "S\u00E4kerhetsundantag: klassladdare"},
- {"appletsecurityexception.checkaccess.thread", "S\u00E4kerhetsundantag: tr\u00E5d"},
- {"appletsecurityexception.checkaccess.threadgroup", "S\u00E4kerhetsundantag: tr\u00E5dgrupp: {0}"},
- {"appletsecurityexception.checkexit", "S\u00E4kerhetsundantag: utg\u00E5ng: {0}"},
- {"appletsecurityexception.checkexec", "S\u00E4kerhetsundantag: exec: {0}"},
- {"appletsecurityexception.checklink", "S\u00E4kerhetsundantag: l\u00E4nk: {0}"},
- {"appletsecurityexception.checkpropsaccess", "S\u00E4kerhetsundantag: egenskaper"},
- {"appletsecurityexception.checkpropsaccess.key", "S\u00E4kerhetsundantag: egenskaps\u00E5tkomst {0}"},
- {"appletsecurityexception.checkread.exception1", "S\u00E4kerhetsundantag: {0}, {1}"},
- {"appletsecurityexception.checkread.exception2", "S\u00E4kerhetsundantag: file.read: {0}"},
- {"appletsecurityexception.checkread", "S\u00E4kerhetsundantag: file.read: {0} == {1}"},
- {"appletsecurityexception.checkwrite.exception", "S\u00E4kerhetsundantag: {0}, {1}"},
- {"appletsecurityexception.checkwrite", "S\u00E4kerhetsundantag: file.write: {0} == {1}"},
- {"appletsecurityexception.checkread.fd", "S\u00E4kerhetsundantag: fd.read"},
- {"appletsecurityexception.checkwrite.fd", "S\u00E4kerhetsundantag: fd.write"},
- {"appletsecurityexception.checklisten", "S\u00E4kerhetsundantag: socket.listen: {0}"},
- {"appletsecurityexception.checkaccept", "S\u00E4kerhetsundantag: socket.accept: {0}:{1}"},
- {"appletsecurityexception.checkconnect.networknone", "S\u00E4kerhetsundantag: socket.connect: {0}->{1}"},
- {"appletsecurityexception.checkconnect.networkhost1", "S\u00E4kerhetsundantag: Kunde inte ansluta till {0} med ursprung fr\u00E5n {1}."},
- {"appletsecurityexception.checkconnect.networkhost2", "S\u00E4kerhetsundantag: Kunde inte matcha IP f\u00F6r v\u00E4rd {0} eller f\u00F6r {1}. "},
- {"appletsecurityexception.checkconnect.networkhost3", "S\u00E4kerhetsundantag: Kunde inte matcha IP f\u00F6r v\u00E4rd {0}. Se egenskapen trustProxy."},
- {"appletsecurityexception.checkconnect", "S\u00E4kerhetsundantag: connect: {0}->{1}"},
- {"appletsecurityexception.checkpackageaccess", "S\u00E4kerhetsundantag: ingen \u00E5tkomst till paket: {0}"},
- {"appletsecurityexception.checkpackagedefinition", "S\u00E4kerhetsundantag: kan inte definiera paket: {0}"},
- {"appletsecurityexception.cannotsetfactory", "S\u00E4kerhetsundantag: kan inte ange fabrik"},
- {"appletsecurityexception.checkmemberaccess", "S\u00E4kerhetsundantag: kontrollera medlems\u00E5tkomst"},
- {"appletsecurityexception.checkgetprintjob", "S\u00E4kerhetsundantag: getPrintJob"},
- {"appletsecurityexception.checksystemclipboardaccess", "S\u00E4kerhetsundantag: getSystemClipboard"},
- {"appletsecurityexception.checkawteventqueueaccess", "S\u00E4kerhetsundantag: getEventQueue"},
- {"appletsecurityexception.checksecurityaccess", "S\u00E4kerhetsundantag: s\u00E4kerhets\u00E5tg\u00E4rd: {0}"},
- {"appletsecurityexception.getsecuritycontext.unknown", "ok\u00E4nd typ av klassladdare. kan inte kontrollera getContext"},
- {"appletsecurityexception.checkread.unknown", "ok\u00E4nd typ av klassladdare. kan inte kontrollera kontroll\u00E4sning {0}"},
- {"appletsecurityexception.checkconnect.unknown", "ok\u00E4nd typ av klassladdare. kan inte kontrollera kontrollanslutning"},
- };
-
- return temp;
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/resources/MsgAppletViewer_zh_CN.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,203 +0,0 @@
-/*
- * Copyright (c) 1996, 2016, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package sun.applet.resources;
-
-import java.util.ListResourceBundle;
-
-public class MsgAppletViewer_zh_CN extends ListResourceBundle {
-
- public Object[][] getContents() {
- Object[][] temp = new Object[][] {
- {"textframe.button.dismiss", "\u5173\u95ED"},
- {"appletviewer.tool.title", "\u5C0F\u5E94\u7528\u7A0B\u5E8F\u67E5\u770B\u5668: {0}"},
- {"appletviewer.menu.applet", "\u5C0F\u5E94\u7528\u7A0B\u5E8F"},
- {"appletviewer.menuitem.restart", "\u91CD\u65B0\u542F\u52A8"},
- {"appletviewer.menuitem.reload", "\u91CD\u65B0\u52A0\u8F7D"},
- {"appletviewer.menuitem.stop", "\u505C\u6B62"},
- {"appletviewer.menuitem.save", "\u4FDD\u5B58..."},
- {"appletviewer.menuitem.start", "\u542F\u52A8"},
- {"appletviewer.menuitem.clone", "\u514B\u9686..."},
- {"appletviewer.menuitem.tag", "\u6807\u8BB0..."},
- {"appletviewer.menuitem.info", "\u4FE1\u606F..."},
- {"appletviewer.menuitem.edit", "\u7F16\u8F91"},
- {"appletviewer.menuitem.encoding", "\u5B57\u7B26\u7F16\u7801"},
- {"appletviewer.menuitem.print", "\u6253\u5370..."},
- {"appletviewer.menuitem.props", "\u5C5E\u6027..."},
- {"appletviewer.menuitem.close", "\u5173\u95ED"},
- {"appletviewer.menuitem.quit", "\u9000\u51FA"},
- {"appletviewer.label.hello", "\u60A8\u597D..."},
- {"appletviewer.status.start", "\u6B63\u5728\u542F\u52A8\u5C0F\u5E94\u7528\u7A0B\u5E8F..."},
- {"appletviewer.appletsave.filedialogtitle","\u5C06\u5C0F\u5E94\u7528\u7A0B\u5E8F\u5E8F\u5217\u5316\u4E3A\u6587\u4EF6"},
- {"appletviewer.appletsave.err1", "\u5C06{0}\u5E8F\u5217\u5316\u4E3A{1}"},
- {"appletviewer.appletsave.err2", "\u5728 appletSave \u4E2D: {0}"},
- {"appletviewer.applettag", "\u663E\u793A\u7684\u6807\u8BB0"},
- {"appletviewer.applettag.textframe", "\u5C0F\u5E94\u7528\u7A0B\u5E8F HTML \u6807\u8BB0"},
- {"appletviewer.appletinfo.applet", "-- \u6CA1\u6709\u5C0F\u5E94\u7528\u7A0B\u5E8F\u4FE1\u606F --"},
- {"appletviewer.appletinfo.param", "-- \u6CA1\u6709\u53C2\u6570\u4FE1\u606F --"},
- {"appletviewer.appletinfo.textframe", "\u5C0F\u5E94\u7528\u7A0B\u5E8F\u4FE1\u606F"},
- {"appletviewer.appletprint.fail", "\u6253\u5370\u5931\u8D25\u3002"},
- {"appletviewer.appletprint.finish", "\u5DF2\u5B8C\u6210\u6253\u5370\u3002"},
- {"appletviewer.appletprint.cancel", "\u6253\u5370\u5DF2\u53D6\u6D88\u3002"},
- {"appletviewer.appletencoding", "\u5B57\u7B26\u7F16\u7801: {0}"},
- {"appletviewer.parse.warning.requiresname", "\u8B66\u544A: <param name=... value=...> \u6807\u8BB0\u9700\u8981\u540D\u79F0\u5C5E\u6027\u3002"},
- {"appletviewer.parse.warning.paramoutside", "\u8B66\u544A: <param> \u6807\u8BB0\u5728 <applet> ... </applet> \u5916\u90E8\u3002"},
- {"appletviewer.parse.warning.applet.requirescode", "\u8B66\u544A: <applet> \u6807\u8BB0\u9700\u8981\u4EE3\u7801\u5C5E\u6027\u3002"},
- {"appletviewer.parse.warning.applet.requiresheight", "\u8B66\u544A: <applet> \u6807\u8BB0\u9700\u8981\u9AD8\u5EA6\u5C5E\u6027\u3002"},
- {"appletviewer.parse.warning.applet.requireswidth", "\u8B66\u544A: <applet> \u6807\u8BB0\u9700\u8981\u5BBD\u5EA6\u5C5E\u6027\u3002"},
- {"appletviewer.parse.warning.object.requirescode", "\u8B66\u544A: <object> \u6807\u8BB0\u9700\u8981\u4EE3\u7801\u5C5E\u6027\u3002"},
- {"appletviewer.parse.warning.object.requiresheight", "\u8B66\u544A: <object> \u6807\u8BB0\u9700\u8981\u9AD8\u5EA6\u5C5E\u6027\u3002"},
- {"appletviewer.parse.warning.object.requireswidth", "\u8B66\u544A: <object> \u6807\u8BB0\u9700\u8981\u5BBD\u5EA6\u5C5E\u6027\u3002"},
- {"appletviewer.parse.warning.embed.requirescode", "\u8B66\u544A: <embed> \u6807\u8BB0\u9700\u8981\u4EE3\u7801\u5C5E\u6027\u3002"},
- {"appletviewer.parse.warning.embed.requiresheight", "\u8B66\u544A: <embed> \u6807\u8BB0\u9700\u8981\u9AD8\u5EA6\u5C5E\u6027\u3002"},
- {"appletviewer.parse.warning.embed.requireswidth", "\u8B66\u544A: <embed> \u6807\u8BB0\u9700\u8981\u5BBD\u5EA6\u5C5E\u6027\u3002"},
- {"appletviewer.parse.warning.appnotLongersupported", "\u8B66\u544A: \u4E0D\u518D\u652F\u6301 <app> \u6807\u8BB0, \u8BF7\u6539\u7528 <applet>:"},
- {"appletviewer.deprecated", "\u8B66\u544A: \u5C0F\u5E94\u7528\u7A0B\u5E8F API \u548C AppletViewer \u5DF2\u8FC7\u65F6\u3002"},
- {"appletviewer.usage", "\u7528\u6CD5: appletviewer <options> url(s)\n\n\u5176\u4E2D <options> \u5305\u62EC:\n -encoding <encoding> \u6307\u5B9A HTML \u6587\u4EF6\u4F7F\u7528\u7684\u5B57\u7B26\u7F16\u7801\n -J<runtime flag> \u5C06\u53C2\u6570\u4F20\u9012\u5230 java \u89E3\u91CA\u5668\n\n-J \u9009\u9879\u662F\u975E\u6807\u51C6\u9009\u9879, \u5982\u6709\u66F4\u6539, \u6055\u4E0D\u53E6\u884C\u901A\u77E5\u3002"},
- {"appletviewer.main.err.unsupportedopt", "\u4E0D\u652F\u6301\u7684\u9009\u9879: {0}"},
- {"appletviewer.main.err.unrecognizedarg", "\u65E0\u6CD5\u8BC6\u522B\u7684\u53C2\u6570: {0}"},
- {"appletviewer.main.err.dupoption", "\u91CD\u590D\u4F7F\u7528\u9009\u9879: {0}"},
- {"appletviewer.main.err.inputfile", "\u672A\u6307\u5B9A\u8F93\u5165\u6587\u4EF6\u3002"},
- {"appletviewer.main.err.badurl", "\u9519\u8BEF URL: {0} ({1})"},
- {"appletviewer.main.err.io", "\u8BFB\u53D6{0}\u65F6\u51FA\u73B0 I/O \u5F02\u5E38\u9519\u8BEF"},
- {"appletviewer.main.err.readablefile", "\u786E\u4FDD{0}\u662F\u6587\u4EF6\u4E14\u53EF\u8BFB\u3002"},
- {"appletviewer.main.err.correcturl", "{0} \u662F\u5426\u662F\u6B63\u786E\u7684 URL?"},
- {"appletviewer.main.prop.store", "AppletViewer \u7684\u7528\u6237\u7279\u5B9A\u5C5E\u6027"},
- {"appletviewer.main.err.prop.cantread", "\u65E0\u6CD5\u8BFB\u53D6\u7528\u6237\u5C5E\u6027\u6587\u4EF6: {0}"},
- {"appletviewer.main.err.prop.cantsave", "\u65E0\u6CD5\u4FDD\u5B58\u7528\u6237\u5C5E\u6027\u6587\u4EF6: {0}"},
- {"appletviewer.main.warn.nosecmgr", "\u8B66\u544A: \u7981\u7528\u5B89\u5168\u3002"},
- {"appletviewer.main.debug.cantfinddebug", "\u627E\u4E0D\u5230\u8C03\u8BD5\u5668!"},
- {"appletviewer.main.debug.cantfindmain", "\u5728\u8C03\u8BD5\u5668\u4E2D\u627E\u4E0D\u5230 main \u65B9\u6CD5!"},
- {"appletviewer.main.debug.exceptionindebug", "\u8C03\u8BD5\u5668\u4E2D\u5B58\u5728\u5F02\u5E38\u9519\u8BEF!"},
- {"appletviewer.main.debug.cantaccess", "\u65E0\u6CD5\u8BBF\u95EE\u8C03\u8BD5\u5668!"},
- {"appletviewer.main.nosecmgr", "\u8B66\u544A: \u672A\u5B89\u88C5 SecurityManager!"},
- {"appletviewer.main.warning", "\u8B66\u544A: \u672A\u542F\u52A8\u5C0F\u5E94\u7528\u7A0B\u5E8F\u3002\u786E\u4FDD\u8F93\u5165\u5305\u542B <applet> \u6807\u8BB0\u3002"},
- {"appletviewer.main.warn.prop.overwrite", "\u8B66\u544A: \u6839\u636E\u7528\u6237\u8BF7\u6C42\u4E34\u65F6\u8986\u76D6\u7CFB\u7EDF\u5C5E\u6027: \u5173\u952E\u5B57: {0}, \u65E7\u503C: {1}, \u65B0\u503C: {2}"},
- {"appletviewer.main.warn.cantreadprops", "\u8B66\u544A: \u65E0\u6CD5\u8BFB\u53D6 AppletViewer \u5C5E\u6027\u6587\u4EF6: {0}\u3002\u8BF7\u4F7F\u7528\u9ED8\u8BA4\u503C\u3002"},
- {"appletioexception.loadclass.throw.interrupted", "\u7C7B\u52A0\u8F7D\u4E2D\u65AD: {0}"},
- {"appletioexception.loadclass.throw.notloaded", "\u672A\u52A0\u8F7D\u7C7B: {0}"},
- {"appletclassloader.loadcode.verbose", "\u6253\u5F00\u5230{0}\u7684\u6D41\u4EE5\u83B7\u53D6{1}"},
- {"appletclassloader.filenotfound", "\u67E5\u627E\u65F6\u627E\u4E0D\u5230\u6587\u4EF6: {0}"},
- {"appletclassloader.fileformat", "\u52A0\u8F7D\u65F6\u51FA\u73B0\u6587\u4EF6\u683C\u5F0F\u5F02\u5E38\u9519\u8BEF: {0}"},
- {"appletclassloader.fileioexception", "\u52A0\u8F7D\u65F6\u51FA\u73B0 I/O \u5F02\u5E38\u9519\u8BEF: {0}"},
- {"appletclassloader.fileexception", "\u52A0\u8F7D\u65F6\u51FA\u73B0{0}\u5F02\u5E38\u9519\u8BEF: {1}"},
- {"appletclassloader.filedeath", "\u52A0\u8F7D\u65F6\u5DF2\u7EC8\u6B62{0}: {1}"},
- {"appletclassloader.fileerror", "\u52A0\u8F7D\u65F6\u51FA\u73B0{0}\u9519\u8BEF: {1}"},
- {"appletclassloader.findclass.verbose.openstream", "\u6253\u5F00\u5230{0}\u7684\u6D41\u4EE5\u83B7\u53D6{1}"},
- {"appletclassloader.getresource.verbose.forname", "\u540D\u79F0\u7684 AppletClassLoader.getResource: {0}"},
- {"appletclassloader.getresource.verbose.found", "\u5DF2\u627E\u5230\u4F5C\u4E3A\u7CFB\u7EDF\u8D44\u6E90\u7684\u8D44\u6E90{0}"},
- {"appletclassloader.getresourceasstream.verbose", "\u5DF2\u627E\u5230\u4F5C\u4E3A\u7CFB\u7EDF\u8D44\u6E90\u7684\u8D44\u6E90{0}"},
- {"appletpanel.runloader.err", "\u5BF9\u8C61\u6216\u4EE3\u7801\u53C2\u6570!"},
- {"appletpanel.runloader.exception", "\u53CD\u5E8F\u5217\u5316{0}\u65F6\u51FA\u73B0\u5F02\u5E38\u9519\u8BEF"},
- {"appletpanel.destroyed", "\u5DF2\u9500\u6BC1\u5C0F\u5E94\u7528\u7A0B\u5E8F\u3002"},
- {"appletpanel.loaded", "\u5DF2\u52A0\u8F7D\u5C0F\u5E94\u7528\u7A0B\u5E8F\u3002"},
- {"appletpanel.started", "\u5DF2\u542F\u52A8\u5C0F\u5E94\u7528\u7A0B\u5E8F\u3002"},
- {"appletpanel.inited", "\u5DF2\u521D\u59CB\u5316\u5C0F\u5E94\u7528\u7A0B\u5E8F\u3002"},
- {"appletpanel.stopped", "\u5DF2\u505C\u6B62\u5C0F\u5E94\u7528\u7A0B\u5E8F\u3002"},
- {"appletpanel.disposed", "\u5DF2\u5904\u7406\u5C0F\u5E94\u7528\u7A0B\u5E8F\u3002"},
- {"appletpanel.nocode", "APPLET \u6807\u8BB0\u7F3A\u5C11 CODE \u53C2\u6570\u3002"},
- {"appletpanel.notfound", "\u52A0\u8F7D: \u627E\u4E0D\u5230\u7C7B{0}\u3002"},
- {"appletpanel.nocreate", "\u52A0\u8F7D: \u65E0\u6CD5\u5B9E\u4F8B\u5316{0}\u3002"},
- {"appletpanel.noconstruct", "\u52A0\u8F7D: {0}\u4E0D\u662F\u516C\u5171\u7684, \u6216\u8005\u6CA1\u6709\u516C\u5171\u6784\u9020\u5668\u3002"},
- {"appletpanel.death", "\u5DF2\u7EC8\u6B62"},
- {"appletpanel.exception", "\u5F02\u5E38\u9519\u8BEF: {0}\u3002"},
- {"appletpanel.exception2", "\u5F02\u5E38\u9519\u8BEF: {0}: {1}\u3002"},
- {"appletpanel.error", "\u9519\u8BEF: {0}\u3002"},
- {"appletpanel.error2", "\u9519\u8BEF: {0}: {1}\u3002"},
- {"appletpanel.notloaded", "\u521D\u59CB\u5316: \u672A\u52A0\u8F7D\u5C0F\u5E94\u7528\u7A0B\u5E8F\u3002"},
- {"appletpanel.notinited", "\u542F\u52A8: \u672A\u521D\u59CB\u5316\u5C0F\u5E94\u7528\u7A0B\u5E8F\u3002"},
- {"appletpanel.notstarted", "\u505C\u6B62: \u672A\u542F\u52A8\u5C0F\u5E94\u7528\u7A0B\u5E8F\u3002"},
- {"appletpanel.notstopped", "\u9500\u6BC1: \u672A\u505C\u6B62\u5C0F\u5E94\u7528\u7A0B\u5E8F\u3002"},
- {"appletpanel.notdestroyed", "\u5904\u7406: \u672A\u9500\u6BC1\u5C0F\u5E94\u7528\u7A0B\u5E8F\u3002"},
- {"appletpanel.notdisposed", "\u52A0\u8F7D: \u672A\u5904\u7406\u5C0F\u5E94\u7528\u7A0B\u5E8F\u3002"},
- {"appletpanel.bail", "\u5DF2\u4E2D\u65AD: \u79BB\u5F00\u3002"},
- {"appletpanel.filenotfound", "\u67E5\u627E\u65F6\u627E\u4E0D\u5230\u6587\u4EF6: {0}"},
- {"appletpanel.fileformat", "\u52A0\u8F7D\u65F6\u51FA\u73B0\u6587\u4EF6\u683C\u5F0F\u5F02\u5E38\u9519\u8BEF: {0}"},
- {"appletpanel.fileioexception", "\u52A0\u8F7D\u65F6\u51FA\u73B0 I/O \u5F02\u5E38\u9519\u8BEF: {0}"},
- {"appletpanel.fileexception", "\u52A0\u8F7D\u65F6\u51FA\u73B0{0}\u5F02\u5E38\u9519\u8BEF: {1}"},
- {"appletpanel.filedeath", "\u52A0\u8F7D\u65F6\u5DF2\u7EC8\u6B62{0}: {1}"},
- {"appletpanel.fileerror", "\u52A0\u8F7D\u65F6\u51FA\u73B0{0}\u9519\u8BEF: {1}"},
- {"appletpanel.badattribute.exception", "HTML \u89E3\u6790: \u5BBD\u5EA6/\u9AD8\u5EA6\u5C5E\u6027\u7684\u503C\u4E0D\u6B63\u786E"},
- {"appletillegalargumentexception.objectinputstream", "AppletObjectInputStream \u9700\u8981\u975E\u7A7A\u52A0\u8F7D\u5668"},
- {"appletprops.title", "AppletViewer \u5C5E\u6027"},
- {"appletprops.label.http.server", "Http \u4EE3\u7406\u670D\u52A1\u5668:"},
- {"appletprops.label.http.proxy", "Http \u4EE3\u7406\u7AEF\u53E3:"},
- {"appletprops.label.network", "\u7F51\u7EDC\u8BBF\u95EE\u6743\u9650:"},
- {"appletprops.choice.network.item.none", "\u65E0"},
- {"appletprops.choice.network.item.applethost", "\u5C0F\u5E94\u7528\u7A0B\u5E8F\u4E3B\u673A"},
- {"appletprops.choice.network.item.unrestricted", "\u4E0D\u53D7\u9650\u5236"},
- {"appletprops.label.class", "\u7C7B\u8BBF\u95EE\u6743\u9650:"},
- {"appletprops.choice.class.item.restricted", "\u53D7\u9650\u5236"},
- {"appletprops.choice.class.item.unrestricted", "\u4E0D\u53D7\u9650\u5236"},
- {"appletprops.label.unsignedapplet", "\u5141\u8BB8\u672A\u7B7E\u540D\u5C0F\u5E94\u7528\u7A0B\u5E8F:"},
- {"appletprops.choice.unsignedapplet.no", "\u5426"},
- {"appletprops.choice.unsignedapplet.yes", "\u662F"},
- {"appletprops.button.apply", "\u5E94\u7528"},
- {"appletprops.button.cancel", "\u53D6\u6D88"},
- {"appletprops.button.reset", "\u91CD\u7F6E"},
- {"appletprops.apply.exception", "\u65E0\u6CD5\u4FDD\u5B58\u5C5E\u6027: {0}"},
- /* 4066432 */
- {"appletprops.title.invalidproxy", "\u6761\u76EE\u65E0\u6548"},
- {"appletprops.label.invalidproxy", "\u4EE3\u7406\u7AEF\u53E3\u5FC5\u987B\u662F\u4E00\u4E2A\u6B63\u6574\u6570\u503C\u3002"},
- {"appletprops.button.ok", "\u786E\u5B9A"},
- /* end 4066432 */
- {"appletprops.prop.store", "AppletViewer \u7684\u7528\u6237\u7279\u5B9A\u5C5E\u6027"},
- {"appletsecurityexception.checkcreateclassloader", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u7C7B\u52A0\u8F7D\u5668"},
- {"appletsecurityexception.checkaccess.thread", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u7EBF\u7A0B"},
- {"appletsecurityexception.checkaccess.threadgroup", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u7EBF\u7A0B\u7EC4: {0}"},
- {"appletsecurityexception.checkexit", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u9000\u51FA: {0}"},
- {"appletsecurityexception.checkexec", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u6267\u884C: {0}"},
- {"appletsecurityexception.checklink", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u94FE\u63A5: {0}"},
- {"appletsecurityexception.checkpropsaccess", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u5C5E\u6027"},
- {"appletsecurityexception.checkpropsaccess.key", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u5C5E\u6027\u8BBF\u95EE{0}"},
- {"appletsecurityexception.checkread.exception1", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: {0}, {1}"},
- {"appletsecurityexception.checkread.exception2", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: file.read: {0}"},
- {"appletsecurityexception.checkread", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: file.read: {0} == {1}"},
- {"appletsecurityexception.checkwrite.exception", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: {0}, {1}"},
- {"appletsecurityexception.checkwrite", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: file.write: {0} == {1}"},
- {"appletsecurityexception.checkread.fd", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: fd.read"},
- {"appletsecurityexception.checkwrite.fd", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: fd.write"},
- {"appletsecurityexception.checklisten", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: socket.listen: {0}"},
- {"appletsecurityexception.checkaccept", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: socket.accept: {0}:{1}"},
- {"appletsecurityexception.checkconnect.networknone", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: socket.connect: {0}->{1}"},
- {"appletsecurityexception.checkconnect.networkhost1", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u65E0\u6CD5\u8FDE\u63A5\u5230\u6E90\u81EA{1}\u7684{0}\u3002"},
- {"appletsecurityexception.checkconnect.networkhost2", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u65E0\u6CD5\u89E3\u6790\u4E3B\u673A{0}\u6216{1}\u7684 IP\u3002"},
- {"appletsecurityexception.checkconnect.networkhost3", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u65E0\u6CD5\u89E3\u6790\u4E3B\u673A{0}\u7684 IP\u3002\u8BF7\u53C2\u9605 trustProxy \u5C5E\u6027\u3002"},
- {"appletsecurityexception.checkconnect", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u8FDE\u63A5: {0}->{1}"},
- {"appletsecurityexception.checkpackageaccess", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u65E0\u6CD5\u8BBF\u95EE\u7A0B\u5E8F\u5305: {0}"},
- {"appletsecurityexception.checkpackagedefinition", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u65E0\u6CD5\u5B9A\u4E49\u7A0B\u5E8F\u5305: {0}"},
- {"appletsecurityexception.cannotsetfactory", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u65E0\u6CD5\u8BBE\u7F6E\u5DE5\u5382"},
- {"appletsecurityexception.checkmemberaccess", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u68C0\u67E5\u6210\u5458\u8BBF\u95EE\u6743\u9650"},
- {"appletsecurityexception.checkgetprintjob", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: getPrintJob"},
- {"appletsecurityexception.checksystemclipboardaccess", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: getSystemClipboard"},
- {"appletsecurityexception.checkawteventqueueaccess", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: getEventQueue"},
- {"appletsecurityexception.checksecurityaccess", "\u5B89\u5168\u5F02\u5E38\u9519\u8BEF: \u5B89\u5168\u64CD\u4F5C: {0}"},
- {"appletsecurityexception.getsecuritycontext.unknown", "\u7C7B\u52A0\u8F7D\u5668\u7C7B\u578B\u672A\u77E5\u3002\u65E0\u6CD5\u68C0\u67E5 getContext"},
- {"appletsecurityexception.checkread.unknown", "\u7C7B\u52A0\u8F7D\u5668\u7C7B\u578B\u672A\u77E5\u3002\u65E0\u6CD5\u4E3A\u68C0\u67E5\u8BFB\u53D6\u6743\u9650{0}\u800C\u8FDB\u884C\u68C0\u67E5"},
- {"appletsecurityexception.checkconnect.unknown", "\u7C7B\u52A0\u8F7D\u5668\u7C7B\u578B\u672A\u77E5\u3002\u65E0\u6CD5\u4E3A\u68C0\u67E5\u8FDE\u63A5\u800C\u8FDB\u884C\u68C0\u67E5"},
- };
-
- return temp;
- }
-}
--- a/src/java.desktop/share/classes/sun/applet/resources/MsgAppletViewer_zh_TW.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,203 +0,0 @@
-/*
- * Copyright (c) 1996, 2016, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-package sun.applet.resources;
-
-import java.util.ListResourceBundle;
-
-public class MsgAppletViewer_zh_TW extends ListResourceBundle {
-
- public Object[][] getContents() {
- Object[][] temp = new Object[][] {
- {"textframe.button.dismiss", "\u95DC\u9589"},
- {"appletviewer.tool.title", "Applet \u6AA2\u8996\u5668: {0}"},
- {"appletviewer.menu.applet", "Applet"},
- {"appletviewer.menuitem.restart", "\u91CD\u65B0\u555F\u52D5"},
- {"appletviewer.menuitem.reload", "\u91CD\u65B0\u8F09\u5165"},
- {"appletviewer.menuitem.stop", "\u505C\u6B62"},
- {"appletviewer.menuitem.save", "\u5132\u5B58..."},
- {"appletviewer.menuitem.start", "\u555F\u52D5"},
- {"appletviewer.menuitem.clone", "\u8907\u88FD..."},
- {"appletviewer.menuitem.tag", "\u6A19\u8A18..."},
- {"appletviewer.menuitem.info", "\u8CC7\u8A0A..."},
- {"appletviewer.menuitem.edit", "\u7DE8\u8F2F"},
- {"appletviewer.menuitem.encoding", "\u5B57\u5143\u7DE8\u78BC"},
- {"appletviewer.menuitem.print", "\u5217\u5370..."},
- {"appletviewer.menuitem.props", "\u5C6C\u6027..."},
- {"appletviewer.menuitem.close", "\u95DC\u9589"},
- {"appletviewer.menuitem.quit", "\u7D50\u675F"},
- {"appletviewer.label.hello", "\u60A8\u597D..."},
- {"appletviewer.status.start", "\u6B63\u5728\u555F\u52D5 Applet..."},
- {"appletviewer.appletsave.filedialogtitle","\u5C07 Applet \u5E8F\u5217\u5316\u70BA\u6A94\u6848"},
- {"appletviewer.appletsave.err1", "\u5C07 {0} \u5E8F\u5217\u5316\u70BA {1}"},
- {"appletviewer.appletsave.err2", "\u5728 appletSave \u4E2D: {0}"},
- {"appletviewer.applettag", "\u986F\u793A\u7684\u6A19\u8A18"},
- {"appletviewer.applettag.textframe", "Applet HTML \u6A19\u8A18"},
- {"appletviewer.appletinfo.applet", "-- \u7121 Applet \u8CC7\u8A0A --"},
- {"appletviewer.appletinfo.param", "-- \u7121\u53C3\u6578\u8CC7\u8A0A --"},
- {"appletviewer.appletinfo.textframe", "Applet \u8CC7\u8A0A"},
- {"appletviewer.appletprint.fail", "\u5217\u5370\u5931\u6557\u3002"},
- {"appletviewer.appletprint.finish", "\u5B8C\u6210\u5217\u5370\u3002"},
- {"appletviewer.appletprint.cancel", "\u5217\u5370\u53D6\u6D88\u3002"},
- {"appletviewer.appletencoding", "\u5B57\u5143\u7DE8\u78BC: {0}"},
- {"appletviewer.parse.warning.requiresname", "\u8B66\u544A: <\u53C3\u6578\u540D\u7A31=... \u503C=...> \u6A19\u8A18\u9700\u8981\u540D\u7A31\u5C6C\u6027\u3002"},
- {"appletviewer.parse.warning.paramoutside", "\u8B66\u544A: <param> \u6A19\u8A18\u5728 <applet> ... </applet> \u4E4B\u5916\u3002"},
- {"appletviewer.parse.warning.applet.requirescode", "\u8B66\u544A: <applet> \u6A19\u8A18\u9700\u8981\u4EE3\u78BC\u5C6C\u6027\u3002"},
- {"appletviewer.parse.warning.applet.requiresheight", "\u8B66\u544A: <applet> \u6A19\u8A18\u9700\u8981\u9AD8\u5EA6\u5C6C\u6027\u3002"},
- {"appletviewer.parse.warning.applet.requireswidth", "\u8B66\u544A: <applet> \u6A19\u8A18\u9700\u8981\u5BEC\u5EA6\u5C6C\u6027\u3002"},
- {"appletviewer.parse.warning.object.requirescode", "\u8B66\u544A: <object> \u6A19\u8A18\u9700\u8981\u4EE3\u78BC\u5C6C\u6027\u3002"},
- {"appletviewer.parse.warning.object.requiresheight", "\u8B66\u544A: <object> \u6A19\u8A18\u9700\u8981\u9AD8\u5EA6\u5C6C\u6027\u3002"},
- {"appletviewer.parse.warning.object.requireswidth", "\u8B66\u544A: <object> \u6A19\u8A18\u9700\u8981\u5BEC\u5EA6\u5C6C\u6027\u3002"},
- {"appletviewer.parse.warning.embed.requirescode", "\u8B66\u544A: <embed> \u6A19\u8A18\u9700\u8981\u4EE3\u78BC\u5C6C\u6027\u3002"},
- {"appletviewer.parse.warning.embed.requiresheight", "\u8B66\u544A: <embed> \u6A19\u8A18\u9700\u8981\u9AD8\u5EA6\u5C6C\u6027\u3002"},
- {"appletviewer.parse.warning.embed.requireswidth", "\u8B66\u544A: <embed> \u6A19\u8A18\u9700\u8981\u5BEC\u5EA6\u5C6C\u6027\u3002"},
- {"appletviewer.parse.warning.appnotLongersupported", "\u8B66\u544A: \u4E0D\u518D\u652F\u63F4 <app> \u6A19\u8A18\uFF0C\u8ACB\u6539\u7528 <applet>:"},
- {"appletviewer.deprecated", "\u8B66\u544A: \u5DF2\u4E0D\u518D\u4F7F\u7528 Applet API \u548C AppletViewer\u3002"},
- {"appletviewer.usage", "\u7528\u6CD5: appletviewer <options> url(s)\n\n\u5176\u4E2D\u7684 <options> \u5305\u62EC:\n -encoding <encoding> \u6307\u5B9A HTML \u6A94\u6848\u4F7F\u7528\u7684\u5B57\u5143\u7DE8\u78BC\n -J<runtime flag> \u5C07\u5F15\u6578\u50B3\u9001\u81F3 Java \u89E3\u8B6F\u5668\n\n-J \u9078\u9805\u4E0D\u662F\u6A19\u6E96\u9078\u9805\uFF0C\u82E5\u6709\u8B8A\u66F4\u4E0D\u53E6\u884C\u901A\u77E5\u3002"},
- {"appletviewer.main.err.unsupportedopt", "\u4E0D\u652F\u63F4\u7684\u9078\u9805: {0}"},
- {"appletviewer.main.err.unrecognizedarg", "\u7121\u6CD5\u8FA8\u8B58\u7684\u5F15\u6578: {0}"},
- {"appletviewer.main.err.dupoption", "\u91CD\u8907\u4F7F\u7528\u9078\u9805: {0}"},
- {"appletviewer.main.err.inputfile", "\u672A\u6307\u5B9A\u8F38\u5165\u6A94\u6848\u3002"},
- {"appletviewer.main.err.badurl", "\u932F\u8AA4\u7684 URL: {0} ( {1} )"},
- {"appletviewer.main.err.io", "\u8B80\u53D6\u6642\u767C\u751F I/O \u7570\u5E38\u72C0\u6CC1: {0}"},
- {"appletviewer.main.err.readablefile", "\u78BA\u8A8D {0} \u70BA\u6A94\u6848\u4E14\u53EF\u8B80\u53D6\u3002"},
- {"appletviewer.main.err.correcturl", "{0} \u662F\u5426\u70BA\u6B63\u78BA\u7684 URL\uFF1F"},
- {"appletviewer.main.prop.store", "AppletViewer \u7684\u4F7F\u7528\u8005\u7279\u5B9A\u5C6C\u6027"},
- {"appletviewer.main.err.prop.cantread", "\u7121\u6CD5\u8B80\u53D6\u4F7F\u7528\u8005\u5C6C\u6027\u6A94\u6848: {0}"},
- {"appletviewer.main.err.prop.cantsave", "\u7121\u6CD5\u5132\u5B58\u4F7F\u7528\u8005\u5C6C\u6027\u6A94\u6848: {0}"},
- {"appletviewer.main.warn.nosecmgr", "\u8B66\u544A: \u505C\u7528\u5B89\u5168\u529F\u80FD\u3002"},
- {"appletviewer.main.debug.cantfinddebug", "\u627E\u4E0D\u5230\u9664\u932F\u7A0B\u5F0F\uFF01"},
- {"appletviewer.main.debug.cantfindmain", "\u5728\u9664\u932F\u7A0B\u5F0F\u4E2D\u627E\u4E0D\u5230\u4E3B\u8981\u65B9\u6CD5\uFF01"},
- {"appletviewer.main.debug.exceptionindebug", "\u9664\u932F\u7A0B\u5F0F\u767C\u751F\u7570\u5E38\u72C0\u6CC1\uFF01"},
- {"appletviewer.main.debug.cantaccess", "\u7121\u6CD5\u5B58\u53D6\u9664\u932F\u7A0B\u5F0F\uFF01"},
- {"appletviewer.main.nosecmgr", "\u8B66\u544A: \u672A\u5B89\u88DD SecurityManager\uFF01"},
- {"appletviewer.main.warning", "\u8B66\u544A: \u672A\u555F\u52D5 Applet\u3002\u8ACB\u78BA\u8A8D\u8F38\u5165\u5305\u542B <applet> \u6A19\u8A18\u3002"},
- {"appletviewer.main.warn.prop.overwrite", "\u8B66\u544A: \u4F9D\u7167\u4F7F\u7528\u8005\u8981\u6C42\uFF0C\u66AB\u6642\u8986\u5BEB\u7CFB\u7D71\u5C6C\u6027: \u7D22\u5F15\u9375: {0} \u820A\u503C: {1} \u65B0\u503C: {2}"},
- {"appletviewer.main.warn.cantreadprops", "\u8B66\u544A: \u7121\u6CD5\u8B80\u53D6 AppletViewer \u5C6C\u6027\u6A94\u6848: {0} \u4F7F\u7528\u9810\u8A2D\u503C\u3002"},
- {"appletioexception.loadclass.throw.interrupted", "\u985E\u5225\u8F09\u5165\u4E2D\u65B7: {0}"},
- {"appletioexception.loadclass.throw.notloaded", "\u672A\u8F09\u5165\u985E\u5225: {0}"},
- {"appletclassloader.loadcode.verbose", "\u958B\u555F {0} \u7684\u4E32\u6D41\u4EE5\u53D6\u5F97 {1}"},
- {"appletclassloader.filenotfound", "\u5C0B\u627E {0} \u6642\u627E\u4E0D\u5230\u6A94\u6848"},
- {"appletclassloader.fileformat", "\u8F09\u5165\u6642\u767C\u751F\u6A94\u6848\u683C\u5F0F\u7570\u5E38\u72C0\u6CC1: {0}"},
- {"appletclassloader.fileioexception", "\u8F09\u5165\u6642\u767C\u751F I/O \u7570\u5E38\u72C0\u6CC1: {0}"},
- {"appletclassloader.fileexception", "\u8F09\u5165\u6642\u767C\u751F {0} \u7570\u5E38\u72C0\u6CC1: {1}"},
- {"appletclassloader.filedeath", "\u8F09\u5165\u6642\u522A\u9664 {0}: {1}"},
- {"appletclassloader.fileerror", "\u8F09\u5165\u6642\u767C\u751F {0} \u932F\u8AA4: {1}"},
- {"appletclassloader.findclass.verbose.openstream", "\u958B\u555F {0} \u7684\u4E32\u6D41\u4EE5\u53D6\u5F97 {1}"},
- {"appletclassloader.getresource.verbose.forname", "AppletClassLoader.getResource \u7684\u540D\u7A31: {0}"},
- {"appletclassloader.getresource.verbose.found", "\u627E\u5230\u8CC7\u6E90: {0} \u4F5C\u70BA\u7CFB\u7D71\u8CC7\u6E90"},
- {"appletclassloader.getresourceasstream.verbose", "\u627E\u5230\u8CC7\u6E90: {0} \u4F5C\u70BA\u7CFB\u7D71\u8CC7\u6E90"},
- {"appletpanel.runloader.err", "\u7269\u4EF6\u6216\u4EE3\u78BC\u53C3\u6578\uFF01"},
- {"appletpanel.runloader.exception", "\u9084\u539F\u5E8F\u5217\u5316 {0} \u6642\u767C\u751F\u7570\u5E38\u72C0\u6CC1"},
- {"appletpanel.destroyed", "\u5DF2\u640D\u6BC0 Applet\u3002"},
- {"appletpanel.loaded", "\u5DF2\u8F09\u5165 Applet\u3002"},
- {"appletpanel.started", "\u5DF2\u555F\u7528 Applet\u3002"},
- {"appletpanel.inited", "\u5DF2\u8D77\u59CB Applet\u3002"},
- {"appletpanel.stopped", "\u5DF2\u505C\u6B62 Applet\u3002"},
- {"appletpanel.disposed", "\u5DF2\u8655\u7F6E Applet\u3002"},
- {"appletpanel.nocode", "APPLET \u6A19\u8A18\u907A\u6F0F CODE \u53C3\u6578\u3002"},
- {"appletpanel.notfound", "\u8F09\u5165: \u627E\u4E0D\u5230\u985E\u5225 {0}\u3002"},
- {"appletpanel.nocreate", "\u8F09\u5165: \u7121\u6CD5\u5EFA\u7ACB {0}\u3002"},
- {"appletpanel.noconstruct", "\u8F09\u5165: {0} \u975E\u516C\u7528\u6216\u6C92\u6709\u516C\u7528\u5EFA\u69CB\u5B50\u3002"},
- {"appletpanel.death", "\u5DF2\u522A\u9664"},
- {"appletpanel.exception", "\u7570\u5E38\u72C0\u6CC1: {0}\u3002"},
- {"appletpanel.exception2", "\u7570\u5E38\u72C0\u6CC1: {0}: {1}\u3002"},
- {"appletpanel.error", "\u932F\u8AA4: {0}\u3002"},
- {"appletpanel.error2", "\u932F\u8AA4: {0}: {1}\u3002"},
- {"appletpanel.notloaded", "\u8D77\u59CB: \u672A\u8F09\u5165 Applet\u3002"},
- {"appletpanel.notinited", "\u555F\u52D5: \u672A\u8D77\u59CB Applet\u3002"},
- {"appletpanel.notstarted", "\u505C\u6B62: \u672A\u555F\u52D5 Applet\u3002"},
- {"appletpanel.notstopped", "\u640D\u6BC0: \u672A\u505C\u6B62 Applet\u3002"},
- {"appletpanel.notdestroyed", "\u8655\u7F6E: \u672A\u640D\u6BC0 Applet\u3002"},
- {"appletpanel.notdisposed", "\u8F09\u5165: \u672A\u8655\u7F6E Applet\u3002"},
- {"appletpanel.bail", "\u5DF2\u4E2D\u65B7: \u6B63\u5728\u7D50\u675F\u3002"},
- {"appletpanel.filenotfound", "\u5C0B\u627E {0} \u6642\u627E\u4E0D\u5230\u6A94\u6848"},
- {"appletpanel.fileformat", "\u8F09\u5165\u6642\u767C\u751F\u6A94\u6848\u683C\u5F0F\u7570\u5E38\u72C0\u6CC1: {0}"},
- {"appletpanel.fileioexception", "\u8F09\u5165\u6642\u767C\u751F I/O \u7570\u5E38\u72C0\u6CC1: {0}"},
- {"appletpanel.fileexception", "\u8F09\u5165\u6642\u767C\u751F {0} \u7570\u5E38\u72C0\u6CC1: {1}"},
- {"appletpanel.filedeath", "\u8F09\u5165\u6642\u522A\u9664 {0}: {1}"},
- {"appletpanel.fileerror", "\u8F09\u5165\u6642\u767C\u751F {0} \u932F\u8AA4: {1}"},
- {"appletpanel.badattribute.exception", "HTML \u5256\u6790: \u5BEC\u5EA6/\u9AD8\u5EA6\u5C6C\u6027\u7684\u503C\u4E0D\u6B63\u78BA"},
- {"appletillegalargumentexception.objectinputstream", "AppletObjectInputStream \u9700\u8981\u975E\u7A7A\u503C\u8F09\u5165\u5668"},
- {"appletprops.title", "AppletViewer \u5C6C\u6027"},
- {"appletprops.label.http.server", "Http \u4EE3\u7406\u4E3B\u6A5F\u4F3A\u670D\u5668:"},
- {"appletprops.label.http.proxy", "Http \u4EE3\u7406\u4E3B\u6A5F\u9023\u63A5\u57E0:"},
- {"appletprops.label.network", "\u7DB2\u8DEF\u5B58\u53D6:"},
- {"appletprops.choice.network.item.none", "\u7121"},
- {"appletprops.choice.network.item.applethost", "Applet \u4E3B\u6A5F"},
- {"appletprops.choice.network.item.unrestricted", "\u4E0D\u53D7\u9650\u5236"},
- {"appletprops.label.class", "\u985E\u5225\u5B58\u53D6:"},
- {"appletprops.choice.class.item.restricted", "\u53D7\u9650\u5236"},
- {"appletprops.choice.class.item.unrestricted", "\u4E0D\u53D7\u9650\u5236"},
- {"appletprops.label.unsignedapplet", "\u5141\u8A31\u672A\u7C3D\u7F72\u7684 Applet:"},
- {"appletprops.choice.unsignedapplet.no", "\u5426"},
- {"appletprops.choice.unsignedapplet.yes", "\u662F"},
- {"appletprops.button.apply", "\u5957\u7528"},
- {"appletprops.button.cancel", "\u53D6\u6D88"},
- {"appletprops.button.reset", "\u91CD\u8A2D"},
- {"appletprops.apply.exception", "\u7121\u6CD5\u5132\u5B58\u5C6C\u6027: {0}"},
- /* 4066432 */
- {"appletprops.title.invalidproxy", "\u7121\u6548\u7684\u9805\u76EE"},
- {"appletprops.label.invalidproxy", "\u4EE3\u7406\u4E3B\u6A5F\u9023\u63A5\u57E0\u5FC5\u9808\u662F\u6B63\u6574\u6578\u503C\u3002"},
- {"appletprops.button.ok", "\u78BA\u5B9A"},
- /* end 4066432 */
- {"appletprops.prop.store", "AppletViewer \u7684\u4F7F\u7528\u8005\u7279\u5B9A\u5C6C\u6027"},
- {"appletsecurityexception.checkcreateclassloader", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: classloader"},
- {"appletsecurityexception.checkaccess.thread", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: thread"},
- {"appletsecurityexception.checkaccess.threadgroup", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: threadgroup: {0}"},
- {"appletsecurityexception.checkexit", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: exit: {0}"},
- {"appletsecurityexception.checkexec", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: exec: {0}"},
- {"appletsecurityexception.checklink", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: link: {0}"},
- {"appletsecurityexception.checkpropsaccess", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: \u5C6C\u6027"},
- {"appletsecurityexception.checkpropsaccess.key", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: \u5C6C\u6027\u5B58\u53D6 {0}"},
- {"appletsecurityexception.checkread.exception1", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: {0}\uFF0C{1}"},
- {"appletsecurityexception.checkread.exception2", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: file.read: {0}"},
- {"appletsecurityexception.checkread", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: file.read: {0} == {1}"},
- {"appletsecurityexception.checkwrite.exception", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: {0}\uFF0C{1}"},
- {"appletsecurityexception.checkwrite", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: file.write: {0} == {1}"},
- {"appletsecurityexception.checkread.fd", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: fd.read"},
- {"appletsecurityexception.checkwrite.fd", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: fd.write"},
- {"appletsecurityexception.checklisten", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: socket.listen: {0}"},
- {"appletsecurityexception.checkaccept", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: socket.accept: {0}:{1}"},
- {"appletsecurityexception.checkconnect.networknone", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: socket.connect: {0}->{1}"},
- {"appletsecurityexception.checkconnect.networkhost1", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: \u7121\u6CD5\u5F9E\u4F86\u6E90 {1} \u9023\u7DDA\u81F3 {0}\u3002"},
- {"appletsecurityexception.checkconnect.networkhost2", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: \u7121\u6CD5\u89E3\u6790\u4E3B\u6A5F {0} \u6216 {1} \u7684 IP\u3002"},
- {"appletsecurityexception.checkconnect.networkhost3", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: \u7121\u6CD5\u89E3\u6790\u4E3B\u6A5F {0} \u7684 IP\u3002\u8ACB\u53C3\u95B1 trustProxy \u5C6C\u6027\u3002"},
- {"appletsecurityexception.checkconnect", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: connect: {0}->{1}"},
- {"appletsecurityexception.checkpackageaccess", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: \u7121\u6CD5\u5B58\u53D6\u5957\u88DD\u7A0B\u5F0F: {0}"},
- {"appletsecurityexception.checkpackagedefinition", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: \u7121\u6CD5\u5B9A\u7FA9\u5957\u88DD\u7A0B\u5F0F: {0}"},
- {"appletsecurityexception.cannotsetfactory", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: \u7121\u6CD5\u8A2D\u5B9A\u8655\u7406\u7AD9"},
- {"appletsecurityexception.checkmemberaccess", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: \u6AA2\u67E5\u6210\u54E1\u5B58\u53D6"},
- {"appletsecurityexception.checkgetprintjob", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: getPrintJob"},
- {"appletsecurityexception.checksystemclipboardaccess", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: getSystemClipboard"},
- {"appletsecurityexception.checkawteventqueueaccess", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: getEventQueue"},
- {"appletsecurityexception.checksecurityaccess", "\u5B89\u5168\u7570\u5E38\u72C0\u6CC1: \u5B89\u5168\u4F5C\u696D: {0}"},
- {"appletsecurityexception.getsecuritycontext.unknown", "\u4E0D\u660E\u7684\u985E\u5225\u8F09\u5165\u5668\u985E\u578B\u3002\u7121\u6CD5\u6AA2\u67E5 getContext"},
- {"appletsecurityexception.checkread.unknown", "\u4E0D\u660E\u7684\u985E\u5225\u8F09\u5165\u5668\u985E\u578B\u3002\u7121\u6CD5\u6AA2\u67E5 read {0}"},
- {"appletsecurityexception.checkconnect.unknown", "\u4E0D\u660E\u7684\u985E\u5225\u8F09\u5165\u5668\u985E\u578B\u3002\u7121\u6CD5\u6AA2\u67E5\u9023\u7DDA"},
- };
-
- return temp;
- }
-}
--- a/test/jdk/TEST.ROOT Mon Jun 04 10:54:20 2018 -0700
+++ b/test/jdk/TEST.ROOT Mon Jun 04 19:01:16 2018 -0700
@@ -18,7 +18,7 @@
# Tests that must run in othervm mode
othervm.dirs=java/awt java/beans javax/accessibility javax/imageio javax/sound javax/swing javax/print \
-sun/applet com/apple/laf com/sun/java/accessibility com/sun/java/swing sanity/client demo/jfc \
+com/apple/laf com/sun/java/accessibility com/sun/java/swing sanity/client demo/jfc \
javax/management com/sun/awt sun/awt sun/java2d javax/xml/jaxp/testng/validation java/lang/ProcessHandle
# Tests that cannot run concurrently
--- a/test/jdk/TEST.groups Mon Jun 04 10:54:20 2018 -0700
+++ b/test/jdk/TEST.groups Mon Jun 04 19:01:16 2018 -0700
@@ -30,7 +30,7 @@
:tier1_part1 \
:tier1_part2 \
:tier1_part3
-
+
tier1_part1 = \
:jdk_lang
@@ -74,7 +74,7 @@
tier2_part3 = \
:jdk_net
-
+
tier3 = \
:jdk_rmi \
:jdk_beans \
@@ -354,8 +354,7 @@
com/sun/awt \
com/apple/eawt \
com/apple/laf \
- sun/awt \
- sun/applet
+ sun/awt
jdk_2d = \
javax/print \
--- a/test/jdk/sun/applet/DeprecatedAppletViewer/DeprecatedAppletViewer.java Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-/*
- * Copyright (c) 2016, Oracle and/or its affiliates. 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
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-import java.io.ByteArrayOutputStream;
-import java.io.PrintStream;
-
-/**
- * @test
- * @bug 8074165
- * @modules java.desktop/sun.applet
- * @run main/othervm -Duser.language=en DeprecatedAppletViewer
- */
-public final class DeprecatedAppletViewer {
-
- private static final String TEXT
- = "Warning: Applet API and AppletViewer are deprecated.";
-
- public static void main(final String[] args) {
- final PrintStream old = System.err;
- final ByteArrayOutputStream baos = new ByteArrayOutputStream(1000);
- final PrintStream ps = new PrintStream(baos);
- try {
- System.setErr(ps);
- sun.applet.Main.main(new String[]{});
- } finally {
- System.setErr(old);
- }
-
- final String text = new String(baos.toByteArray());
- if (!text.contains(TEXT)) {
- System.err.println("The text should contain: \"" + TEXT + "\"");
- System.err.println("But the current text is: ");
- System.err.println(text);
- throw new RuntimeException("Error");
- }
- }
-}
--- a/test/jdk/sun/applet/TEST.properties Mon Jun 04 10:54:20 2018 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-modules=java.desktop
-