Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 387576

Summary: IllegalArgumentException on IMethodBinding.getJavaElement
Product: [Eclipse Project] JDT Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: stephan.herrmann, tomasz.zarna
Version: 3.8   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard: stalebug
Attachments:
Description Flags
Failing test none

Description Sebastian Zarnekow CLA 2012-08-20 06:05:02 EDT
I've obtained a binding for the following method. 

public static <A$> void p(A$ a) {}

If I try to invoke getJavaElement, I get an IllegalArgumentException.

This may be related to 

Signature.toString(String)

since it fails for the signature "QA$;" and will return A instead of A$
Comment 1 Sebastian Zarnekow CLA 2012-08-20 07:43:36 EDT
See also bug 387552
Comment 2 Tomasz Zarna CLA 2012-08-20 08:13:42 EDT
Created attachment 220043 [details]
Failing test

Comment 0 as a failing test.
Comment 3 Eclipse Genie CLA 2019-09-22 12:37:50 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Stephan Herrmann CLA 2019-09-22 13:21:45 EDT
@Sebastian, interpretation of '$' in class names is a thorny issue. Is this issue still relevant for you, or can be close it WONTFIX?