[umbrello-devel] [umbrello] [Bug 335478] umbrello crash after Java import via wizard

Oliver Kellogg okellogg at users.sourceforge.net
Thu May 29 11:05:41 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=335478

--- Comment #3 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Git commit c9c85d7e7a4377207e42be29e58453893ce217f3 by Oliver Kellogg.
Committed on 29/05/2014 at 11:05.
Pushed by okellogg into branch 'master'.

(In reply to comment #1)
> it seems, the import does not crash using a single java file using the
> default, i.e. no, package - my original files I wanted to import reside
> inside real packages

It might be that the problem is fixed coincidentally by following change
but without a reproducer there is no way of knowing.

umbrello/codeimport/nativeimportbase.{h,cpp}
- Change member m_parsedFiles to `static'.
  Reason: The files parsed shall be accumulated across all instances of
  NativeImportBase. See e.g. umbrello/codeimport/javaimport.cpp function
  spawnImport() : A new JavaImport importer is created for each file.
  However, m_parsedFiles shall span across all these instances.

umbrello/codeimport/nativeimportbase.cpp
- Additional fix in function preprocess() :
  A Java input line such as
    //***** this is a single line comment *****
  was erroneously treated as a multi line comment opener.
  (Notice the embedded /* which was misinterpreted.)

M  +11   -0    umbrello/codeimport/nativeimportbase.cpp
M  +1    -1    umbrello/codeimport/nativeimportbase.h

http://commits.kde.org/umbrello/c9c85d7e7a4377207e42be29e58453893ce217f3

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list