Regis Xu (JIRA) wrote:
[java6][classlib][instrument] upgrade instrument API to Java6 level
-------------------------------------------------------------------
Key: HARMONY-6401
URL: https://issues.apache.org/jira/browse/HARMONY-6401
Project: Harmony
Issue Type: New Feature
Components: Classlib
Affects Versions: 5.0M12
Reporter: Regis Xu
Since Java6, some new APIs add to java.lang.instruemnt.Instrumentation:
addTransformer(ClassFileTransformer transformer, boolean canRetransform)
appendToBootstrapClassLoaderSearch(JarFile jarfile)
appendToSystemClassLoaderSearch(JarFile jarfile)
isModifiableClass(Class<?> theClass)
isNativeMethodPrefixSupported()
isRetransformClassesSupported()
retransformClasses(Class<?>... classes)
setNativeMethodPrefix(ClassFileTransformer transformer, String prefix)
This task's goal is to implement all these new APIs.
Recently, I'm working on instruemnt module and find our instrument API is still
in Java5 level. All new APIs are listed above, I'm going to work on this. This
JIRA is to help to track all the work. Anyone interested in this are welcome to
join.
--
Best Regards,
Regis.