aboutsummaryrefslogtreecommitdiff
path: root/nailgun_launcher
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-04-03 23:49:20 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-04-04 00:19:38 -0400
commitf7b84e735e150578324caa0c4289404a033cd9b2 (patch)
tree55b26ec13c46c13d9a68fe00e1a73b7ed8b42c23 /nailgun_launcher
parent8ed9a0a1c0c0b7175ed4693d9b6949f866802c4c (diff)
downloadcbt-f7b84e735e150578324caa0c4289404a033cd9b2.tar.gz
cbt-f7b84e735e150578324caa0c4289404a033cd9b2.tar.bz2
cbt-f7b84e735e150578324caa0c4289404a033cd9b2.zip
Finally get rid of JDK 8 dependencies
Diffstat (limited to 'nailgun_launcher')
-rw-r--r--nailgun_launcher/NailgunLauncher.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/nailgun_launcher/NailgunLauncher.java b/nailgun_launcher/NailgunLauncher.java
index a7d89e2..a12d059 100644
--- a/nailgun_launcher/NailgunLauncher.java
+++ b/nailgun_launcher/NailgunLauncher.java
@@ -44,7 +44,7 @@ public class NailgunLauncher{
MalformedURLException,
IOException,
NoSuchAlgorithmException {
- long now = System.currentTimeMillis();
+ long start = System.currentTimeMillis();
//System.err.println("ClassLoader: "+stage1classLoader);
//System.err.println("lastSuccessfullCompile: "+lastSuccessfullCompile);
//System.err.println("now: "+now);
@@ -79,7 +79,7 @@ public class NailgunLauncher{
EarlyDependencies earlyDeps = new EarlyDependencies();
int exitCode = zinc(earlyDeps, stage1SourceFiles);
if( exitCode == 0 ){
- lastSuccessfullCompile = now;
+ lastSuccessfullCompile = start;
} else {
System.exit( exitCode );
}
@@ -99,8 +99,8 @@ public class NailgunLauncher{
Integer exitCode =
(Integer) stage1classLoader
.loadClass("cbt.Stage1")
- .getMethod("run", String[].class, ClassLoader.class, Boolean.class)
- .invoke( null, (Object) args, stage1classLoader, changed);
+ .getMethod("run", String[].class, ClassLoader.class, Boolean.class, Long.class)
+ .invoke( null, (Object) args, stage1classLoader, changed, start);
System.exit(exitCode);
}catch(Exception e){
System.err.println(stage1classLoader);