Summary: | [1.5] autoboxing parameter | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Hasko Heinecke <h_heinecke> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 M5 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Hasko Heinecke
2005-01-25 15:59:52 EST
By the way, explicit conversion is a work-around: test(tgb.getSomething(true).booleanValue()); I think your test case is more something like this: public class X<T> { public T getSomething(T param) { return param; } } class Y { public void someMethod(boolean param) { // do nothing } public void test() { X<Boolean> x = new X<Boolean>(); someMethod(x.getSomething(true)); } } This does compile fine with latest. Closing as WORKSFORME. |