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

Viliam Repan noreply at github.com
Fri May 22 13:27:07 CEST 2026


  Branch: refs/heads/support-4.9
  Home:   https://github.com/Evolveum/prism
  Commit: 2c850d9c6f69f4b5b5fd06968eacb4058f250e7d
      https://github.com/Evolveum/prism/commit/2c850d9c6f69f4b5b5fd06968eacb4058f250e7d
  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: 271b8d249c7c280d7def563ae230ff621051316e
      https://github.com/Evolveum/prism/commit/271b8d249c7c280d7def563ae230ff621051316e
  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/2fd3892d3540...271b8d249c7c

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