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

Add [], -, +, *, / operators to core classes as appropriate

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0
    • specification
    • x86
    • windows_xp

      Name: rmT116609 Date: 09/09/2004


      A DESCRIPTION OF THE REQUEST :
      Add the [] operator to String to dereference a character, and the -, +, *, / operators to Number but continue to disallow operator overloading for user-classes.

      JUSTIFICATION :
      Improvement in ease of use of the language without the inherit risks of allowing ad-hoc operator overloading.
      (Incident Review ID: 302380)
      ======================================================================

            abuckley Alex Buckley
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: