JDK-8147465 : Need JVM_ function to map loader + package name => jlr.Module
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9-repo-jigsaw
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-01-15
  • Updated: 2016-02-29
  • Resolved: 2016-02-29
Related Reports
Blocks :  
Description
This is a sub-task of JDK-8146454.

We need to consider adding a JVM function that will allow an agent map a class loader + package name to a java.lang.reflect.Module. This is needed in order to invoke a ClassFileTransformer transform method with the Module that the a newly loaded class will be a member of.


Comments
Harold has pushed the changes for JVM_GetModuleByPackageName: http://hg.openjdk.java.net/jigsaw/jake/hotspot/rev/ae94709b181e so should we close this issue?
28-02-2016