Bug 395672

Summary: Java import fails to identify "String..." parameter as "String[]"
Product: [Applications] umbrello Reporter: aplatypus <william.full.moon>
Component: importerAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal CC: okellogg, ralf.habacker
Priority: NOR    
Version: 2.25.1 (KDE Applications 18.04.1)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 2.26.90 (KDE Applications 18.11.90)

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