Skip to content

Provide a way to determine the caller class#1834

Merged
cjkent merged 1 commit intomasterfrom
topic/caller-class
Oct 24, 2018
Merged

Provide a way to determine the caller class#1834
cjkent merged 1 commit intomasterfrom
topic/caller-class

Conversation

@jodastephen
Copy link
Copy Markdown
Contributor

Adds a simple utility to find the caller class
The fast way to do this is via JDK internal Reflection.getCallerClass
This uses a suitable alternative
Java 9 has StackWalker but using that from Java 8 is painful

Adds a simple utility to find the caller class
The fast way to do this is via JDK internal `Reflection.getCallerClass`
This uses a suitable alternative
Java 9 has `StackWalker` but using that from Java 8 is painful
@cjkent cjkent merged commit f923402 into master Oct 24, 2018
@cjkent cjkent deleted the topic/caller-class branch October 24, 2018 13:50
@jodastephen jodastephen added this to the v2.1 milestone Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants