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

Remove accidentally exposed individual methods from Class-File API

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 24
    • 23
    • core-libs

    Description

      A few methods are exposed by Class-File API by accident: they see no use by any client, and their continued exposure will only be a maintenance in the long run. They are:
       - ModuleAttributeBuilder.build: this builder is already using the build(Consumer<Builder>) model, so the build method is useless.
       - CodeRelaber.relabel: internal access method, can just be hidden
       - ConstantPoolBuilder.writeBootstrapMethods: users shouldn't access the writing functionalities

      These methods can be easily removed and should be removed.

      Attachments

        Issue Links

          Activity

            People

              liach Chen Liang
              liach Chen Liang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: