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

JSR 292: reject redefinitions if patched string becomes non-patched and vice versa

XMLWordPrintable

    • generic
    • generic

      Pseudo-strings must remain pseudo-strings and strings remain strings after a class redefinition/retransformation.
      We need to put a check in place if the invariant is broken as the pseudo-string patches will be lost in such case.

      The suggestion is to reject such redefinitions and return a JVMTI error, something like:
        JVMTI_ERROR_UNSUPPORTED_REDEFINITION_SCHEMA_CHANGED
        JVMTI_ERROR_INTERNAL

            Unassigned Unassigned
            sspitsyn Serguei Spitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: