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

Improve diagnostic information about errors during class redefinition

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • 16
    • hotspot
    • None
    • b03

    Description

      The fix https://bugs.openjdk.java.net/browse/JDK-8192936 disable adding/removing of any methods in the class.

      Currently, a lot of methods are generated. The logic/names of such methods are also generated and might be not clear for users.
      The JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_ADDED, JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_DELETED are returned in such cases accordingly to spec.

      However, it is not clear which methods are exactly added/deleted. It makes sense to improve logging to report names of methods which user tries to add/delete.

      Attachments

        Issue Links

          Activity

            People

              lmesnik Leonid Mesnik
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: