JMeter still depends on the Activation Framework which is now part of Java 6. This dependency could be safely removed.
Created attachment 30239 [details] Patch removing the dependency on the activation framework
Thanks for patch. But it seems to me JDK6 does not include the whole content of activation-1.1.1.jar. So I am not sure we can apply this patch without side effects.
I think Activation 1.1.1 is also in Java 6. I found this: http://www.oracle.com/technetwork/java/javase/downloads/index-135046.html "JAF 1.1.1 released! The JavaBeans Activation Framework 1.1.1 contains a bug fix for the Turkish locale and a minor enhancement to better support byte arrays and Strings in the DataHandler.writeTo method. The JavaBeans Activation Framework 1.1.1 requires J2SE 1.4 or greater. The JavaBeans Activation Framework 1.1.1 final release is included with the Java SE 6 release and is also available separately." And also this post stating that Activation 1.1.1 was included in Java 6u10: http://glassfish.10926.n7.nabble.com/javax-activation-UnsupportedDataTypeException-no-object-DCH-for-MIME-type-text-plain-with-JavaMail-ae-tp72106p72111.html
Thanks, but checking with my last java version on mac osx 10.6.8 of jdk6, i don't see all classes from activation-1.1.1 that's why I am wondering.
Which one is missing? I'll give it a look.
I checked all the classes in activation-1.1.1-jar, the only ones missing from the public Java 6 API are either package private classes (e.g. ObjectDataContentHandler) or classes under com.sun.*.
Date: Sat Jun 15 19:17:31 2013 New Revision: 1493407 URL: http://svn.apache.org/r1493407 Log: Bug 54903 - Remove the dependency on the Activation Framework Bugzilla Id: 54903 Modified: jmeter/trunk/build.properties jmeter/trunk/build.xml jmeter/trunk/xdocs/changes.xml
Thanks, applied
URL: http://svn.apache.org/r1504172 Log: Remove the dependency on the Activation Framework Bugzilla Id: 54903 Modified: jmeter/trunk/lib/ (props changed) URL: http://svn.apache.org/r1504171 Log: Remove the dependency on the Activation Framework Bugzilla Id: 54903 Modified: jmeter/trunk/eclipse.classpath
URL: http://svn.apache.org/r1504329 Log: Remove the dependency on the Activation Framework Bugzilla Id: 54903 Modified: jmeter/trunk/res/maven/ApacheJMeter_parent.pom
URL: http://svn.apache.org/r1553173 Log: No longer need to include activation.jar Bugzilla Id: 54903 Removed: jmeter/trunk/licenses/bin/activation-1.1.1.txt
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3115