Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: javadoc/api
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      328

      Description

      In 4.2.12.8, Value.equals(Value) returns false if either value "has been
      accessed" or the values were not "acquired from the same session", even if the
      two values are in fact "equal". This is misleading.

      Proposal: throw an exception in each of these cases.

      (Note: We're overloading, not overriding, the inherited equals(Object) method.
      So we are free to throw a RepositoryException here.)

        Issue Links

          Activity

          Hide
          stefan_guggisberg added a comment -

          resolved as fixed as per F2F decision in Basel, Sept 07:

          • remove Value.equals(Value)
          • override Object.equals(Object)
          • definition of equals defined in #327
          • result undefined if Values are from separate sessions
          Show
          stefan_guggisberg added a comment - resolved as fixed as per F2F decision in Basel, Sept 07: remove Value.equals(Value) override Object.equals(Object) definition of equals defined in #327 result undefined if Values are from separate sessions
          Hide
          Peeter Piegaze added a comment -

          consensus reached but not yet fixed in spec

          Show
          Peeter Piegaze added a comment - consensus reached but not yet fixed in spec
          Hide
          Peeter Piegaze added a comment -

          Value.equals(Value) removed
          Value.equals(Object) overridden

          Show
          Peeter Piegaze added a comment - Value.equals(Value) removed Value.equals(Object) overridden

            People

            • Assignee:
              jsr-283-issues
              Reporter:
              dpitfiel
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: