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

16
LINES

< > BotCompany Repo | #1011222 // Test warming up Java compiler

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

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (5075L/34K).

!7

p-subst {
  File srcDir = makeTempDir();
  File classesDir = makeTempDir();
  try {
    saveTextFile(newFile(srcDir, "main.java"), myJavaSource());
    for (int i = 1; i <= 1000; i++) {
      print("Attempt " + i);
      compileWholeDir(srcDir, myLibraryFiles(), classesDir);
    }
  } finally {
    deleteDirectory(srcDir, true, false);
    deleteDirectory(classesDir, true, false);
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1011222
Snippet name: Test warming up Java compiler
Eternal ID of this version: #1011222/7
Text MD5: c8b750074606f347787b914c345a1e08
Transpilation MD5: cc03ccbd5bec6f87e691e873c4d058e0
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-19 05:47:31
Source code size: 408 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 322 / 738
Version history: 6 change(s)
Referenced in: [show references]