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

Exceptions during universe_post_init (initialization) cause assert

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:

      Description


      Unconditionally throw exception for addClass not found in universe_post_init and instead of an exception, you get:

      > # Internal Error
      > (/java/east/u1/cphillim/hg/rt.bt2-clean/src/share/vm/interpreter/linkResolver.cpp:902),
      > pid=10369, tid=47170653824768
      > # assert(resolved_method->method_holder()->is_linked()) failed: must be
      > linked
      > #
      >

       I thought we'd already fixed this.

      David Holmes:

      We did :) But we need to fix that error message so it tells us which class has the problem (assert really needs to take a format string as an arg :( ). We fixed the issue with java.lang.Class not being linked when trying to construct a Throwable. Maybe it is Throwable or one of the other exception types that is the problem.

        Attachments

          Activity

            People

            • Assignee:
              coleenp Coleen Phillimore
              Reporter:
              coleenp Coleen Phillimore
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: