java.classpath

Reported classpath should include classpath from parent classloaders, but not from the system classloader

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code

Description

Since a classloader delegates to its parent if it fails to provide a class, the classpath reported by java.classpath should include the classpath of parent classloaders.

At present the reported classpath contains both system and baseloader classpaths, which I believe is incorrect, since the system classloader is not necessarily a parent of the baseloader.

  1. recursive-classpath.diff
    15/Sep/11 11:18 AM
    3 kB
    Hugo Duncan
  2. recursive-classpath.diff
    14/Sep/11 11:27 AM
    3 kB
    Hugo Duncan
  3. recursive-classpath.diff
    13/Sep/11 8:35 PM
    2 kB
    Hugo Duncan

Activity

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: