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.
I suppose setMaxSize() method behaves properly, and property needs additional control.
- is blocked by
-
JDK-8126167 WebHistory API looks inconsistent
-
- Resolved
-
- relates to
-
JDK-8126167 WebHistory API looks inconsistent
-
- Resolved
-