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

ObjectOutputStream's internal array management limits maximum size

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • None
    • 6
    • core-libs
    • None

    Description

      Extracting the library related issue from 6460346. In ObjectOutputStream the HandleTable class grows its internal arrays by always doubling the length and adding one. This will overflow well short of the physical maximum length of Integer.MAX_VALUE. On 64-bit systems such 32-bit limits may be reachable, once the VM limitations have been removed.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Imported:
                Indexed: