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

Viliam Repan noreply at github.com
Fri May 22 13:31:35 CEST 2026


  Branch: refs/heads/support-4.8
  Home:   https://github.com/Evolveum/prism
  Commit: ca1f25a00b82c5430a270c805422d18c9d10a9ee
      https://github.com/Evolveum/prism/commit/ca1f25a00b82c5430a270c805422d18c9d10a9ee
  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: 5711e156794f5c588ca53cb003ba80a2c2f6423d
      https://github.com/Evolveum/prism/commit/5711e156794f5c588ca53cb003ba80a2c2f6423d
  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/5547757c00f9...5711e156794f

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