Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901986

RedefineClassTest randomly fails with NoClassDefFoundError

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: jtreg4.2
    • Fix Version/s: None
    • Component/s: tools

      Description

      RedefineClassTest sometimes fails with:

      java.lang.NoClassDefFoundError: jdk/test/lib/InMemoryJavaCompiler
      at RedefineClassHelper.redefineClass(RedefineClassHelper.java:49)
      at RedefineClassTest.main(RedefineClassTest.java:47)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:535)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jjg Jonathan Gibbons
              Reporter:
              dpochepk Dmitrij Pochepko
              Votes:
              0 Vote for this issue
              Watchers:
              20 Start watching this issue

                Dates

                Created:
                Updated: