Transpiled version (1460L) is out of date.
!636 !include #1000451 // class _x18, modified for Android main { static Object androidContext; psvm { _x18.androidContext = androidContext; _x18.verbose = true; Class c = _x18.getEclipseCompiler(); System.out.println(c); // Class found! //static String compileJava(File srcDir, List<File> libraries, File classesDir) File srcDir = _x18.TempDirMaker_make(); _x18.saveTextFile(new File(srcDir, "main.java").getPath(), "public class main { public static void main(String[] args) {}}"); File classesDir = _x18.TempDirMaker_make(); try { print "Running compileJava" long time = System.currentTimeMillis(); _x18.compileJava(srcDir, new ArrayList<File>(), classesDir); time -= System.currentTimeMillis(); System.out.println("Done compileJava - " + time + " ms"); } catch (Throwable e) { print "Error in compileJava" e.printStackTrace(); } System.out.println("main.class size: " + new File(classesDir, "main.class").length()); } }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, hxnwyiuffukg, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
ID | Author/Program | Comment | Date |
---|---|---|---|
379 | #1000610 (pitcher) | 2015-08-18 00:07:07 | |
378 | #1000604 (pitcher) | 2015-08-18 00:07:22 |
Snippet ID: | #1000450 |
Snippet name: | Eclipse compiler test on Android - it's slow... |
Eternal ID of this version: | #1000450/1 |
Text MD5: | 096a9275406fdfdc5a7441f74d19d55b |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-08-07 19:09:26 |
Source code size: | 1070 bytes / 32 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 891 / 901 |
Referenced in: | [show references] |