jakarta-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50708] New: Classpath jar order in NewDriver not alphabetically
Date Wed, 02 Feb 2011 16:07:53 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50708

           Summary: Classpath jar order in NewDriver not alphabetically
           Product: JMeter
           Version: 2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
        AssignedTo: notifications@jakarta.apache.org
        ReportedBy: jens_0@hotmail.com


Hello,

my extension whose jar I add to the lib\ext directory overwrites an existing
JMeter class. This works well in most cases, as the name of my extension begins
with an "A" and comes first in the classpath before the other JMeter lib\ext
jars.

Now I had the case of one system where this was not working and I checked the
classpath and indeed, the order was not alphabetically.
NewDriver uses File.listFiles which does not guarantee a specific order!

Therefore my request would be to add the line 
Arrays.sort(libJars); 
to myDriver.java line 100.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


Mime
View raw message