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

WebHistory.setMaxSize: property and setter method work differently

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7u6
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Labels:
      None
    • Subcomponent:
      web

      Description

      When setting maxSize property you can actually set maxSize to negative value (WebHistory.getMaxSize will return negative value then), while using setMaxSize() method with negative argument can only make maxSize become 0.
      I suppose setMaxSize() method behaves properly, and property needs additional control.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ant Anton Tarasov
                Reporter:
                ilatyshe Irina Grineva (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: