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

5
LINES

< > BotCompany Repo | #1031834 // addLibraryToClassLoader

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

Libraryless. Click here for Pure Java version (10438L/64K).

sbool addLibraryToClassLoader(ClassLoader cl, S libraryID) ctex {
  if (isTrue(callOpt(cl, "hasLibraryID", libraryID))) false;
  
  ret addByteCodePathToClassLoader(cl, loadLibraryOrSrcLib(libraryID), libraryID);
}

Author comment

Began life as a copy of #1031479

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1031834
Snippet name: addLibraryToClassLoader
Eternal ID of this version: #1031834/6
Text MD5: d56fd6c652c060a118d644988b8999ef
Transpilation MD5: 4c6a0ff608ae67ea6facd0e65174e51f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-05 23:37:32
Source code size: 220 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 105 / 160
Version history: 5 change(s)
Referenced in: [show references]