Skip to content
This repository was archived by the owner on Jul 22, 2018. It is now read-only.
This repository was archived by the owner on Jul 22, 2018. It is now read-only.

InterruptExtention and Exception handled incorrectly #86

Description

@JLLeitschuh

Having:

catch (Exception e) {
   // Nothing here
}

Will squash the interrupted flag meaning that the plugin can hang the plugin forever.

Similarly:

catch (InterruptedException e) {
    // We only do logging here.
   LOGGER.log("Blah", e);
}

has the same problem.

There are various places where this code exists and should be cleaned up.

http://www.yegor256.com/2015/10/20/interrupted-exception.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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