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

SystemDictionary exports too much implementation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • b08

      Many of the functions of SystemDictionary are only used internally, and many more are exported with 'protected' rather than 'private' for SystemDictionaryShared to use. This shouldn't have this much access. It makes it difficult to reason about callers and the scope of these functions.

      There are some functions only used for assertions, like find_class and find_placeholder which should be internal verify functions instead.

            coleenp Coleen Phillimore
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: