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

--- Comment #3 from Oliver Kellogg <okell...@users.sourceforge.net> ---
Git commit 372b1e0203847cc8ff7dc79a2a799d9a79b215f9 by Oliver Kellogg.
Committed on 11/01/2020 at 15:10.
Pushed by okellogg into branch 'release/19.12'.

Fix crash on importing Java code attached to bug 368453:
The example uses the global scope and JavaImport crashes on adding
objects in the global scope without prior defined Java package.

umbrello/codeimport/import_utils.{h,cpp}
- Add function globalScope() returning the package of the global scope.

umbrello/codeimport/nativeimportbase.cpp
- In function parseFile() do not push a null pointer as the global
  scope; instead, push Import_Utils::globalScope().

M  +9    -0    umbrello/codeimport/import_utils.cpp
M  +2    -0    umbrello/codeimport/import_utils.h
M  +1    -1    umbrello/codeimport/nativeimportbase.cpp

https://invent.kde.org/kde/umbrello/commit/372b1e0203847cc8ff7dc79a2a799d9a79b215f9

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to