You are right though - github searches are not returning those instance - 
but the actual file has those code.
Am I looking at a wrong version?


On Thursday, September 12, 2013 4:06:03 PM UTC-4, Jens wrote:
>
>
> I am looking for an implementation of a Directed Graph for my GWT project 
>> - came across jgrapht - but porting it to GWT with all 
>> "CloneNotSupportedException" / "Object.clone()" / "newInstance()"  issues 
>> proved to be troublesome.
>>
>
> Looks like JGraphT does not use newInstance() in the library itself, only 
> in a test case. GWT trunk already emulates CloneNotSupportedException so 
> implementing clone() methods would also work. But be aware that GWT does 
> not provide an implementation of Object.clone() so at some point you must 
> create the instance on your own instead of calling super.clone(). 
>
> But maybe you don't even need to emulate clone() because the only library 
> class that calls .clone() is an adapter class for JGraph <-> JGraphT living 
> outside of jgrapht-core.
>
> So I think jgrapht-core can made GWT ready without major issues.
>
> Search ".newInstance()": 
> https://github.com/jgrapht/jgrapht/search?q=.newInstance%28%29&type=Code
> Search ".clone()": 
> https://github.com/jgrapht/jgrapht/search?q=.clone%28%29&type=Code
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to