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

No optimistic access to parameters in arguments object or vararg array

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Withdrawn
    • Icon: P4 P4
    • None
    • 10
    • core-libs

      Getters for parameters accessed through NativeArguments.getArgument() or through array load from the vararg array are not optimistic. While their underlying storage is (currently) always Object[], being optimistic about them (e.g. they might be boxed ints, longs, and doubles) would allow for keeping the types narrower when they're used in calculations.

            attila Attila Szegedi
            attila Attila Szegedi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: