Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1031281 // dm_addByteCodePathToModuleClassLoader (jar or directory)

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (2762L) is out of date.

svoid dm_addByteCodePathToModuleClassLoader(File bytecode) ctex {
  ClassLoader cl = getClassLoader(dm_current_mandatory_generic());
  print("Adding to class loader " + cl + ": " + bytecode);
  call(cl, "addFile", bytecode);
}

Author comment

Began life as a copy of #1031279

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031281
Snippet name: dm_addByteCodePathToModuleClassLoader (jar or directory)
Eternal ID of this version: #1031281/5
Text MD5: 4986469e47c21058c46b5f203a4778a0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-09 04:18:57
Source code size: 232 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 102 / 150
Version history: 4 change(s)
Referenced in: [show references]