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

JniObjWithEnv should be NullablePointer compliant

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 15, 19, 20, 21
    • tools
    • None
    • b12
    • windows

      JniObjWithEnv is a struct that is commonly managed by std::unique_ptr. Although it can support managing objects that are not raw pointers, any such objects have to be NullablePointers (https://en.cppreference.com/w/cpp/named_req/NullablePointer). In the past this has broken the build when compiler upgrades were carried out, so we should add in the final requirements to make the struct a true NullablePointer once and for all, to prevent similar issues from happening in the future

            jwaters Julian Waters
            jwaters Julian Waters
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: