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

Don't use TRAPS if no exceptions are thrown

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 17
    • hotspot
    • None
    • b15

    Description

      Remove TRAPS declarations in functions that don't throw exceptions. TRAPS was used because one of the constant pool functions called klass_at() when it really could call resolved_klass_at() which doesn't try to resolve the klass (since it's already resolved).
      This removes a use of passing THREAD as the trailing argument and then not handling the exception.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: