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

Exceptions during universe_post_init (initialization) cause assert

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 9
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: