X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fnestedvm%2FJavaSourceCompiler.java;h=64a7d4d79ec695116497670bedc7d4a0947fb805;hb=6d6d9f59a2e6fe3b9e5b3563efcf0124bea4a672;hp=499b2187b2b4f3ea776f64118a1959dd195460a3;hpb=ab9be117467f7459965c61e49749b333678b6e4c;p=nestedvm.git diff --git a/src/org/ibex/nestedvm/JavaSourceCompiler.java b/src/org/ibex/nestedvm/JavaSourceCompiler.java index 499b218..64a7d4d 100644 --- a/src/org/ibex/nestedvm/JavaSourceCompiler.java +++ b/src/org/ibex/nestedvm/JavaSourceCompiler.java @@ -1,3 +1,7 @@ +// Copyright 2000-2005 the Contributors, as shown in the revision logs. +// Licensed under the Apache Public Source License 2.0 ("the License"). +// You may not use this file except in compliance with the License. + package org.ibex.nestedvm; import java.util.*; @@ -33,6 +37,7 @@ public class JavaSourceCompiler extends Compiler { } protected void _go() throws Exn, IOException { + if(singleFloat) throw new Exn("JavaSourceCompiler doesn't support singleFloat"); String packageName; String className; if (fullClassName.indexOf('.') != -1) { @@ -919,4 +924,4 @@ public class JavaSourceCompiler extends Compiler { "f"+(r+1)+" = (int)(l >>> 32); f"+r+" = (int)l; }"; } } - \ No newline at end of file +