src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/PropertiesHelper.java
equal
deleted
inserted
replaced
55 * |
55 * |
56 * @param context the current nashorn Context |
56 * @param context the current nashorn Context |
57 */ |
57 */ |
58 PropertiesHelper(final Context context) { |
58 PropertiesHelper(final Context context) { |
59 try { |
59 try { |
60 this.pkgsHelper = new PackagesHelper(context); |
60 this.pkgsHelper = PackagesHelper.create(context); |
61 } catch (final IOException exp) { |
61 } catch (final IOException exp) { |
62 if (Main.DEBUG) { |
62 if (Main.DEBUG) { |
63 exp.printStackTrace(); |
63 exp.printStackTrace(); |
64 } |
64 } |
65 this.pkgsHelper = null; |
65 this.pkgsHelper = null; |