Skip to content

Use custom exception in CharBuffer #5377

Closed
@tomas-langer

Description

The reactive/media/common/src/main/java/io/helidon/reactive/media/common/CharBuffer.java is using OutOfMemoryError as an exception.
This should not be done - OOM is reserved to be thrown by the JVM when it runs out of memory, not by us when we are "afraid of running out of memory".

This should be changed to a custom runtime exception (not an Error)

Metadata

Assignees

Labels

Type

No type

Projects

  • Status

    Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions