avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: [PATCH] Bug 6025 - The System property "app.home" contains a non-String object
Date Tue, 24 Sep 2002 21:24:07 GMT
On Wed, 25 Sep 2002 02:15, Steve Short wrote:
> You also can't apply it because this method from class DefaultPolicy
> seems to have been moved to SarPolicyResolver in the latest Phoenix.  I
> also found that SimpleLogKitManager also needs to be changed - I can do
> both of these if you agree to the change.

Right. Thats not the problem though ...

> This code, wherever it lives, results in a File Object being placed into
> the system properties, this is a problem for me because it breaks
> OpenAdaptor. OpenAdaptor creates a SuperProperties object using the
> system properties as defaults and it expects these to be Strings, which
> is quite reasonable given the contract that Properties are supposed to
> fulfill.

I can't see how the code results in a File object being placed in System 
properties. Can you describe it. As far as I can see I copy all the system 
properties into a new map and pass the new map to DefaultContext.

> I doubt that there are any backward compatibility issues with this
> variable, "app.home", outside of Phoenix itself.

There are several blocks that expect it to be cast to a File object.
-- 
Cheers,

Peter Donald
Sufficiently advanced science is 
 indistinguishable from magic" 
               -- Arthur C. Clarke


--
To unsubscribe, e-mail:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>


Mime
View raw message