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 253079 - Cannot create tests on JDK 9 - UI "runs away"
Summary: Cannot create tests on JDK 9 - UI "runs away"
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords: JDK_9
Depends on:
Blocks:
 
Reported: 2015-06-19 13:44 UTC by Jiri Kovalsky
Modified: 2015-06-19 13:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Video showing how widgets in "Create Tests" dialog "run away". (1.29 MB, video/ogg)
2015-06-19 13:44 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2015-06-19 13:44:48 UTC
Created attachment 154300 [details]
Video showing how widgets in "Create Tests" dialog "run away".

Product Version: NetBeans Dev JDK9 branch (Build 201506180405)
Java: 1.9.0-ea; Java HotSpot(TM) 64-Bit Server VM 1.9.0-ea-b66
Runtime: Java(TM) SE Runtime Environment 1.9.0-ea-b66
System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/dev-jdk9-branch
Cache directory: /home/cesilko/.cache/netbeans/dev-jdk9-branch

Description:
============
Customization of parameters when creating new JUnit/Selenium/TestNG tests becomes very hard if not impossible when NetBeans is run on JDK 9. When the dialog shows up some of its components (probably textfields) starts resizing itself forcing its neighbour components go away from the visible dialog's area - see attached funny video.

Steps to reproduce:
===================
1. Launch NetBeans IDE on JDK 1.9.
2. Using "File > New Project..." action from main menu create new sample Java application.
3. Right click "Source Packages" node and invoke "Tools > Create/Update Tests" from its popup menu.

Expected: Stable "Create Tests" dialog shows up and you can conveniently uncheck "Public" method access level option.
Actual: "Create Tests" dialog shows up but its left UI part quickly moves away and you have only a few milliseconds to uncheck the "Public" method access level option.
Comment 1 Jiri Kovalsky 2015-06-19 13:45:48 UTC
This is a JDK 9 specific issue.