GitLab will be upgraded to the 12.10.14-ce.0 on 28 Sept 2020 at 2.00pm (AEDT) to 2.30pm (AEDT). During the update, GitLab and Mattermost services will not be available. If you have any concerns with this, please talk to us at N110 (b) CSIT building.

Commit d3108714 authored by Stefan Marr's avatar Stefan Marr

Give proper error if loading of a system class failed.

Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent eb74900b
......@@ -554,6 +554,13 @@ class Universe(object):
# Load the system class
result = self._load_class(system_class.get_name(), system_class)
if not result:
error_println(system_class.get_name().get_string()
+ " class could not be loaded. It is likely that the "
+ " class path has not been initialized properly. "
+ "Please make sure that the '-cp' parameter is given on the command-line.")
self.exit(200)
# Load primitives if necessary
if result.has_primitives():
result.load_primitives()
......
Markdown is supported
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