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

14
LINES

< > BotCompany Repo | #1036274 // Test Permit.godMode - seems to work!

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

Download Jar. Uses 16K of libraries. Click here for Pure Java version (9622L/53K).

1  
!7
2  
3  
lib 1400590 // permit-reflect
4  
5  
import com.nqzero.permit.Permit;
6  
import java.lang.reflect.Method;
7  
8  
p {
9  
  Permit.godMode();
10  
  Class klass = Class.forName("jdk.internal.misc.VM");
11  
  Method meth = klass.getDeclaredMethod("getRuntimeArguments");
12  
  String[] txt = cast meth.invoke(null);
13  
  print(txt[0]);
14  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036274
Snippet name: Test Permit.godMode - seems to work!
Eternal ID of this version: #1036274/2
Text MD5: 8ba2aa14e246ea8fb3a5f986d533d5b3
Transpilation MD5: 5ce38ae25072769350c63b8872593426
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-08 12:56:48
Source code size: 319 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 222 / 633
Version history: 1 change(s)
Referenced in: [show references]