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

JVMCI: MemoryAccessProvider.readUnsafeConstant javadoc should be updated for null JavaKind case

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • b120

      According to javadoc, MemoryAccessProvider.readUnsafeConstant should throw IllegalArgumentException only. However, current implementation throws NullPointerException in case kind == null. So, implementation or javadoc should be updated to match each other.

            dpochepk Dmitrij Pochepko
            dpochepk Dmitrij Pochepko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: