This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Casting / Inheritance Problem
- To: Jon Beniston <jb7216 at bristol dot ac dot uk>
- Subject: Re: Casting / Inheritance Problem
- From: Jeff Sturm <jsturm at sigma6 dot com>
- Date: Sun, 16 Jan 2000 12:50:44 -0500 (EST)
- cc: java-discuss at sourceware dot cygnus dot com
On Sun, 16 Jan 2000, Jon Beniston wrote:
> Object o = System.getSecurityManager();
>
> Test.java:7: Incompatible type for declaration. Can't convert
> `java.lang.SecurityManager' to `java.lang.Object'.
> Object o = System.getSecurityManager();
I don't have that problem. What compiler are you using? A snapshot?
--
Jeff Sturm
jsturm@sigma6.com