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

!7

p-exp {
  ClassLoader utils = hotwireSpecialMainClass(#1019849, "loadableUtils.utils").getClassLoader();

  Class x = hotwireWithParents(#1020723, "loadableUtils", utils);
  
  print(x);
  Class u1 = getClass_noConvertName(x, "loadableUtils.utils");
  Class u2 = utils.loadClass("loadableUtils.utils");
  print(u1);
  print(u2);
  print("SAME: " + (u1 == u2)); // should be true!
}

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