[Uml-devel] [Bug 230770] Segfault importing Java code (project and single class) into Umbrello [QString::operator==, JavaImport::joinTypename, JavaImport::parseStmt]

Oliver Kellogg okellogg at users.sourceforge.net
Mon Feb 13 20:58:36 UTC 2012


Oliver Kellogg <okellogg at users.sourceforge.net> changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #13 from Oliver Kellogg <okellogg users sourceforge net>  2012-02-13 20:58:35 ---
SVN commit 1279959 by okellogg:

(In reply to comment #12)
> [...]
> I see lots of marked-as-duplicates and backtraces but not one single Java
> code attachment to reproduce this with.

Okay, I looked at the marked-as-duplicates such as
and it seems we are talking about Java variable-length parameters (three
dots following the type name.) Here is the fix for that.

Import_Utils::createUMLObject(): If typeName.contains("...") then we are
dealing with a Java variable-length parameter. Handle this case specially:
- Set type to UMLObject::ot_Datatype
- Set parentPkg to umldoc->datatypeFolder()
- Set isAdorned false (to preserve ot_Datatype and prevent second creation)

 M  +6 -1      import_utils.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1279959

Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the umbrello-devel mailing list