Summary: | HashTree and ListedHashTree fail to compile with Java 8 | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Emmanuel Bourg <ebourg> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.11 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
Emmanuel Bourg
2014-04-07 21:20:57 UTC
JMeter currently targets Java 1.6 This is problematic for Debian where JMeter is compiled from the sources. This blocks the transition to Java 8 as the default JDK. Here is the patch applied in Debian fixing this issue (for JMeter 2.8) http://anonscm.debian.org/viewvc/pkg-java/trunk/jakarta-jmeter/debian/patches/04_java8_compatibility.patch?view=co Thanks for the patch etc. Fixed: URL: http://svn.apache.org/r1586693 Log: HashTree and ListedHashTree fail to compile with Java 8 Rename replace as replaceKey to avoid clash with Java 8 Map.replace(K,V) mew method Bugzilla Id: 56360 Modified: jmeter/trunk/src/core/org/apache/jmeter/JMeter.java jmeter/trunk/src/core/org/apache/jmeter/engine/ConvertListeners.java jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java jmeter/trunk/src/jorphan/org/apache/jorphan/collections/HashTree.java jmeter/trunk/src/jorphan/org/apache/jorphan/collections/ListedHashTree.java jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/ReportSave.java jmeter/trunk/xdocs/changes.xml This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3355 |