Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

thomasleplus/jdk-serial-filter-trace

Open more actions menu

JDK Serial Filter Trace

A JBoss Byteman rule to debug the trace the JDK deserialization filtering

Foreword

Java 17 introduced Flight Recorder events for deserialization which provides a native way to figure out which classes are being serialized or deserialized using only tools included in the JDK. For more details, you can read this article.

TLDR

java -javaagent:/path/to/byteman.jar=script:/path/to/rules.btm,boot:/path/to/byteman.jar ...

Prints each call to java.io.ObjectInputStream.filterCheck() to stdout.

Byteman

To download Byteman and to learn more about its options, see the documentation.

About

A JBoss Byteman rule to debug the trace the JDK deserialization filtering

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.