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

14
LINES

< > BotCompany Repo | #1019858 // Test hotwireWithParents [OK!]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (8328L/60K).

1  
!7
2  
3  
p-exp {
4  
  ClassLoader utils = hotwireSpecialMainClass(#1019849, "loadableUtils.utils").getClassLoader();
5  
6  
  Class x = hotwireWithParents(#1020723, "loadableUtils", utils);
7  
  
8  
  print(x);
9  
  Class u1 = getClass_noConvertName(x, "loadableUtils.utils");
10  
  Class u2 = utils.loadClass("loadableUtils.utils");
11  
  print(u1);
12  
  print(u2);
13  
  print("SAME: " + (u1 == u2)); // should be true!
14  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019858
Snippet name: Test hotwireWithParents [OK!]
Eternal ID of this version: #1019858/8
Text MD5: e4b745fbbff600c3744dc23f859a0041
Transpilation MD5: 0213627e1d3ffc5801b8a71372702001
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-01 16:34:42
Source code size: 398 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 396 / 1074
Version history: 7 change(s)
Referenced in: [show references]