Skip to content

WindowHandleAccessor's static initializer thwarts WindowHandleAccessor.isEnabled() #4

@marcdownie

Description

@marcdownie

This check for a functioning JdkEx:

if (JdkEx.WindowHandleAccessor.isEnabled()) {

doesn't work as intended, since WindowHandleAccessor's static initializer will have already thrown here:

throw new RuntimeException("jcef: failed to retrieve platform window handle");

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