Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
ant test Buildfile: build.xml init: jar: jar-jruby: init: prepare: compile.tasks: [copy] Copying 1 file to /root/src/jruby/jruby/build/classes/jruby/builtin [copy] Copying 1 file to /root/src/jruby/jruby/build/classes/jruby check-for-optional-java4-packages: check-for-optional-packages: compile-jruby: [javac] Compiling 177 source files to /root/src/jruby/jruby/build/classes/jruby [javac] ---------- [javac] 1. WARNING in /root/src/jruby/jruby/src/org/jruby/IncludedModuleWrapper.java (at line 53) [javac] public final class IncludedModuleWrapper extends RubyClass { [javac] ^^^^^^^^^^^^^^^^^^^^^ [javac] The serializable class IncludedModuleWrapper does not declare a static final serialVersionUID field of type long [javac] ---------- [javac] 2. WARNING in /root/src/jruby/jruby/src/org/jruby/IncludedModuleWrapper.java [javac] (at line 103) [javac] public Map getMethods() { [javac] ^^^ [javac] Map is a raw type. References to generic type Map<K,V> should be parameterized [javac] ---------- [javac] 3. WARNING in /root/src/jruby/jruby/src/org/jruby/IncludedModuleWrapper.java [javac] (at line 107) [javac] public void setMethods(Map newMethods) { [javac] ^^^ [javac] Map is a raw type. References to generic type Map<K,V> should be parameterized [javac] ---------- [javac] ---------- [javac] 4. WARNING in /root/src/jruby/jruby/src/org/jruby/MetaClass.java (at line 36) [javac] public final class MetaClass extends RubyClass { [javac] ^^^^^^^^^ [javac] The serializable class MetaClass does not declare a static final serialVersionUID field of type long [javac] ---------- [javac] ---------- [javac] 5. WARNING in /root/src/jruby/jruby/src/org/jruby/NativeException.java [javac] (at line 40) [javac] public class NativeException extends RubyException { [javac] ^^^^^^^^^^^^^^^ [javac] The serializable class NativeException does not declare a static final serialVersionUID field of type long [javac] ---------- [javac] ---------- [javac] 6. WARNING in /root/src/jruby/jruby/src/org/jruby/Ruby.java (at line 2540) [javac] private Hashtable<Object, Object> runtimeInformation; [javac] ^^^^^^^^^^^^^^^^^^ [javac] The field Ruby.runtimeInformation is never read locally [javac] ---------- [javac] ---------- [javac] 7. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArgsFile.java (at line 35) [javac] import org.jruby.runtime.Arity; [javac] ^^^^^^^^^^^^^^^^^^^^^^^ [javac] The import org.jruby.runtime.Arity is never used [javac] ---------- [javac] ---------- [javac] 8. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 72) [javac] public class RubyArray extends RubyObject implements List { [javac] ^^^^^^^^^ [javac] The serializable class RubyArray does not declare a static final serialVersionUID field of type long [javac] ---------- [javac] 9. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java [javac] (at line 72) [javac] public class RubyArray extends RubyObject implements List { [javac] ^^^^ [javac] List is a raw type. References to generic type List<E> should be parameterized [javac] ---------- [javac] 10. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 187) [javac] public static RubyArray newArray(Ruby runtime, Collection collection) { [javac] ^^^^^^^^^^ [javac] Collection is a raw type. References to generic type Collection<E> should be parameterized [javac] ---------- [javac] 11. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 189) [javac] collection.toArray(arr.values); [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] Type safety: The method toArray(Object[]) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized [javac] ---------- [javac] 12. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java [javac] (at line 328) [javac] public List getList() { [javac] ^^^^ [javac] List is a raw type. References to generic type List<E> should be parameterized [javac] ---------- [javac] 13. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java [javac] (at line 2135) [javac] Arrays.sort(values, 0, realLength, new BlockComparator(block)); [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] Type safety: Unchecked invocation sort(Object[], int, int, Comparator) of the generic method sort(T[ [javac] ], int, int, Comparator<? super T>) of type Arrays [javac] ---------- [javac] 14. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2135) [javac] Arrays.sort(values, 0, realLength, new BlockComparator(block)); [javac] [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] Type safety: The expression of type RubyArray.BlockComparator needs unchecked conversion to conform to Comparator<? super T> [javac] ---------- [javac] 15. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java [javac] (at line 2137) [javac] Arrays.sort(values, 0, realLength, new DefaultComparator()); [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] Type safety: Unchecked invocation sort(Object[], int, int, Comparator) of the generic method sort(T[ [javac] ], int, int, Comparator<? super T>) of type Arrays [javac] ---------- [javac] 16. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2137) [javac] Arrays.sort(values, 0, realLength, new DefaultComparator()); [javac] [javac] ^^^^^^^^^^^^^^^^^^^^^^^ [javac] Type safety: The expression of type RubyArray.DefaultComparator needs unchecked conversion to conform to Comparator<? super T> [javac] ---------- [javac] 17. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java [javac] (at line 2146) [javac] final class BlockComparator implements Comparator { [javac] ^^^^^^^^^^ [javac] Comparator is a raw type. References to generic type Comparator<T> should be parameterized [javac] ---------- [javac] 18. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2164) [javac] final class DefaultComparator implements Comparator { [javac] ^^^^^^^^^^ [javac] Comparator is a raw type. References to generic type Comparator<T> should be parameterized [javac] ---------- [javac] 19. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java [javac] (at line 2190) [javac] for (Iterator iter = array.getList().iterator(); iter.hasNext();) { [javac] ^^^^^^^^ [javac] Iterator is a raw type. References to generic type Iterator<E> should be parameterized [javac] ---------- [javac] 20. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2214) [javac] public Class getJavaClass() { [javac] ^^^^^ [javac] Class is a raw type. References to generic type Class<T> should be parameterized [javac] ---------- [javac] 21. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2239) [javac] public Object[] toArray(final Object[] arg) { [javac] ^^^^^^^^ [javac] Type safety: The return type Object[] for toArray(Object[]) from the type RubyArray needs unchecked [javac] conversion to conform to T[] from the type Collection<E> [javac] ---------- [javac] 22. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2239) [javac] public Object[] toArray(final Object[] arg) { [javac] ^^^^^^^^ [javac] Type safety: The return type Object[] for toArray(Object[]) from the type RubyArray needs unchecked conversion to conform to T[] from the type List<E> [javac] ---------- [javac] 23. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java [javac] (at line 2242) [javac] Class type = array.getClass().getComponentType(); [javac] ^^^^^ [javac] Class is a raw type. References to generic type Class<T> should be parameterized [javac] ---------- [javac] 24. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java [javac] (at line 2263) [javac] public boolean containsAll(Collection c) { [javac] ^^^^^^^^^^ [javac] Collection is a raw type. References to generic type Collection<E> should be parameterized [javac] ---------- [javac] 25. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2264) [javac] for (Iterator iter = c.iterator(); iter.hasNext();) { [javac] ^^^^^^^^ [javac] Iterator is a raw type. References to generic type Iterator<E> should be parameterized [javac] ---------- [javac] 26. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2273) [javac] public boolean addAll(Collection c) { [javac] ^^^^^^^^^^ [javac] Collection is a raw type. References to generic type Collection<E> should be parameterized [javac] ---------- [javac] 27. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2274) [javac] for (Iterator iter = c.iterator(); iter.hasNext();) { [javac] ^^^^^^^^ [javac] Iterator is a raw type. References to generic type Iterator<E> should be parameterized [javac] ---------- [javac] 28. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2280) [javac] public boolean addAll(int index, Collection c) { [javac] ^^^^^^^^^^ [javac] Collection is a raw type. References to generic type Collection<E> should be parameterized [javac] ---------- [javac] 29. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2281) [javac] Iterator iter = c.iterator(); [javac] ^^^^^^^^ [javac] Iterator is a raw type. References to generic type Iterator<E> should be parameterized [javac] ---------- [javac] 30. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java [javac] (at line 2288) [javac] public boolean removeAll(Collection c) { [javac] ^^^^^^^^^^ [javac] Collection is a raw type. References to generic type Collection<E> should be parameterized [javac] ---------- [javac] 31. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2290) [javac] for (Iterator iter = c.iterator(); iter.hasNext();) { [javac] ^^^^^^^^ [javac] Iterator is a raw type. References to generic type Iterator<E> should be parameterized [javac] ---------- [javac] 32. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2298) [javac] public boolean retainAll(Collection c) { [javac] ^^^^^^^^^^ [javac] Collection is a raw type. References to generic type Collection<E> should be parameterized [javac] ---------- [javac] 33. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java [javac] (at line 2301) [javac] for (Iterator iter = iterator(); iter.hasNext();) { [javac] ^^^^^^^^ [javac] Iterator is a raw type. References to generic type Iterator<E> should be parameterized [javac] ---------- [javac] 34. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java [javac] (at line 2371) [javac] public class RubyArrayConversionIterator implements Iterator { [javac] ^^^^^^^^ [javac] Iterator is a raw type. References to generic type Iterator<E> should be parameterized [javac] ---------- [javac] 35. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2396) [javac] public Iterator iterator() { [javac] ^^^^^^^^ [javac] Iterator is a raw type. References to generic type Iterator<E> should be parameterized [javac] ---------- [javac] 36. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2400) [javac] final class RubyArrayConversionListIterator extends RubyArrayConversionIterator imp [javac] lements ListIterator { [javac] ^^^^^^^^^^^^ [javac] ListIterator is a raw type. References to generic type ListIterator<E> should be parameterized [javac] ---------- [javac] 37. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2436) [javac] public ListIterator listIterator() { [javac] ^^^^^^^^^^^^ [javac] ListIterator is a raw type. References to generic type ListIterator<E> should be parameterized [javac] ---------- [javac] 38. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2440) [javac] public ListIterator listIterator(int index) { [javac] ^^^^^^^^^^^^ [javac] ListIterator is a raw type. References to generic type ListIterator<E> should be parameterized [javac] ---------- [javac] 39. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2446) [javac] public List subList(int fromIndex, int toIndex) { [javac] ^^^^ [javac] List is a raw type. References to generic type List<E> should be parameterized [javac] ---------- [javac] 40. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyArray.java (at line 2453) [javac] return subList.isNil() ? null : (List) subList; [javac] ^^^^ [javac] List is a raw type. References to generic type List<E> should be parameterized [javac] ---------- [javac] ---------- [javac] 41. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyBigDecimal.java (at line 46) [javac] public class RubyBigDecimal extends RubyNumeric { [javac] ^^^^^^^^^^^^^^ [javac] The serializable class RubyBigDecimal does not declare a static final serialVersionUID field of type long [javac] ---------- [javac] 42. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyBigDecimal.java (at line 117) [javac] public Class getJavaClass() { [javac] ^^^^^ [javac] Class is a raw type. References to generic type Class<T> should be parameterized [javac] ---------- [javac] ---------- [javac] 43. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyBignum.java (at line 41) [javac] import org.jruby.runtime.Arity; [javac] ^^^^^^^^^^^^^^^^^^^^^^^ [javac] The import org.jruby.runtime.Arity is never used [javac] ---------- [javac] 44. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyBignum.java (at line 53) [javac] public class RubyBignum extends RubyInteger { [javac] ^^^^^^^^^^ [javac] The serializable class RubyBignum does not declare a static final serialVersionUID field of type long [javac] ---------- [javac] ---------- [javac] 45. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyBinding.java [javac] (at line 47) [javac] public class RubyBinding extends RubyObject { [javac] ^^^^^^^^^^^ [javac] The serializable class RubyBinding does not declare a static final serialVersionUID field of type long [javac] ---------- [javac] ---------- [javac] 46. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyBoolean.java (at line 45) [javac] public class RubyBoolean extends RubyObject { [javac] ^^^^^^^^^^^ [javac] The serializable class RubyBoolean does not declare a static final serialVersionUID field of type long [javac] ---------- [javac] ---------- [javac] 47. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyClass.java [javac] (at line 42) [javac] import org.jruby.runtime.Arity; [javac] ^^^^^^^^^^^^^^^^^^^^^^^ [javac] The import org.jruby.runtime.Arity is never used [javac] ---------- [javac] 48. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyClass.java [javac] (at line 59) [javac] public class RubyClass extends RubyModule { [javac] ^^^^^^^^^ [javac] The serializable class RubyClass does not declare a static final serialVersionUID field of type long [javac] ---------- [javac] 49. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyClass.java (at line 328) [javac] public Collection subclasses(boolean includeDescendants) { [javac] ^^^^^^^^^^ [javac] Collection is a raw type. References to generic type Collection<E> should be parameterized [javac] [javac] ---------- [javac] 50. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyClass.java (at line 333) [javac] mine.addAll(i.subclasses(includeDescendants)); [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] Type safety: The expression of type Collection needs unchecked conversion to conform to Collection<? extends RubyClass> [javac] ---------- [javac] ---------- [javac] 51. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyDigest.java [javac] (at line 130) [javac] public static class Base extends RubyObject { [javac] ^^^^ [javac] The serializable class Base does not declare a static final serialVersionUID field of type long [javac] ---------- [javac] ---------- [javac] 52. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyDir.java (at line 56) [javac] public class RubyDir extends RubyObject { [javac] ^^^^^^^ [javac] The serializable class RubyDir does not declare a static final serialVersionUID field of type long [javac] ---------- [javac] ---------- [javac] 53. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyEnumerator.java (at line 31) [javac] import org.jruby.runtime.Arity; [javac] ^^^^^^^^^^^^^^^^^^^^^^^ [javac] The import org.jruby.runtime.Arity is never used [javac] ---------- [javac] 54. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyEnumerator.java (at line 43) [javac] public class RubyEnumerator extends RubyObject { [javac] ^^^^^^^^^^^^^^ [javac] The serializable class RubyEnumerator does not declare a static final serialVersionUID field of type long [javac] ---------- [javac] ---------- [javac] 55. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyException.java [javac] (at line 62) [javac] public class RubyException extends RubyObject { [javac] ^^^^^^^^^^^^^ [javac] The serializable class RubyException does not declare a static final serialVersionUID field of type long [javac] ---------- [javac] ---------- [javac] 56. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyFixnum.java (at line 52) [javac] public class RubyFixnum extends RubyInteger { [javac] ^^^^^^^^^^ [javac] The serializable class RubyFixnum does not declare a static final serialVersionUID field of type long [javac] ---------- [javac] ---------- [javac] 57. WARNING in /root/src/jruby/jruby/src/org/jruby/RubyFloat.java [javac] (at line 55) [javac] public class RubyFloat extends RubyNumeric { [javac] ^^^^^^^^^ [javac] The serializable class RubyFloat does not declare a static final serialVersionUID field of type long [javac] ----------
This paste will be private.
From the Design Piracy series on my blog: