Skip to main content

Timeline for Build a Compiler Bomb

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Feb 1, 2016 at 14:20 comment added Rex Kerr Ubuntu 15.10, java version "1.8.0_72-ea" Java(TM) SE Runtime Environment (build 1.8.0_72-ea-b05) Java HotSpot(TM) 64-Bit Server VM (build 25.72-b05, mixed mode) , $ scala -version Scala code runner version 2.11.7 -- Copyright 2002-2013, LAMP/EPFL
Feb 1, 2016 at 12:41 comment added P.Péter still not compiling, sadly :( error: error while loading AnnotatedElement, class file '/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar(java/lang/reflect/AnnotatedElement.class)' is broken (bad constant pool tag 18 at byte 76) one error found Can you specify the scala and java version (maybe platform, too)? I used scalac 2.9.2 and OpenJDK 1.8.0_66-internal-b17, on debian 8 x86-64.
Jan 18, 2016 at 21:16 comment added Rex Kerr @P.Péter - You need to give the compiler more memory, e.g. scalac -J-Xmx12G X.scala is what I used. I didn't test how much it actually needs.
Jan 18, 2016 at 16:14 comment added P.Péter I could not compile it: error: java.lang.OutOfMemoryError: GC overhead limit exceeded. Could you also document the required command for compilation?
Jan 17, 2016 at 1:35 history answered Rex Kerr CC BY-SA 3.0