mojohaus / mojohaus/exec-maven-plugin

UncaughtExceptionHandler of a thread is ignored

Open
#141 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
191
Forks
111
Avg merge
1d 21h
Merged PRs (30d)
4

Description

The maven exec plugin behaves differently from a manual execution using the java executable when in regards of the uncaught exception handler for a thread.

A custom uncaught exception handler of a thread is ignored.

Please see this stackoverflow discussion for a minimal example and first solution discussions.

https://stackoverflow.com/a/33344714/405793

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the minimal example and first solution discussions linked in the issue, then locate the exec-maven-plugin path that launches Java programs. Reproduce the difference between the plugin and the java executable, and verify that a thread's custom uncaught exception handler is honored as it is during manual execution.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.