[midPoint-git] [Evolveum/prism] b4ec5e: MID-11015 Updated handling of String -> byte[]

Viliam Repan noreply at github.com
Fri May 22 13:26:04 CEST 2026


  Branch: refs/heads/support-4.10
  Home:   https://github.com/Evolveum/prism
  Commit: b4ec5e0dec73cf9c4969ec235317bea08b1c8b5f
      https://github.com/Evolveum/prism/commit/b4ec5e0dec73cf9c4969ec235317bea08b1c8b5f
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2026-05-22 (Fri, 22 May 2026)

  Changed paths:
    M infra/util/src/main/java/com/evolveum/midpoint/util/MiscUtil.java

  Log Message:
  -----------
  MID-11015 Updated handling of String -> byte[]

Refactored usage of String.getBytes(Charset) on few places to avoid double size byte[] pre-allocation in default implementation by using streams for Strings longer than 500mb.

This will be in use probably only during tracing scenarios.

(cherry picked from commit b9a40d95a0754585795a18a48231a5e9f871b7c6)


  Commit: 37e973a156c5fab77f9bf1cbffe1d5782c7765a3
      https://github.com/Evolveum/prism/commit/37e973a156c5fab77f9bf1cbffe1d5782c7765a3
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2026-05-22 (Fri, 22 May 2026)

  Changed paths:
    M infra/util/src/main/java/com/evolveum/midpoint/util/MiscUtil.java

  Log Message:
  -----------
  MID-11015 Updated handling of String -> byte[]
, updated doc.

(cherry picked from commit 1d70e88e9a358b10362af3a264016dcdd2969e4f)


Compare: https://github.com/Evolveum/prism/compare/3a2ad5a6f2fb...37e973a156c5

To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/prism/settings/notifications


More information about the midPoint-svn mailing list