diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-03 06:34:54 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-03 06:34:54 +0000 |
commit | 758ec996ac31713c4cfc610bde5f252a16cb2ff0 (patch) | |
tree | ac0ed68c1f1f1e55b9a1fff4c4272564ac145606 /libjava/java/awt/AWTPermission.java | |
parent | 49f0327b7ddfd2e2ecdd61eda95c6630ed2e58f4 (diff) | |
download | ppe42-gcc-758ec996ac31713c4cfc610bde5f252a16cb2ff0.tar.gz ppe42-gcc-758ec996ac31713c4cfc610bde5f252a16cb2ff0.zip |
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.
* java/awt/CardLayout.java: New file.
* java/awt/AWTPermission.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37965 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/awt/AWTPermission.java')
-rw-r--r-- | libjava/java/awt/AWTPermission.java | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/libjava/java/awt/AWTPermission.java b/libjava/java/awt/AWTPermission.java new file mode 100644 index 00000000000..b4cf1938fa9 --- /dev/null +++ b/libjava/java/awt/AWTPermission.java @@ -0,0 +1,44 @@ +// AWTPermission.java - AWT permissions + +/* Copyright (C) 2000 Free Software Foundation + + This file is part of libgcj. + +This software is copyrighted work licensed under the terms of the +Libgcj License. Please consult the file "LIBGCJ_LICENSE" for +details. */ + +/** + * @author Tom Tromey <tromey@redhat.com> + * @date December 2, 2000 + */ + +package java.awt; + +import java.security.BasicPermission; + +/** + * This class implements permissions for AWT. This is a named + * permission. No actions are defined. + */ +public final class AWTPermission extends BasicPermission +{ + /** + * Construct a AWTPermission with the given name. + * @param name The permission name + */ + public AWTPermission (String name) + { + super (name); + } + + /** + * Construct a AWTPermission with the given name. + * @param name The permission name + * @param actions The actions; this is ignored and should be null. + */ + public AWTPermission (String name, String actions) + { + super (name, actions); + } +} |