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 40069 - Remove dependency on regexp package
Summary: Remove dependency on regexp package
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marian Petras
URL: http://www.netbeans.org/download/dev/...
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-02-13 10:36 UTC by _ rkubacki
Modified: 2004-03-05 07:55 UTC (History)
4 users (show)

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 _ rkubacki 2004-02-13 10:36:58 UTC
Following warning asks module developers to remove
dependency on Apache's RE package.

[org.netbeans.core.modules #6] Warning: the module
org.netbeans.modules.i18n uses
org.netbeans.libs.regexp which is deprecated: JDK
1.4 includes regular expression support which
should be used instead:
http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#4.0-jre-regexp
(5:20)
Comment 1 _ rkubacki 2004-02-13 10:37:33 UTC
Affects IDE startup
Comment 2 Jesse Glick 2004-02-18 15:52:33 UTC
Note that this is the last module remaining with a dep on the regexp
lib. Once this issue is fixed, the libs/regexp module can be removed
from the build (placed on stable AU I guess).
Comment 3 Marian Petras 2004-02-25 11:49:44 UTC
Fixed in the trunk.

Two two Apache's RE non standard POSIX-like character classes
[:javastart:] and [:javapart:] are no longer supported.
Comment 4 ehucka 2004-02-27 10:29:55 UTC
verified
Comment 5 Patrick Keegan 2004-03-04 21:53:34 UTC
Proposed relnote (to be put in the Changes section, not the Known
Issues section): 
Apache's regular expression library is no longer is included in the
IDE. The IDE now uses java.util.regex package for regular expression
support.

Comment 6 Jesse Glick 2004-03-05 00:24:30 UTC
Issue #40598 is I think what you are interested in; and it has not yet
been done for 3.6 (TBD whether it will be).

I am not sure whether this is appropriate RELNOTE material anyway;
mostly an internal issue. Only applies to the user insofar as the
syntax of obscure regexp constructions (that few people would even
know about) has changed for e.g. the JAR packager file filter.
Comment 7 Marian Petras 2004-03-05 07:55:08 UTC
I agree with Jesse. The user need not know about changes of
implementation. Just syntax changes should be pointed out. In module
I18N, the only syntax change is that [:javastart:] and [:javapart:]
are no longer accepted. Otherwise, the syntax remained unchanged.