Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (22 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/libjava/java/security/Provider.java

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    11/* Provider.java -- Security provider information
    2    Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
     2   Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
    33
    44This file is part of GNU Classpath.
     
    5757public abstract class Provider extends Properties implements Serializable
    5858{
     59
     60
    5961  /**
    6062   * This is a textual description of the provider
     
    118120
    119121  /**
    120    * This method sets the specified key to have the specified value.
    121    *
    122    * @param key The property key
    123    * @param value The property value
    124    *
    125    * @return The previous value for this key, or <code>null</code> if no previous value.
     122   * Sets the key property to have the specified value.
     123   * <p>
     124   * <bold>NOT IMPLEMENTED YET</bold>[
     125   * First, if there is a security manager, its <code>checkSecurityAccess</code>
     126   * method is called with the string "putProviderProperty."+name, where name is
     127   * the provider name, to see if it's ok to set this provider's property
     128   * values.
     129   * If the default implementation of <code>checkSecurityAccess</code> is used
     130   * (that is, that method is not overriden), then this results in a call to the
     131   * security manager's <code>checkPermission</code> method with a
     132   * <code>SecurityPermission("putProviderProperty."+name)</code>
     133   * permission.<br>]
     134   *
     135   * @param key The property key.
     136   * @param value The property value.
     137   *
     138   * @return The previous value of the specified property (<code>key</code>),
     139   *         or <code>null</code> if it did not have one.
     140   * @throws SecurityException If a security manager exists and its
     141   * {@link java.lang.SecurityManager.checkSecurityAccess(java.lang.String)}
     142   * method denies access to set property values.
     143   * @since Classpath 0.4+cvs, JDK 1.2
     144   * @see java.lang.Object.equals(Object)
     145   * @see java.util.Hashtable.get(Object)
    126146   */
    127147  public Object put(Object key, Object value)
    128148  {
    129     return (super.put(key, value));
     149    return super.put(toCanonicalKey(key), value);
     150  }
     151 
     152  // overrides same in java.util.Hashtable
     153  public Object get(Object key)
     154  {
     155    return super.get(toCanonicalKey(key));
    130156  }
    131157
     
    136162   * @param key The key to remove
    137163   *
    138    * @return The previous value for this key, or <code>null</code> if no previous value.
     164   * @return The previous value for this key, or <code>null</code> if no
     165   * previous value.
    139166   */
    140167  public Object remove(Object key)
    141168  {
    142     return (super.remove(key));
     169    return (key));
    143170  }
    144171
     
    165192            version);
    166193  }
     194
     195
     196
     197
     198
     199
     200
     201
    167202}
Note: See TracChangeset for help on using the changeset viewer.