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

9
LINES

< > BotCompany Repo | #1031471 // Test loadClass with packages and inner classes

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 1113K of libraries. Click here for Pure Java version (6753L/36K).

!7

cmodule2 TestLoadClass > DynTestModule {
  void test ctex {
    ClassLoader cl = classLoader(mc());
    assertExceptionVerbose(r { cl.loadClass("loadableUtils.utils.GlobalID") });
    assertNotNullVerbose(cl.loadClass("loadableUtils.utils$GlobalID"));
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1031471
Snippet name: Test loadClass with packages and inner classes
Eternal ID of this version: #1031471/7
Text MD5: 1e4fccf1e25fb3db40d6b746db600eee
Transpilation MD5: c39cee50f08852321c1fe54c59bed2d0
Author: stefan
Category: javax
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-14 05:10:18
Source code size: 269 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 109 / 389
Version history: 6 change(s)
Referenced in: [show references]