| Summary: | Signature.toCharArray(..) doesn't fail when the signature is invalid | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> | ||||
| Component: | Core | Assignee: | Stephan Herrmann <stephan.herrmann> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | stephan.herrmann | ||||
| Version: | 3.6 | ||||||
| Target Milestone: | 4.15 M3 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 161195 [details]
Proposed fix
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. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. 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. I guess it's too late to make this method stricter. Clients may already depend on this resilience. => WONTFIX looks good to me. |
A signature for a method must either start with '(' or '<'. The signature in test: org.eclipse.jdt.core.tests.model.SignatureTests#testToStringMethod07 is invalid. main([Ljava.lang.String;)Ljava.lang.String; This should be rejected with an IllegalArgumentException.