# Tester for the PAppletFinder in Processing 4 required

**URL:** https://discourse.processing.org/t/tester-for-the-pappletfinder-in-processing-4-required/38914
**Category:** Gallery
**Created:** [September 21, 2022, 2:08pm UTC](https://discourse.processing.org/t/tester-for-the-pappletfinder-in-processing-4-required/38914 "2022-09-21T14:08:37Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)
#### Post date: [September 24, 2022, 5:35pm UTC](https://discourse.processing.org/t/tester-for-the-pappletfinder-in-processing-4-required/38914/3 "2022-09-24T17:35:09Z")

</div>

> [@Get the current instance of PApplet from a library](https://discourse.processing.org/t/get-the-current-instance-of-papplet-from-a-library/36925/25):
>
> Since Java 9 method [setAccessible()](https://docs.oracle.com/javase/9/docs/api/java/lang/reflect/AccessibleObject.html#setAccessible-boolean-) also takes into consideration the module a reflected member belongs to: [https://en.Wikipedia.org/wiki/Java\_Platform\_Module\_System#Properties\_of\_modules](https://en.Wikipedia.org/wiki/Java_Platform_Module_System#Properties_of_modules) There’s an --add-opens option for the Java’s command-line, but dunno how to add that to Processing: [OpenJDK.org/jeps/261#Breaking-encapsulation](http://OpenJDK.org/jeps/261#Breaking-encapsulation)

---

_[View the full topic](https://discourse.processing.org/t/tester-for-the-pappletfinder-in-processing-4-required/38914)._
