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).

1  
!7
2  
3  
cmodule2 TestLoadClass > DynTestModule {
4  
  void test ctex {
5  
    ClassLoader cl = classLoader(mc());
6  
    assertExceptionVerbose(r { cl.loadClass("loadableUtils.utils.GlobalID") });
7  
    assertNotNullVerbose(cl.loadClass("loadableUtils.utils$GlobalID"));
8  
  }
9  
}

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: 211 / 491
Version history: 6 change(s)
Referenced in: [show references]