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.

Bug 255504 - java.lang.IllegalAccessError: class org.netbeans.modules.form.fakepeer.FakePeerSupport (in module: Unnamed Module) cannot access class java.awt.peer.ComponentPeer (in module: java.desktop), java.awt.peer is not exported to Unnamed Module
Summary: java.lang.IllegalAccessError: class org.netbeans.modules.form.fakepeer.FakePe...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 8.1
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords: JDK_9, NO81
Depends on:
Blocks:
 
Reported: 2015-09-23 10:42 UTC by Stepan Zebra
Modified: 2015-09-23 10:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (195.46 KB, text/plain)
2015-09-23 10:42 UTC, Stepan Zebra
Details
error on forrm editor (261.99 KB, image/png)
2015-09-23 10:51 UTC, Stepan Zebra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stepan Zebra 2015-09-23 10:42:44 UTC
Product Version = NetBeans Dev JDK9 branch (Build 20150918-951c25ccfea0)
Operating System = Mac OS X version 10.11 running on x86_64
Java; VM; Vendor = 1.9.0-ea
Runtime = Java HotSpot(TM) 64-Bit Server VM 1.9.0-ea-jigsaw-nightly-h3391-20150915-b81

Reproducibility: Happens every time

Open a JFrame form into Design tab - the error is printed right into the designer.

java.lang.IllegalAccessError: class org.netbeans.modules.form.fakepeer.FakePeerSupport (in module: Unnamed Module) cannot access class java.awt.peer.ComponentPeer (in module: java.desktop), java.awt.peer is not exported to Unnamed Module
	at org.netbeans.modules.form.fakepeer.FakePeerSupport.getPeer(FakePeerSupport.java:143)
	at org.netbeans.modules.form.fakepeer.FakePeerContainer.paintFakePeersRecursively(FakePeerContainer.java:103)
	at org.netbeans.modules.form.fakepeer.FakePeerContainer.paint(FakePeerContainer.java:90)
	at javax.swing.JComponent.paintChildren(java.desktop@9.0/JComponent.java:900)
	..
Comment 1 Stepan Zebra 2015-09-23 10:42:49 UTC
Created attachment 156373 [details]
IDE log
Comment 2 Stepan Zebra 2015-09-23 10:51:41 UTC
Created attachment 156374 [details]
error on forrm editor