Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 197172 - Problem in naming of package
Problem in naming of package
Product: java
Classification: Unclassified
Component: Source
Other Windows 7
: P2 (vote)
: 7.0.1
Assigned To: Jan Lahoda
Depends on:
  Show dependency treegraph
Reported: 2011-03-29 07:15 UTC by Kolchinmax
Modified: 2011-11-16 16:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT


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.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo