Hi Andrew, On Mon, 2006-03-27 at 22:45 +0100, Andrew John Hughes wrote: > 2006-03-27 Andrew John Hughes <[EMAIL PROTECTED]> > > * java/math/RoundingMode.java: > Fixed serialization UID. > * java/net/Proxy.java: > (Type): Likewise.
This breaks the generics branch autobuilder:
2. ERROR in ../../classpath/java/net/Proxy.java
(at line 54)
DIRECT, HTTP, SOCKS
^^^^^
Syntax error on token "SOCKS", ; expected after this token
> diff -u -3 -p -u -r1.1.2.2 Proxy.java
> --- java/net/Proxy.java 8 Mar 2006 12:01:37 -0000 1.1.2.2
> +++ java/net/Proxy.java 27 Mar 2006 21:37:08 -0000
> @@ -49,7 +49,15 @@ public class Proxy
> /**
> * Represents the proxy type.
> */
> - public enum Type { DIRECT, HTTP, SOCKS };
> + public enum Type
> + {
> + DIRECT, HTTP, SOCKS
> +
> + /**
> + * For compatability with Sun's JDK
> + */
> + private static final long serialVersionUID = -2231209257930100533L;
> + };
>
> public static final Proxy NO_PROXY = new Proxy(Type.DIRECT, null);
signature.asc
Description: This is a digitally signed message part
