Hi Ben,

I was using JDK 1.5, and haven't got this error. If you are using JDK 1.6,
possibly we might have to change it as you suggested. In that case, can you
create a patch and attach it to jira?

Regards,
Shankar

On Thu, Apr 23, 2009 at 1:30 AM, Ben Dewey <[email protected]> wrote:

> I am getting the following error building the WSAS services
>
> C:\StockTrader\stocktrader\wsas\business_service\src\org\apache\stonehenge\stocktrader\services\TradeServiceImpl.java:[317,34]
> nam
> e clash:
> toArray(java.util.List<org.apache.stonehenge.stocktrader.CustomHoldingBean>)
> and toArray(java.util.List<org.apache.stoneh
> enge.stocktrader.CustomOrderBean>) have the same erasure
>
> I fixed it by changing toArray to toHoldingsArray in two places.  Is this
> specific to my JDK?  Or a Bug?
>
> Ben Dewey
>



-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"

Reply via email to