Bug 79641

Summary: boolean autoboxing does not work with Object varargs
Product: [Eclipse Project] JDT Reporter: Garret Wilson <garret>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Garret Wilson CLA 2004-11-28 16:47:08 EST
Eclipse cannot find a vararg Object method when passed a boolean to be
autoboxed. For example:

public void test1()
{
  test2(true);
}

public void test2(final Object... objects)
{
}

I didn't take the time to make sure this is part of the specification, but it
seems to compile fine on NetBeans.
Comment 1 Olivier Thomann CLA 2004-11-29 09:56:11 EST
Autoboxing is not supported yet.
Comment 2 Kent Johnson CLA 2004-12-08 11:08:05 EST
Added AutoBoxing test #25
Comment 3 Olivier Thomann CLA 2004-12-14 23:14:03 EST
Verified in 200412140800