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

7
LINES

< > BotCompany Repo | #1022976 // theUnsafe_gen - get sun.misc.Unsafe as Object (avoid javac warning)

JavaX fragment (include)

sO theUnsafe_gen_theUnsafe;

sO theUnsafe_gen() {
  if (theUnsafe_gen_theUnsafe == null) 
    theUnsafe_gen_theUnsafe = get(classForName("sun.misc.Unsafe"), 'theUnsafe);
  ret theUnsafe_gen_theUnsafe;
}

Author comment

Began life as a copy of #1011518

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022976
Snippet name: theUnsafe_gen - get sun.misc.Unsafe as Object (avoid javac warning)
Eternal ID of this version: #1022976/1
Text MD5: f1e96b134ad9cb70a1c471f6a36a9d78
Author: stefan
Category: javax / unsafe
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-17 07:16:37
Source code size: 208 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 269 / 318
Referenced in: [show references]