We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 733e101 commit 920c457Copy full SHA for 920c457
1 file changed
ModuleConfig.cfc
@@ -39,13 +39,10 @@ component {
39
* Fired when the module is registered and activated.
40
*/
41
function onLoad(){
42
- var isBoxLang = structKeyExists( server, "boxlang" );
43
-
44
- // Bind Core JavaLoader only for non-BoxLang runtimes; BoxLang uses native class loading
45
- if ( !isBoxLang ) {
46
- binder.map( "jl@cbjavaloader" ).to( "#moduleMapping#.models.javaloader.JavaLoader" );
47
- }
+ // Always bind Core JavaLoader; Loader.setup() will determine the actual strategy
+ binder.map( "jl@cbjavaloader" ).to( "#moduleMapping#.models.javaloader.JavaLoader" );
48
+ var isBoxLang = structKeyExists( server, "boxlang" );
49
// Duplicating so our final change won't affect the main module settings
50
var finalSettings = duplicate( settings );
51
0 commit comments