1 | svoid test_retireClassLoader() { |
2 | Class c = hotwire(#1004816); // hotwire random stuff |
3 | assertFalse(loadedByRetiredClassLoader(c)); |
4 | assertTrue(contains(nonRetiredMainClasses(), c)); |
5 | retireClassLoader(getClassLoader(c)); |
6 | assertTrue(loadedByRetiredClassLoader(c)); |
7 | assertFalse(contains(nonRetiredMainClasses(), c)); |
8 | } |
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: | 174 / 204 |
Referenced in: | [show references] |