Browse files

Use a modified Avro library compiled with JDK5.

The changes were:
- Comment out some @Override annotations
- Replace Arrays.copyOf calls with System.arraycopy
- Remove FloatHistogram, Histogram, StatsPlugin and StatsServlet.

This is not ideal (particularly the last line), but it will have to do for now as
Histogram uses TreeMap.floorEntry which does not exist in JDK5. People on JDK6
should use the offiical Avro 1.3.0 jar instead.
  • Loading branch information...
1 parent f748dd9 commit 08e5168017bf2c931fae78b0076a5976710b945d @ijuma ijuma committed Mar 7, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 .classpath
  2. BIN lib/avro-1.3.0.jar
  3. BIN lib/avro-modified-jdk5-1.3.0.jar
@@ -44,9 +44,9 @@
<classpathentry kind="lib" path="lib/libthrift-0.2.0.jar"/>
<classpathentry kind="lib" path="lib/google-collect-1.0.jar"/>
<classpathentry kind="lib" path="lib/je-4.0.92.jar"/>
- <classpathentry kind="lib" path="lib/avro-1.3.0.jar"/>
<classpathentry kind="lib" path="lib/paranamer-2.1.jar"/>
<classpathentry kind="lib" path="lib/jackson-mapper-asl-1.4.0.jar"/>
<classpathentry kind="lib" path="lib/jackson-core-asl-1.4.0.jar"/>
+ <classpathentry kind="lib" path="lib/avro-modified-jdk5-1.3.0.jar"/>
<classpathentry kind="output" path="classes"/>
Binary file not shown.
Binary file not shown.

0 comments on commit 08e5168

Please sign in to comment.