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 243584

Summary: Some methods throw IllegalAccessException while unit testing with Java 8.
Product: platform Reporter: attila.kelemen
Component: NB JUnitAssignee: Theofanis Oikonomou <theofanis>
Status: NEW ---    
Severity: normal Keywords: JDK_8
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 8 x64   
Issue Type: DEFECT Exception Reporter:

Description attila.kelemen 2014-04-05 00:41:58 UTC
Attempting to call the following methods while unit testing using Java 8 results in an IllegalAccessException thrown:

- NbPreferences.forModule
- JavaPlatform.getDefault

To reproduce the issue, please run the tests for `EmptyProjectTest` in https://github.com/kelemen/netbeans-gradle-project

These methods work when running in normal context.
Comment 1 Martin Kozeny 2014-04-05 07:52:08 UTC
Hopefully reassigning to default owner.