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

MHs.arrayLength, arrayElementGetter/Setter, arrayConstructor need to specify invocation-time behavior

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: core-libs

      Description

      Javadocs of arrayLength, arrayConstructor, arrayElementGetter and arrayElementSetter,
      don't discuss the invocation-time behavior.
      It seems important since there are exceptions to be documented.

      One way to deal with it is to make a connection between the methods and corresponding instructions, so as not to explain every exception in Javadoc.
      Probably no need to go deep in details on how, for example, arrayElementGetter(T) maps on 8 Taload instructions,
      but just give a basic notion of that.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mchung Mandy Chung
                Reporter:
                slukyanov Stanislav Lukyanov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: