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

DownloadManager should not be loaded and referenced for full JRE

XMLWordPrintable

        sun.jkernel.DownloadManager is only needed for Kernel JRE.

        Full JRE should not need DownloadManager in any application run. The kernel VM sets a flag indicating if the running jvm is a kernel VM (see struct jvm_version_info in jvm.h). The JRE can use the VM interface to detect if it's in kernel JRE or not.

        For FX video applet run, here is the number of invocations collected from the nb profile data:
           DownloadManager.getBootClassPathEntryForClass 1621
           DownloadManager.getBootClassPathEntryForResource 1632
           DownloadManager.isJREComplete 1667

              igor Igor Nekrestyanov (Inactive)
              mchung Mandy Chung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: