Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8167333

Invalid source path info might be used when creating ClassFileStream after CFLH transforms a shared classes in some cases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • hotspot
    • b143
    • Not verified

      When class is transformed by a JVMTI agent during the initial loading of a shared class, the VM creates the ClassFileStream using the transformed class file data. It also needs to pass the 'source' path location argument. The VM gets the source path location info from the archived SharedClassPathEntry related to the shared class since that's the class original source path. However, the archive does not contain SharedClassPathEntry info for all archived classes. Some classes do not have associated SharedClassPathEntry. In those cases, the VM does not have a valid source path info at runtime.

            jiangli Jiangli Zhou
            jiangli Jiangli Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: