akara/faban — Issue #17: can't compile on later JDKs
Author: ingenthr
Created: 2011-11-21 03:12:06+00:00
State: open

Was trying the latest JDK on a random EC2 box today and found that there's a dependency on non-public API. I think that's what's wrong anyway.

[javac] /root/faban/driver/src/com/sun/faban/driver/engine/RunInfo.java:937: package com.sun.tools.javac does not exist
[javac] int errorCode = com.sun.tools.javac.Main.compile(arg);
[javac] ^

This is with the Sun/Oracle JDK:
# java -version
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)