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

SystemDictionary exports too much implementation

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: