Bug 395672 - Java import fails to identify "String..." parameter as "String[]"
Summary: Java import fails to identify "String..." parameter as "String[]"
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: importer (show other bugs)
Version: 2.25.1 (KDE Applications 18.04.1)
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-21 03:08 UTC by aplatypus
Modified: 2018-11-29 08:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.26.90 (KDE Applications 18.11.90)
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aplatypus 2018-06-21 03:08:43 UTC
The following method causea s pop-up message (below) ...

   private void registerDynamicConfigObject( String ... aliases )

Pop-up was:

   String already exists -- Supply a new name

I entered "StringX" and importer created a StringX class and changed the parameter signature.
Comment 1 Ralf Habacker 2018-06-21 07:09:03 UTC
The message indicates that the Java parser has tried to create a class in the current namespace and found an existing class called 'String'.

Since this can be a problem with the Java parser in Umbrello, it would be nice to get a Java test file or, if you are using publicly available Java code, a link to reproduce the problem with an umbrello debug image.
Comment 2 Christoph Feck 2018-07-18 21:14:20 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 Christoph Feck 2018-08-02 21:16:34 UTC
To further investigate this issue, KDE developers need the information requested in comment #1. If you can provide it, or need help with finding that information, please add a comment.
Comment 4 Christoph Feck 2018-08-30 22:17:21 UTC
No response, changing status. If you have new information, please add a comment.
Comment 5 Oliver Kellogg 2018-11-28 22:23:39 UTC
BTW, this has recently been implemented.
See bug 401290 and https://phabricator.kde.org/D17108