New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to determine the caller class #1834

Merged
merged 1 commit into from Oct 24, 2018

Conversation

Projects
None yet
2 participants
@jodastephen
Member

jodastephen commented Oct 24, 2018

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

Provide a way to determine the caller class
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 approved these changes Oct 24, 2018

@cjkent cjkent merged commit f923402 into master Oct 24, 2018

14 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
security/snyk - modules/basics/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/calc/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/collect/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/data/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/loader/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/market/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/math/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/measure/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/pricer/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/report/pom.xml (OpenGamma) No new issues
Details
security/snyk - pom.xml (OpenGamma) No new issues
Details

@cjkent cjkent deleted the topic/caller-class branch Oct 24, 2018

@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