FileHandler should allow 'long' limits and handle overflow of MeteredStream.written.

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: core-libs

        FileHandler defines 'limit' as an int - which doesn't allow more than ~ 2^31 bytes (~ 2 gb) in a log. But this is impaired by a bug that can let MeteredStream.written overflow and prevents the log from wrapping.

        The proposal is to allow for 'long' limits and detect properly if/when MeteredStream.written overflows.

        See http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-August/028280.html

              Assignee:
              Daniel Fuchs
              Reporter:
              Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: