This is the second time i saw JDK1.5 yes i know it in early development phase, but where do you get the SDK, i searched the whole SUN site and don't found anything related to this (I mean SDK download) Can you help me out?
This is the second time i saw JDK1.5 yes i know it in early development phase, but where do you get the SDK, i searched the whole SUN site and don't found anything related to this (I mean SDK download) Can you help me out?
You don't want to set "Use Generics Enabled Compiler." You probably don't want to use IDEA's generics support with the JDK 1.5, since they use incompatible variance syntaxes. IDEA supports the old List<+Number> syntax, while the official syntax for 1.5, and in the beta, is the List<? extends Number> syntax. Mixing these causes IDEA to mark errors where there aren't really any.
You don't want to set "Use Generics Enabled Compiler." You probably don't want to use IDEA's generics support with the JDK 1.5, since they use incompatible variance syntaxes. IDEA supports the old List<+Number> syntax
I am afraid IDEA does not support even that.
Friendly, Dmitry -- Dmitry Lomov Software Developer JetBrains Inc. http://www.jetbrains.com "Develop with pleasure!"
It work fine, i can compile my generics and generate generics javadoc, at
least :)
"Mark Derricutt" <mark@talios.com> wrote in message
news:pan.2004.02.04.10.34.06.951583@talios.com...
;)
>
>
This is the second time i saw JDK1.5
yes i know it in early development phase, but
where do you get the SDK, i searched the whole
SUN site and don't found anything related to this
(I mean SDK download)
Can you help me out?
Ercan Oezkan wrote:
http://www.javalobby.org/members/j2se15.jsp
To save everyone going through the same confusion I had:
You have to add "-source 1.5" to the Compiler option "Additional Javac command line parameters".
to get generics to compile.
http://java.sun.com/developer/earlyAccess/j2sdk150_alpha/
there is a download link(button) which takes you to the a early access login page and once you login .. you can download
hope that helps
cheers,
parthi.
Thanks for helping me out,
another question where to find the Documentation,
is there some available?
Actually, you probably want to use the beta that came out today instead:
http://java.sun.com/j2se/1.5.0/index.jsp
-mike
Chris Sherratt wrote:
I tried this and it didn't seem to work for me. My problem is
that I get a message to the effect that collect.jar is not found.
Presumably the reason it works for you is that you are really
depending on collect.jar from an earlier installation.
--
Ted Dunning
You don't want to set "Use Generics Enabled Compiler." You probably don't want to use IDEA's generics support with the JDK 1.5, since they use incompatible variance syntaxes. IDEA supports the old List<+Number> syntax, while the official syntax for 1.5, and in the beta, is the List<? extends Number> syntax. Mixing these causes IDEA to mark errors where there aren't really any.
cheers for the link
parthi.
Keith Lea wrote:
I am afraid IDEA does not support even that.
Friendly,
Dmitry
--
Dmitry Lomov
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
I thought IDEA supported adding-generics-2.0, which used the +- syntax, didn't it?