Skip to content

ClassCastException in MemoryAllocationExports #504

@kebuu

Description

@kebuu

Hello,
I am working with an IBM jdk which seems to have a GarbageCollectorMXBean not being a NotificationEmitter. That's why I get a ClassCastException on line 29 of class MemoryAllocationExports.
Could it be possible to check if the GarbageCollectorMXBean is an instance of NotificationEmitter before casting it ?
Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions