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 197172

Summary: Problem in naming of package
Product: java Reporter: Kolchinmax
Component: SourceAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED INVALID    
Severity: normal Keywords: PLATFORM
Priority: P2    
Version: 7.0   
Hardware: Other   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Kolchinmax 2011-03-29 07:15:25 UTC
I can not write character "-" in package name. Example:  "package com.emc.jenkins_ci.plugins;" - It's ok, but this is "package com.emc.jenkins-ci.plugins;" wrong.

Product Version = NetBeans IDE 7.0 Beta 2 (Build 201102140001)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_24
Runtime = Java HotSpot(TM) Client VM 19.1-b02
Comment 1 Jan Lahoda 2011-03-30 18:44:56 UTC
"-" is neither Java letter nor Java number, and so cannot be used inside an identifier. Please see Java language specification ยง3.8.