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

Instrumentation.redefineClasses does not throw UnmodifiableClassException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 5.0
    • core-svc
    • None
    • b14
    • generic
    • generic

      java.lang.instrument.Instrumentation.redefineClasses is specified to throw UnmodifiableClassException if a specified class cannot be redefined. However the implementation (as of tiger-b57) throws java.lang.InternalError instead.

      Note that this bug requires hotpot/jvmti bug 5067517 to be fixed in order for JVMTI to return the UNMODIFIABLE_ERROR needed to throw the checked exception.
      ###@###.### 11/3/04 21:21 GMT

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: