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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to