libgcj/135: Can't convert `java.lang.SecurityManager' to `java.lang.Object'

jb7216@bristol.ac.uk jb7216@bristol.ac.uk
Sat Jan 15 19:50:00 GMT 2000


>Number:         135
>Category:       libgcj
>Synopsis:       Can't convert `java.lang.SecurityManager' to `java.lang.Object'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tromey
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 15 19:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     jb7216@bristol.ac.uk
>Release:        2.95.1
>Organization:
>Environment:
NT
>Description:
Object o = System.getSecurityManager();

When compiling GCJ emits:

Test.java:7: Incompatible type for declaration. Can't convert `java.lang.SecurityManager' to `java.lang.Object'.

                Object o = System.getSecurityManager();
                       ^

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Java-prs mailing list