From: Arno P. <ar...@pu...> - 2012-02-15 17:33:58
|
"red class" is an XMLVM specific thing. It just means that it is a class we don't think you'll ever need. :) If your application uses a class mentioned in xmlvm/lib/redlist.txt, XMLVM will insert a so-called "red class exception" (which is basically a runtime exception informing you that you used a red class). If you need a class, simply remove it from redlist.txt. If you do that, you should also run "ant gen-c-native-skeletons" in case the class you have taken off the red list has native methods. Arno On 2/15/12 5:19 AM, Ralf Tossenberger wrote: > Hello, > > I have heard in the past from things like “red disctricts” but never > from “red classes” - and Google couldn’t help. Who can? > > Running a Java to Posix converted program gives the following information: > XMLVM Error: Unsatisfied red class dependency: > (java_util_TimeZone___INIT___):../src/java_util_TimeZone.c:980 > > Snapshoot of the generated C code: > > voidjava_util_TimeZone___INIT___(JAVA_OBJECT me) > { > //XMLVM_BEGIN_WRAPPER[java_util_TimeZone___INIT___] > ... > > > // Red class access removed: > java.util.TimeZone,com.ibm.icu.util.TimeZone::icuTimeZone > XMLVM_RED_CLASS_DEPENDENCY(); > XMLVM_SOURCE_POSITION("TimeZone.java", 129) > XMLVM_EXIT_METHOD() > return; > //XMLVM_END_WRAPPER > } > > > ------------------------------------------------------------------------------ > Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |