---
title: "Discussion on \"Monkey-patching in Java\" | Hashnode"
description: "Discussion on \"Monkey-patching in Java\". The JVM is an excellent platform for monkey-patching.\n\nMonkey patching is a technique used to dynamically update the behavior of a piece of code at run-time. A monkey patch (also spelled monkey-patch, MonkeyPatch) is a way to extend or modify the run..."
url: "https://hashnode.com/posts/monkey-patching-in-java/650c0694d8f718840c9404eb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Monkey-patching in Java](https://frankel.hashnode.dev/monkey-patching-in-java?utm_source=hashnode&utm_medium=feed)

The JVM is an excellent platform for monkey-patching. Monkey patching is a technique used to dynamically update the behavior of a piece of code at run-time. A monkey patch (also spelled monkey-patch, MonkeyPatch) is a way to extend or modify the run...

Sep 21, 2023 · 8 min read · frankel.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#monkey-patching](https://hashnode.com/tag/monkey-patching)
-   [#instrumentation](https://hashnode.com/tag/instrumentation)
-   [#aspectj](https://hashnode.com/tag/aspectj)
-   [#byte-buddy](https://hashnode.com/tag/byte-buddy)

## Written by

[Nicolas Fränkel](https://hashnode.com/@nfrankel)

@nfrankel · Geneva

  
[View profile](https://hashnode.com/@nfrankel)

Developer Advocate

Technologist focusing on cloud-native technologies, DevOps, CI/CD pipelines, and system observability. His focus revolves around creating technical content, delivering talks, and engaging with developer communities to promote the adoption of modern software practices. With a strong background in software, he has worked extensively with the JVM, applying his expertise across various industries. In addition to his technical work, he is the author of several books and regularly shares insights through his blog and open-source contributions.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
