classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TODO list for the next release


From: Mark Wielaard
Subject: Re: TODO list for the next release
Date: 03 Feb 2002 18:52:35 +0100

Hi,

On Sun, 2002-02-03 at 18:25, Mark Wielaard wrote:
> The one for gcc 3.1 (CVS) is:
> 
> --- vm/reference/java/lang/Class.java 22 Jan 2002 22:27:03 -0000      1.14
> +++ vm/reference/java/lang/Class.java 3 Feb 2002 17:05:22 -0000
> @@ -68,7 +68,7 @@
>  
>  public class Class {
>      private Object[] signers = null;
> -    private ProtectionDomain protectionDomain = null;
> +    private ProtectionDomain pd = null;
>      
>      // The unknown protection domain.
>      private final static ProtectionDomain unknownProtectionDomain;
> @@ -546,10 +546,10 @@
>          if (sm != null)
>              sm.checkPermission(protectionDomainPermission);
>  
> -        if (protectionDomain == null)
> +        if (pd == null)
>              return unknownProtectionDomain;
>          else
> -            return protectionDomain;
> +            return pd;
>      }
>  
>  }
> 
> I have to check if this gives any problem with Orp but I don't think
> that variable is actually used at the moment.

Hmmm. ORP uses Class.setProtectionDomain() to set the initial protection
domain. But we don't provide that method at the moment. And they
actually need a whole couple of changes to the Class(Loader) mechanism
to have ORP work correctly (which have been submitted to savannah). It
is a miracle that what we have now actually works :)

Changing the variable name this does not make the situation better or
worse for our ORP interoperability. But does bring compiling with gcj
3.1 (CVS) a step closer. So I will commit it.

Cheers,

Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]