+ byte[] bytecode;
+ try {
+ bytecode = runCompiler(data,className,extraoptions,null);
+ } catch(Compiler.Exn e) {
+ if(e.getMessage() != null || e.getMessage().indexOf("constant pool full") != -1)
+ bytecode = runCompiler(data,className,extraoptions,"lessconstants");
+ else
+ throw e;
+ }
+ return singleClassLoader.fromBytes(className,bytecode);
+ }
+
+ private static byte[] runCompiler(Seekable data, String name, String options, String moreOptions) throws IOException, Compiler.Exn {