harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Cornwall (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5578) [classlib][pack200] Remove regex dependency of Pack200
Date Wed, 05 Mar 2008 21:59:40 GMT
[classlib][pack200] Remove regex dependency of Pack200
------------------------------------------------------

                 Key: HARMONY-5578
                 URL: https://issues.apache.org/jira/browse/HARMONY-5578
             Project: Harmony
          Issue Type: Improvement
          Components: Classlib
         Environment: All pack200
            Reporter: Andrew Cornwall
            Priority: Minor


I've had a complaint that my Pack200 code depends on regex being available because I use String.matches().
In some cases, regex may not be available - and it really doesn't make sense to use the overhead
of regex when I don't need to. So I've added the worlds worst regex replacement to SegmentConstantPool
so the dependency isn't there.

This patch also removes a few magic values from SegmentConstantPool.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message