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.
040603. I noticed that the target chooser does not work correctly when -J-Dorg.netbeans.spi.java.project.support.ui.packageView.TRUNCATE_PACKAGE_NAMES=true is used. This bug existed in the original Java target chooser, which you maybe copied, and was fixed since. You should be using JavaTemplates.createPackageChooser with the bottomPanel parameter to avoid code duplication. Specifically LocationPanel.setupPackageChooser is incorrectly using node.displayName.
Accepted.
fixed in the trunk (together with bugs #43621, #44202, #44051, #44318, #44320) changed files: junit/src/org/netbeans/modules/junit/wizards/Bundle.properties (1.3) junit/src/org/netbeans/modules/junit/wizards/EmptyTestCaseWizardIterator.java (1.5) junit/src/org/netbeans/modules/junit/wizards/EmptyTestStepLocation.java (1.4) junit/src/org/netbeans/modules/junit/wizards/LocationPanel.java (deleted - last revision 1.3) junit/src/org/netbeans/modules/junit/wizards/SimpleTestStepLocation.java (1.5) junit/src/org/netbeans/modules/junit/wizards/StepProblemMessage.java (1.1 - initial revision) junit/src/org/netbeans/modules/junit/wizards/TestSuiteStepLocation.java (1.4) junit/src/org/netbeans/modules/junit/wizards/TestSuiteWizardIterator.java (1.5) junit/src/org/netbeans/modules/junit/wizards/Utils.java (1.5)
ufff... Jesse would you mind to verify this issue, please? Thanks -dan
Information: LocationPanel is not used any more (and has been removed from the source base). The standard Java target chooser is used in wizards "Empty Test" and "Test Suite". The corresponding Java classes are: org.netbeans.modules.junit.wizards.EmptyTestStepLocation org.netbeans.modules.junit.wizards.TestSuiteStepLocation Wizard "Test for Existing Class" does not use the standard Java target chooser and I do not plan to change it.
Don't see any problems in 040619.