Bug 110591 - Warning with cast to org.omg.CORBA.Object
Summary: Warning with cast to org.omg.CORBA.Object
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2005-09-26 10:06 EDT by Martin Skorsky CLA
Modified: 2009-08-30 02:08 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Skorsky CLA 2005-09-26 10:06:48 EDT
For the Java source containing
...
(org.omg.CORBA.Object)value
...
the Java compiler warns: Unnecessary cast to Object. I guess this cast is
necessary, since it is a CORBA Object. 'value' is of any type.
Comment 1 Olivier Thomann CLA 2005-09-26 10:08:26 EDT
Could you please provide a complete test case?
Comment 2 Olivier Thomann CLA 2005-10-17 15:25:09 EDT
Please reopen once the requested info is available.
Comment 3 Frederic Fusier CLA 2006-02-03 06:11:43 EST
Close as there have been no activity for more than 3 months.
Comment 4 Denis Roy CLA 2009-08-30 02:08:03 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.