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

Grating error message from runtime reflection code

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Won't Fix
    • Affects Version/s: 9
    • Fix Version/s: tbd_minor
    • Component/s: core-libs
    • Labels:
      None

      Description

      I was treated to the following in a bug report :
      ---
      java.lang.reflect.InaccessibleObjectException: Unable to make field protected volatile long sun.awt.windows.WComponentPeer.hwnd accessible: module java.desktop does not "opens sun.awt.windows" to unnamed module @7c0d955b
      ---

      I realise there are quotes but 'does not opens' reads badly.
      It can trivially be made less grating by changing it to
      does not use "opens ...
      or
      does not specify "opens ...

        Attachments

          Activity

            People

            • Assignee:
              alanb Alan Bateman
              Reporter:
              prr Philip Race
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: