Exceptions during universe_post_init (initialization) cause assert

XMLWordPrintable

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


      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.

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

              Created:
              Updated:
              Resolved: