This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.findLoadedClass accessible: module java.base does not "opens java.lang" to unnamed module | ||
---|---|---|---|
Product: | profiler | Reporter: | Tomas Zezula <tzezula> |
Component: | Engine | Assignee: | Tomas Hurka <thurka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | JDK_9, VISUALVM |
Priority: | P2 | ||
Version: | 8.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Tomas Zezula
2017-01-10 13:25:05 UTC
One of possibilities: https://gist.github.com/raphw/0652ef2277e8e4027bc712c464cbc18d The solution in comment #1 does not work in b150 unless you use -noverify which is no option. Profiled application must run on JDK 9. Fixed in profiler-main changeset: 302157:98dab56fe957 user: Tomas Hurka <thurka@netbeans.org> date: Fri Jan 13 14:27:50 2017 +0100 summary: bugfix #269523, make sure ClassLoaderManager works even if it is not able to acccess ClassLoader.findLoadedClass() and/or ClassLoader.findBootstrapClass() Integrated into 'main-silver', will be available in build *201701140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/98dab56fe957 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #269523, make sure ClassLoaderManager works even if it is not able to acccess ClassLoader.findLoadedClass() and/or ClassLoader.findBootstrapClass() |