---
title: "Discussion on \"Javassist and JDK 16\" | Hashnode"
description: "Discussion on \"Javassist and JDK 16\". As you may know, in JDK 16 illegal access become denied, so instead of warning you'll get an error like this:\nCaused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(j..."
url: "https://hashnode.com/posts/javassist-and-jdk-16/6136f2dbe9421a617c3301d5"
---

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

Discussion

# [Javassist and JDK 16](https://blog.vyarus.ru/javassist-and-jdk-16?utm_source=hashnode&utm_medium=feed)

As you may know, in JDK 16 illegal access become denied, so instead of warning you'll get an error like this: Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(j...

Sep 7, 2021 · 1 min read · blog.vyarus.ru  
Read the article

-   [#java](https://hashnode.com/tag/java)

## Written by

[Vyacheslav Rusakov](https://hashnode.com/@xvik)

@xvik · Siberia

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

Java.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
