PropertyChangeEvent.java (oldVal): Renamed to oldValue.
* java/beans/PropertyChangeEvent.java (oldVal): Renamed to oldValue. (newVal): Renamed to newValue. * java/beans/PropertyVetoException.java (changeEvent): Renamed to evt. * java/beans/beancontext/BeanContextServiceRevokedEvent.java (revokeNow): Renamed to invalidateRefs. * java/io/OptionalDataException.java: Updated FIXME. (eof): New placeholder field. (length); Ditto. * java/io/WriteAbortedException.java (message): Made transient. * java/lang/ClassNotFoundException.java: Updated comments for JDK 1.2. * java/lang/Throwable.java (stackTrace): Made transient. * java/net/InetAddress.java: Made Serializable. * java/security/KeyPair.java: Made Serializable. * java/security/Provider.java: Replaced with Classpath version that implements serialization and proper methods. * java/text/ChoiceFormat.java (strings): Renamed to choiceFormats. (limits): Renamed to choiceLimits. Serialization changes per: http://java.sun.com/products/jdk/1.2/docs/api/serialized-form.html From-SVN: r34726
This commit is contained in:
parent
cf1748bfce
commit
7b245d2461
12 changed files with 271 additions and 97 deletions
|
@ -1,5 +1,5 @@
|
|||
/* java.beans.beancontext.BeanContextServiceRevokedEvent
|
||||
Copyright (C) 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
|
@ -41,7 +41,7 @@ public class BeanContextServiceRevokedEvent extends BeanContextEvent {
|
|||
* available.
|
||||
*/
|
||||
protected Class serviceClass;
|
||||
private boolean revokeNow;
|
||||
private boolean invalidateRefs;
|
||||
|
||||
/**
|
||||
* Create a new service revoked event.
|
||||
|
@ -55,7 +55,7 @@ public class BeanContextServiceRevokedEvent extends BeanContextEvent {
|
|||
public BeanContextServiceRevokedEvent(BeanContextServices services, Class serviceClass, boolean revokeNow) {
|
||||
super(services);
|
||||
this.serviceClass = serviceClass;
|
||||
this.revokeNow = revokeNow;
|
||||
invalidateRefs = revokeNow;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -94,6 +94,6 @@ public class BeanContextServiceRevokedEvent extends BeanContextEvent {
|
|||
* usable.
|
||||
*/
|
||||
public boolean isCurrentServiceInvalidNow() {
|
||||
return revokeNow;
|
||||
return invalidateRefs;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue