CTW: Add option to remove clinits before loading

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: 24
    • Component/s: hotspot
    • b26

      To allow for safe running of CTW against untrusted jar / class files, I suggest adding an option to remove <clinit> methods from the classes' bytestreams. This would prevent unwanted execution of the code being tested.
      The new and shiny ClassFile API presents good tools for that.

            Assignee:
            Evgeny Nikitin
            Reporter:
            Evgeny Nikitin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: