| Vector (with jre1.6.0?) [message #193652] |
Mon, 12 February 2007 23:20  |
Eclipse User |
|
|
|
Originally posted by: emf.NOSPAM.email.com
I had a program that contained the line:
Vector<String> v = new Vector<String>(10);
that used to run OK. Now, however, Vector is redlined with the comment:
The type Vector is not generic; it cannot be parameterized with
arguments <String>
and <String> is relined with the comment:
Syntax Error, parameterized types are only available if source level is 5.0
What is wrong? I have upgraded to jre1.6.0. Is this version handles
differently vectors? How can I correct the problem?
-Eustace
--
JavaScript Date Calculator
http://www.geocities.com/emfrilingos/tm/datecalc.html
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09872 seconds