avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leif Mortenson <l...@tanukisoftware.com>
Subject Re: JProcess Test compile failure
Date Fri, 16 Aug 2002 01:57:42 GMT
Peter Donald wrote:

>On Thu, 15 Aug 2002 08:26, Leif Mortenson wrote:
>  
>
>>The test DemuxPolicyTestCase currently does not compile under Java 1.4.
>> Wasn't sure what
>>the author intended here, so I commented out this test for now.  See
>>compile-test task of its
>>build file.
>>    
>>
>
>It should be CodeSource so if you make it 
>
>m_result = m_demux.getPermissions( (CodeSOurce)null );
>
>That should work :)
>
Ha.  Even after all the years I've been using Java.  Can still learn a 
new trick. :-)

Thanks, committed.
Leif

>
>  
>
>>Cheers,
>>Leif
>>
>>compile-test:
>>    [javac] Compiling 1 source file to
>>C:\Jakarta\jakarta-avalon-excalibur\jprocess\build\testclasses
>>    [javac]
>>C:\Jakarta\jakarta-avalon-excalibur\jprocess\build\testsrc\org\apache\excal
>>ibur\jprocess\test\DemuxPolicyTestCase.java:127: reference to getPermissions
>>is ambiguous, both method
>>getPermissions(java.security.CodeSource) in java.security.Policy and
>>method getPermissions(java.security.CodeSource) in
>>org.apache.excalibur.jprocess.DemuxPolicy match
>>    [javac]             m_result = m_demux.getPermissions( null );
>>    [javac]                               ^
>>    [javac] 1 error
>>    
>>
>
>  
>



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


Mime
View raw message