You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by Sebastian Bazley <Se...@london.sema.slb.com> on 2004/01/08 04:37:46 UTC

JMeter now builds and runs on JDK 1.3

JMeter should now build and run on both 1.3 and 1.4.

If built on 1.3, it should run on 1.3 and 1.4, and vice versa.

If run on 1.4, JMeter will still use most of the new features, for example:
- ListedHashSet
- decode(S,S)

There are a few places in the code marked with 
   JDK1.4:
These indicate code which could be simplified or enhanced if we decide to drop support for 1.3.

The following behave slightly differently on 1.3:
- HTMLParser.getEmbeddedResourceURLs() no longer returns the URLs in the order they were found.
- decode() calls don't specify UTF-8
- HTTPSampler exception reporting is slightly less sophisticated

S.

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


Re: JMeter now builds and runs on JDK 1.3

Posted by Sebastian Bazley <Se...@london.sema.slb.com>.
----- Original Message ----- 
From: "peter lin" <jm...@yahoo.com>
To: "JMeter Developers List" <jm...@jakarta.apache.org>
Sent: Thursday, January 08, 2004 3:47 AM
Subject: Re: JMeter now builds and runs on JDK 1.3


> that sounds totally fine to me, since the order of the
> links is not important. I doubt it ever would be
> important to have the links returned in the original
> order.

Yes - at the moment it's only used for downloading embedded resources.

I should have mentioned that there is another version of the method that accepts an arbitrary Collection.
This could for example be a Vector(), which would return *all* the links (duplicates not removed) in order of discovery.

If the Collection parameter is omitted, LinkedHashSet (1.4) or HashSet (1.3) are used, thus eliminating duplicates.

> > The following behave slightly differently on 1.3:
> > - HTMLParser.getEmbeddedResourceURLs() no longer
> > returns the URLs in the order they were found.

S.

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


Re: JMeter now builds and runs on JDK 1.3

Posted by peter lin <jm...@yahoo.com>.
that sounds totally fine to me, since the order of the
links is not important. I doubt it ever would be
important to have the links returned in the original
order.

peter


--- Sebastian Bazley
<Se...@london.sema.slb.com> wrote:
> JMeter should now build and run on both 1.3 and 1.4.
> 
> If built on 1.3, it should run on 1.3 and 1.4, and
> vice versa.
> 
> If run on 1.4, JMeter will still use most of the new
> features, for example:
> - ListedHashSet
> - decode(S,S)
> 
> There are a few places in the code marked with 
>    JDK1.4:
> These indicate code which could be simplified or
> enhanced if we decide to drop support for 1.3.
> 
> The following behave slightly differently on 1.3:
> - HTMLParser.getEmbeddedResourceURLs() no longer
> returns the URLs in the order they were found.
> - decode() calls don't specify UTF-8
> - HTTPSampler exception reporting is slightly less
> sophisticated
> 
> S.
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> jmeter-dev-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

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