Skip to content
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

Unsafe Masking Changes #210

Closed
wants to merge 14 commits into from
Closed

Unsafe Masking Changes #210

wants to merge 14 commits into from

Conversation

katherine-hough
Copy link
Collaborator

  • Made the IS_JAVA_8 option a runtime only option so the instrumentation of application JARs is not JVM specific
  • Reorganized reflection/unsafe masking code
  • Refactored the Phosphor patching class visitors
  • Removed MethodRecord#getReturnType
  • Split ReflectionHidingMV into three MethodVisitors: one for methods where masking is disabled, one for ObjectStreams, and one for everything else
  • Refactored ReflectionHidingMV to make it easier to determine which methods are masked
  • Added the Mask annotation which is used to indicate that call to an annotated method should be added during instrumentation to replace calls to another method.
  • Refactored RuntimeSunMiscUnsafePropagator to pull out common code
  • Refactored RuntimeSunMiscUnsafePropagator to use the new Mask annotation
  • Renamed RuntimeSunMiscUnsafePropagator to SunUnsafeMasker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant