Summary: | [1.5] void.class is incompatible with Void.TYPE | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> | ||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.1 | ||||||
Target Milestone: | 3.1 M5 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Olivier Thomann
2005-01-14 13:04:15 EST
We report: 1. ERROR in c:\tests_sources\X.java (at line 3) System.out.println(void.class == Void.TYPE); ^^^^^^^^^^^^^^^^^^^^^^^ Incompatible operand types Class<void> and Class<Void> In 1.4 we compile fine and it returns true. Created attachment 17169 [details]
Apply on HEAD
Fixed and released in HEAD. Regression test added in AutoBoxingTest.test082 Verified in I20050215-2300 |