Skip to content
Commit 372b1e02 authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

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

CCBUG:368453
parent 2a01d534
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