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

7
LINES

< > BotCompany Repo | #1006152 // Test Java Shutdoown Hook

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

Libraryless. Click here for Pure Java version (1042L/7K/25K).

!752

p {
  Runtime.getRuntime().addShutdownHook(new Thread(r {
    saveTextFile(getProgramFile("shutdown-hook-" + hms()), "yo");
  }));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006152
Snippet name: Test Java Shutdoown Hook
Eternal ID of this version: #1006152/1
Text MD5: 8384fa82b5a5ee2545e03ac2996663f5
Transpilation MD5: 32bd894c7df98abe4c6a1c2ee300dbea
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-21 21:19:42
Source code size: 144 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 435 / 482
Referenced in: [show references]