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 - Problem in naming of package
Summary: Problem in naming of package
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.0
Hardware: Other Windows 7
: P2 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords: PLATFORM
Depends on:
Blocks:
 
Reported: 2011-03-29 07:15 UTC by Kolchinmax
Modified: 2011-11-16 16:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.