@@ -14208,6 +14208,7 @@ if (ev.keyCode == 9 && ev.target["data-focuscomponent"]) {
1420814208
1420914209// Google closure compiler cannot handle Clazz.new or Clazz.super
1421014210
14211+ // BH 2025.10.16 minimizing missing package.js message
1421114212// BH 2025.04.17 adds option for explicit directory for core files different from j2sPath/core
1421214213// BH 2025.03.12 adds support for writable byte[] parameters in WASM
1421314214// BH 2025.03.06 adds support for JNA+WASM, automated loading of Java native classes if WASM is available
@@ -17104,10 +17105,13 @@ var evaluate = function(file, js) {
1710417105 else
1710517106 new Function((J2S._strict ? '"use strict";':'')+js + ";//# sourceURL="+file)();
1710617107 } catch (e) {
17107- var s = "[Java2Script] The required class file \n\n" + file + (js.indexOf("data: no") ?
17108+ var s = "[Java2Script] " + (
17109+ file.indexOf("/core/package.js") >= 0
17110+ ? file + " not found (ignored)"
17111+ : "The required class file \n\n" + file + (js.indexOf("data: no") ?
1710817112 "\nwas not found.\n"
1710917113 : "\ncould not be loaded. Script error: " + e.message + " \n\ndata:\n\n" + js) + "\n\n"
17110- + (e.stack ? e.stack : Clazz._getStackTrace());
17114+ + (e.stack ? e.stack : Clazz._getStackTrace())) ;
1711117115 Clazz._lastEvalError = s;
1711217116 if (Clazz._isQuietLoad)
1711317117 return;
@@ -17212,7 +17216,7 @@ Clazz.loadScript = function(file, nameForList) {
1721217216 Clazz.ClassFilesLoaded.pop();
1721317217 _Loader.onScriptLoaded(file, e, data);
1721417218 var s = ""+e;
17215- if (data.indexOf("Error") >= 0)
17219+ if (data && data .indexOf("Error") >= 0)
1721617220 s = data;
1721717221 if (s.indexOf("missing ] after element list")>= 0)
1721817222 s = "File not found";
0 commit comments