svoid dm_javaEvalModule_doIt(S s) { DynModule dm = dm_current_mandatory(); //set transpileRaw_verySilent; print("\nEvaluating: " + s); logQuotedWithDate("expressions.txt", s); dm.setField(expression := s); try { S toEvaluate = s; // "time(func { " + s + "})"; //O value = javaEval_dependent(toEvaluate); O value = dm_javaEval(toEvaluate); dm.setFields(+value, error := null); print(); new L info; info.add(evalJava_myProgramID_main_time! + " ms"); addAll(info, quickValueInformation_list(value)); print("[" + joinWithComma(info) + "]"); S string = str(value); pcall { logStructureWithDate("with-results.txt", ll(s, string)); } print(shorten(1000, string)); if (value cast BufferedImage) showImage(value); } catch e { dm.setFields(value := null, error := e); printStackTrace2(e); } }