[osflash] flashviewer?

Simon Collins osflash at scollins.fastmail.fm
Wed Aug 24 09:42:59 PDT 2005


Do you have both JDK1.4 and 1.5 installed? Looks like the compiler is 
looking at the 1.4 runtime libraries when compiling which wont have the 
generic (parametised) versions of HashMap etc that are in 1.5 (generics 
is new to 1.5).

hosey hosey wrote:

> When compiling from source I get a few errors, that I am not familiar 
> with:
>
> The type HashMap is not generic; it cannot be parameterized with 
> arguments <String, WebBrowser>  
> on line 58 in FlashView.java:
> private final Map<String, WebBrowser> _swfs = new HashMap<String, 
> WebBrowser>();
>
> also
>
> _swfs cannot be resolved
> on line 97 FlashView.java:
> WebBrowser swf = _swfs.get(path);
>
> any ideas?
>
> Thanks
> Hosey





More information about the osflash mailing list