Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Open Discussion topics (https://www.gnutellaforums.com/open-discussion-topics/)
-   -   Can't compile generics? (https://www.gnutellaforums.com/open-discussion-topics/48071-cant-compile-generics.html)

oopsdude November 8th, 2005 03:20 PM

Can't compile generics?
 
Hi everyone,

I'm writing a class for the gui that uses generics, but when I try to compile, I get this error:

Code:

generics are not supported in -source 1.3 (try -source 1.5 to enable generics)
How do I tell Ant to compile with this parameter? Should I use generics at all if it requires everyone else to update their build configurations? The class is a lot easier and cleaner if I do use generics.

Thanks in advance!


All times are GMT -7. The time now is 07:30 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.