harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paulex Yang <paulex.y...@gmail.com>
Subject Re: [apps] azureus (was Re: [testing] AWT, Swing Java2D)
Date Tue, 20 Jun 2006 08:01:11 GMT
Anton and Tim,

FYI, the Selector implementation has been merged into SVN as patch of 
Harmony-41 at revision 415279. So it should be ready to use now. Thank you.

Tim Ellison wrote:
> Anton Luht wrote:
>   
>> Good day,
>>
>> I've tried to run Azureus, too, and saw all those problems (no SSL
>> provider, NotYetBoundException), too.
>>
>> I've also seen messages
>> 'VirtualChannelSelector.select() op called with null selector'
>>
>> Digging the code I've found that the problem is that Selector.open()
>> returns null (not null in RI)
>>     
>
> How did you get past the initialization part?
> I have put my experiences here:
>     http://wiki.apache.org/harmony/Azureus
>
>   
>> Test case is:
>>
>> public class Test {
>>    public static void main(String args[]) throws Exception {
>>      System.err.println(java.nio.channels.Selector.open() != null ?
>>         "PASSED" : "FAILED");
>>    }
>> }
>>     
>
> Hmm, the Harmony impl looks like this:
>
> 	public AbstractSelector openSelector() throws IOException {
> //		return new SelectorImpl(this);
> 		//FIXME: wait for JIRA-41
> 		return null;
> 	}
>
> Time to speak to Paulex nicely and see if he is working on it ;-)
>
> Regards,
> Tim
>
>   
>> I've built RE manually using today SVN snapshot (412715) and
>> Harmony-vme-win.IA32-v3.zip as described in Harmony documentation
>>
>>
>> On 6/6/06, Mark Hindess <mark.hindess@googlemail.com> wrote:
>>     
>>> On 5 June 2006 at 19:07, "R.J. Lorimer" <rjlorimer@coffee-bytes.com>
>>> wrote:
>>>       
>>>> For the record (I didn't gather this anywhere from this discussion),
>>>>
>>>> Azureus (while being a very non-trivial and cool Java application), is
>>>> not written in AWT/Swing, it is written with SWT (the same as Eclipse).
>>>> It's probably a good application to interact with for testing, but it's
>>>> not an AWT/Swing test.
>>>>         
>>> So I theory, this might run now!
>>>
>>> I tried running it but get lots of error output like:
>>>
>>> DEBUG::Tue Jun 06 08:29:39 BST
>>> 2006::com.aelitis.azureus.core.networkmanager.impl.VirtualBlockingServerChannelSelector::accept_loop::138:
>>>
>>>   
>>> VirtualBlockingServerChannelSelector$1::runSupport::85,AEThread::run::69
>>> java.nio.channels.NotYetBoundException
>>>        at
>>> org.apache.harmony.nio.internal.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:125)
>>>
>>>        at
>>> com.aelitis.azureus.core.networkmanager.impl.VirtualBlockingServerChannelSelector.accept_loop(VirtualBlockingServerChannelSelector.java:129)
>>>
>>>        at
>>> com.aelitis.azureus.core.networkmanager.impl.VirtualBlockingServerChannelSelector$1.runSupport(VirtualBlockingServerChannelSelector.java:85)
>>>
>>>        at org.gudy.azureus2.core3.util.AEThread.run(AEThread.java:69)
>>>
>>> Definitely seems like a good thing to get working - it certainly
>>> exercises quite a bit of the networking code.
>>>
>>> Regards,
>>>  Mark.
>>>
>>>       
>>>> Thorbjørn Ravn Andersen wrote:
>>>>         
>>>>> Anton Luht skrev  den 05-06-2006 19:21:
>>>>>           
>>>>>> (http://sourceforge.net/top/topalltime.php?type=downloads) and found
>>>>>> at least one project that  was never mentioned in this list: Azureus
>>>>>> (a BitTorent client). It has 118,5 millions of downloads and scores
>>>>>> 8,700,000 in Google search.
>>>>>>             
>>>>> I second that.  Just downloaded the latest, and it is defintiively a
>>>>> non-trivial application, which also knows how to open holes in uPnP
>>>>> firewalls etc, has custom look-and-feel and very evidently is
>>>>> multithreaded.
>>>>>           
>>>
>>> ---------------------------------------------------------------------
>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>>
>>>
>>>       
>>     
>
>   


-- 
Paulex Yang
China Software Development Lab
IBM



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message