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

8
LINES

< > BotCompany Repo | #1026072 // test_retireClassLoader

JavaX fragment (include)

svoid test_retireClassLoader() {
  Class c = hotwire(#1004816); // hotwire random stuff
  assertFalse(loadedByRetiredClassLoader(c));
  assertTrue(contains(nonRetiredMainClasses(), c));
  retireClassLoader(getClassLoader(c));
  assertTrue(loadedByRetiredClassLoader(c));
  assertFalse(contains(nonRetiredMainClasses(), c));
}
  

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1026072
Snippet name: test_retireClassLoader
Eternal ID of this version: #1026072/1
Text MD5: a992fe06280904faa9b6a7e3ac3593b3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-18 23:10:43
Source code size: 336 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 97 / 121
Referenced in: [show references]