From: Steve H. <st...@we...> - 2014-03-08 03:09:08
|
I am trying to set up some caching during compiling java to c. I have set up a build process that detects which java source files have been changed since their .c or .h files were generated. Ideally I would then like to compile those changed files with javac and pass them through xmlvm. There are a couple of issues to overcome in this. 1. Constant pools. I can handle this. 2. Vtables for classes that have been previously converted and haven't changed. Since these aren't included in the batch of files to convert, xmlvm knows nothing about them. Is there a way to load vtable info for classes that aren't being converted so that they can be referenced by xmlvm? I guess I'm looking for the equivalent of a class path for xmlvm. I'm assuming this is not currently supported. Can you recommend a starting place in the api where I should start looking for adding this? I just need to be able to load some vtable data into xmlvm programmatically. Thanks for any tips. Steve |