History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-3419
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Eugene Vigdorchik
Reporter: Fred Simon
Votes: 0
Watchers: 0
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

Warnings in Java5 compilation of varargs does not show in editor

Created: 27 Jul 05 13:41   Updated: 22 Feb 06 22:10
Component/s: Editor. Error Highlighting
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows java 5

Build: 3,425
Severity: High


 Description  « Hide
I get a lot of warnings like:
[javac] MonitorProjectData.java:104: warning: non-varargs call of varargs method with inexact
argument type for last parameter;
[javac] cast to java.lang.Object for a varargs call
[javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
[javac] m_description = MessageFormat.format(PROJECT_DESCRIPTION_FORMAT_TEXT,new String[]{m_path,RUNNING_TEXT,timeFrameString});
[javac] ^

And nothing shows (warning, errors, intention pack) in the editor



 All   Comments   Work Log   Change History      Sort Order:
Miguel Munoz - 22 Feb 06 22:10
To further complicate matters, you can remove the compiler warning by casting the String array to an Object array. Unfortunately, this generates a warning in IDEA that says "Unnecessary Cast."