JDK 1.5 Support
Hi All,
with Pallada build 2013, we consider JDK 1.5 support in IDEA generally
complete (with minor glitches here and there, of course).
We greatly appreciate any feedback you may have on it.
Cheers,
Dmitry
--
Dmitry Lomov
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
Please sign in to leave a comment.
Still doesn't seem to understand enum. I try:
public enum Coin {
penny(1), nickel(5), dime(10), quarter(25);
Coin(int value) { this.value = value; }
private final int value;
public int value() { return value; }
}
which compiles fine but causes quite few errors in the editor.
Hi,
Please, post the issue to tracker.
Eric Snell wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
"Eric Snell" <no_mail@jetbrains.com> wrote in message
news:13849055.1082726631105.JavaMail.itn@is.intellij.net...
>
>
>
>
It actually does not. Just turn "Enable JDK 1.5 feature" checkbox on.
list = new ArrayList(); list.add(new Integer(1));]]>if the caret at the "add", then ctrl-B, it will jump into the ArrayList.class, not ArrayList.java(sourcecode), but:
if caret at "get" and ctrl-b will let me to the source code.
the samethings happend in several class
That's probably because source code is not available in jdk 1.5 for some
classes. Please check it.
"Aeros Lau" <liukai@utstar.com> wrote in message
news:10828006.1082971424598.JavaMail.itn@is.intellij.net...
>
ArrayList.class, not ArrayList.java(sourcecode), but:
>
no, the source code is ok,
in ArrayList.java:
Aeros,
do you use collect.jar/gjc-rt.jar combo or plain vanilla JDK 1.5?
Friendly,
Dmitry
Aeros Lau wrote:
--
Dmitry Lomov
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
Is the enum support supposed to be working already? IDEA doesn't recognize any of the methods from the Enum class. When you have an enum instance and you look at what methods IDEA shows it to have, it only shows the Object methods. If you invoke f.ex. name() on an enum, it displays red in IDEA but compiles and runs fine.
Hi,
Have you switched JDK 1.5 support to on?
teemu kanstren wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Hello,
Yes I have JD1.5 support turned on. I just tried it by setting up a new project with just 1 enum class and 1 normal class using the enum class. And also enabled the 1.5 support checkbox in IDEA (my other project already has it on). Everything works except that IDEA displays the enum methods inherited from the Enum class as red. I have also used generics, enhanced for loop, autoboxing, etc. in my project and everything works fine. Only the Enum class methods are red in IDEA, though they compile fine also..
Of course this could still be a problem with me now knowing how to set it all up properly.. I am using the 1.5 beta version.
"teemu kanstren" <kibaltsis@hotmail.com> wrote in message
news:2578763.1083083953102.JavaMail.itn@is.intellij.net...
any of the methods from the Enum class. When you have an enum instance and
you look at what methods IDEA shows it to have, it only shows the Object
methods. If you invoke f.ex. name() on an enum, it displays red in IDEA but
compiles and runs fine.
This is already fixed. Please wait fot the next build.
Regards,
Eugene.
I only use plain JDK 1.5 with -source 1.5 compile option.
and open the "enum" keyword support