Skip to content
Commit 9a16963e authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

(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.)

CCBUG:335478
parent d040bf99
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment