Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-38881

org.sakaiproject.util.Blob should be deprecated(removed) as holding large byte arrays in memory is almost always unnecessary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 10.0
    • Fix Version/s: 10.0, 11.0
    • Component/s: Kernel
    • Labels:
    • 10 status:
      Resolved
    • Previous Issue Keys:
      KNL-898

      Description

      org.sakaiproject.util.Blob is used when merging archives (specifically content hosting archives), when the code should really be using a stream.
      The only other place it's used is when generating an assignment spreadsheet, and again a stream should be used rather than returning a byte array.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    aaronz Aaron Zeckoski (Inactive)
                    Reporter:
                    buckett Matthew Buckett
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    4 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration