>>> Unpacking source... >>> Unpacking pdftk-1.41.tar.gz to /var/tmp/portage/app-text/pdftk-1.41/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/pdftk ... make -C ../java_libs make[1]: Entering directory `/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs' make -C "/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security"; make[2]: Entering directory `/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security' gcj -march=native -O2 -pipe --encoding=UTF-8 --classpath="/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs" -c Engine.java -o Engine.o Engine.java:158: warning: Class is a raw type. References to generic type Class should be parameterized Class clazz = null; ^^^^^ Engine.java:160: warning: Constructor is a raw type. References to generic type Constructor should be parameterized Constructor constructor = null; ^^^^^^^^^^^ Engine.java:213: warning: Constructor is a raw type. References to generic type Constructor should be parameterized private static Constructor getCompatibleConstructor(Class clazz, ^^^^^^^^^^^ Engine.java:213: warning: Class is a raw type. References to generic type Class should be parameterized private static Constructor getCompatibleConstructor(Class clazz, ^^^^^ Engine.java:217: warning: Constructor is a raw type. References to generic type Constructor should be parameterized Constructor[] c = clazz.getConstructors(); ^^^^^^^^^^^ Engine.java:220: warning: Class is a raw type. References to generic type Class should be parameterized Class[] argTypes = c[i].getParameterTypes(); ^^^^^ Engine.java:226: warning: Type safety: The method isAssignableFrom(Class) belongs to the raw type Class. References to generic type Class should be parameterized !argTypes[j].isAssignableFrom(initArgs[j].getClass())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 7 problems (7 warnings) ar rs security.a Engine.o; ar: creating security.a gcj -march=native -O2 -pipe --encoding=UTF-8 --classpath="/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs" -C Engine.java Engine.java:158: warning: Class is a raw type. References to generic type Class should be parameterized Class clazz = null; ^^^^^ Engine.java:160: warning: Constructor is a raw type. References to generic type Constructor should be parameterized Constructor constructor = null; ^^^^^^^^^^^ Engine.java:213: warning: Constructor is a raw type. References to generic type Constructor should be parameterized private static Constructor getCompatibleConstructor(Class clazz, ^^^^^^^^^^^ Engine.java:213: warning: Class is a raw type. References to generic type Class should be parameterized private static Constructor getCompatibleConstructor(Class clazz, ^^^^^ Engine.java:217: warning: Constructor is a raw type. References to generic type Constructor should be parameterized Constructor[] c = clazz.getConstructors(); ^^^^^^^^^^^ Engine.java:220: warning: Class is a raw type. References to generic type Class should be parameterized Class[] argTypes = c[i].getParameterTypes(); ^^^^^ Engine.java:226: warning: Type safety: The method isAssignableFrom(Class) belongs to the raw type Class. References to generic type Class should be parameterized !argTypes[j].isAssignableFrom(initArgs[j].getClass())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 7 problems (7 warnings) gcjh --classpath="." Engine; rm Engine.class make[2]: Leaving directory `/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security' make -C "/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/provider"; make[2]: Entering directory `/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/provider' gcj -march=native -O2 -pipe --encoding=UTF-8 --classpath="/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs" -c Gnu.java -o Gnu.o Gnu.java:42: warning: The serializable class Gnu does not declare a static final serialVersionUID field of type long public final class Gnu extends Provider ^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:158: warning: Class is a raw type. References to generic type Class should be parameterized Class clazz = null; ^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:160: warning: Constructor is a raw type. References to generic type Constructor should be parameterized Constructor constructor = null; ^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:213: warning: Constructor is a raw type. References to generic type Constructor should be parameterized private static Constructor getCompatibleConstructor(Class clazz, ^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:213: warning: Class is a raw type. References to generic type Class should be parameterized private static Constructor getCompatibleConstructor(Class clazz, ^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:217: warning: Constructor is a raw type. References to generic type Constructor should be parameterized Constructor[] c = clazz.getConstructors(); ^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:220: warning: Class is a raw type. References to generic type Class should be parameterized Class[] argTypes = c[i].getParameterTypes(); ^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:226: warning: Type safety: The method isAssignableFrom(Class) belongs to the raw type Class. References to generic type Class should be parameterized !argTypes[j].isAssignableFrom(initArgs[j].getClass())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:40: warning: The import java.io.FileNotFoundException is never used import java.io.FileNotFoundException; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:66: warning: Vector is a raw type. References to generic type Vector should be parameterized private static Vector providers = new Vector(); ^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:66: warning: Vector is a raw type. References to generic type Vector should be parameterized private static Vector providers = new Vector(); ^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:106: warning: Type safety: The method addElement(Object) belongs to the raw type Vector. References to generic type Vector should be parameterized providers.addElement (new gnu_local.java.security.provider.Gnu()); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:119: warning: The method loadProviders(String, String) from the type Security is never used locally private static boolean loadProviders(String baseUrl, String vendor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:139: warning: Type safety: The method addElement(Object) belongs to the raw type Vector. References to generic type Vector should be parameterized providers.addElement(Class.forName(name, true, sys).newInstance()); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:196: warning: Iterator is a raw type. References to generic type Iterator should be parameterized for (Iterator i = providers.iterator(); i.hasNext(); ) ^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:199: warning: Iterator is a raw type. References to generic type Iterator should be parameterized for (Iterator j = p.keySet().iterator(); j.hasNext(); ) ^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:264: warning: Type safety: The method insertElementAt(Object, int) belongs to the raw type Vector. References to generic type Vector should be parameterized providers.insertElementAt(provider, position); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:439: warning: Set is a raw type. References to generic type Set should be parameterized public static Set getAlgorithms(String serviceName) ^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:441: warning: HashSet is a raw type. References to generic type HashSet should be parameterized HashSet result = new HashSet(); ^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:441: warning: HashSet is a raw type. References to generic type HashSet should be parameterized HashSet result = new HashSet(); ^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:453: warning: Enumeration is a raw type. References to generic type Enumeration should be parameterized for (Enumeration e = providers[i].propertyNames(); e.hasMoreElements(); ) ^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:462: warning: Type safety: The method add(Object) belongs to the raw type HashSet. References to generic type HashSet should be parameterized result.add(service); ^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:465: warning: Type safety: Unchecked invocation unmodifiableSet(Set) of the generic method unmodifiableSet(Set) of type Collections return Collections.unmodifiableSet(result); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:465: warning: Type safety: The expression of type HashSet needs unchecked conversion to conform to Set return Collections.unmodifiableSet(result); ^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:526: warning: HashMap is a raw type. References to generic type HashMap should be parameterized HashMap map = new HashMap(1); ^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:526: warning: HashMap is a raw type. References to generic type HashMap should be parameterized HashMap map = new HashMap(1); ^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:529: warning: Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap should be parameterized map.put(filter, ""); ^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:531: warning: Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap should be parameterized map.put(filter.substring(0, i), filter.substring(i+1)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:578: warning: Map is a raw type. References to generic type Map should be parameterized public static Provider[] getProviders(Map filter) ^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:586: warning: Set is a raw type. References to generic type Set should be parameterized Set querries = filter.keySet(); ^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:590: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized LinkedHashSet result = new LinkedHashSet(providers); // assume all ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:590: warning: Type safety: The constructor LinkedHashSet(Collection) belongs to the raw type LinkedHashSet. References to generic type LinkedHashSet should be parameterized LinkedHashSet result = new LinkedHashSet(providers); // assume all ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:590: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized LinkedHashSet result = new LinkedHashSet(providers); // assume all ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:593: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized LinkedHashSet serviceProviders = new LinkedHashSet(); // preserve insertion order ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:593: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized LinkedHashSet serviceProviders = new LinkedHashSet(); // preserve insertion order ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:594: warning: Iterator is a raw type. References to generic type Iterator should be parameterized for (Iterator i = querries.iterator(); i.hasNext(); ) ^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:651: warning: Type safety: The method retainAll(Collection) belongs to the raw type AbstractCollection. References to generic type AbstractCollection should be parameterized result.retainAll(serviceProviders); // eval next retaining found providers ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:659: warning: Type safety: The method toArray(Object[]) belongs to the raw type AbstractCollection. References to generic type AbstractCollection should be parameterized return (Provider[]) result.toArray(new Provider[result.size()]); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:663: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized String val, LinkedHashSet providerSet, ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:664: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized LinkedHashSet result) ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:667: warning: Iterator is a raw type. References to generic type Iterator should be parameterized for (Iterator i = providerSet.iterator(); i.hasNext(); ) ^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:671: warning: Type safety: The method add(Object) belongs to the raw type HashSet. References to generic type HashSet should be parameterized result.add(p); ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:678: warning: Iterator is a raw type. References to generic type Iterator should be parameterized Iterator it; ^^^^^^^^ 43 problems (43 warnings) gcj -march=native -O2 -pipe --encoding=UTF-8 --classpath="/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs" -c MD5.java -o MD5.o /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:158: warning: Class is a raw type. References to generic type Class should be parameterized Class clazz = null; ^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:160: warning: Constructor is a raw type. References to generic type Constructor should be parameterized Constructor constructor = null; ^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:213: warning: Constructor is a raw type. References to generic type Constructor should be parameterized private static Constructor getCompatibleConstructor(Class clazz, ^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:213: warning: Class is a raw type. References to generic type Class should be parameterized private static Constructor getCompatibleConstructor(Class clazz, ^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:217: warning: Constructor is a raw type. References to generic type Constructor should be parameterized Constructor[] c = clazz.getConstructors(); ^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:220: warning: Class is a raw type. References to generic type Class should be parameterized Class[] argTypes = c[i].getParameterTypes(); ^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:226: warning: Type safety: The method isAssignableFrom(Class) belongs to the raw type Class. References to generic type Class should be parameterized !argTypes[j].isAssignableFrom(initArgs[j].getClass())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:40: warning: The import java.io.FileNotFoundException is never used import java.io.FileNotFoundException; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:66: warning: Vector is a raw type. References to generic type Vector should be parameterized private static Vector providers = new Vector(); ^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:66: warning: Vector is a raw type. References to generic type Vector should be parameterized private static Vector providers = new Vector(); ^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:106: warning: Type safety: The method addElement(Object) belongs to the raw type Vector. References to generic type Vector should be parameterized providers.addElement (new gnu_local.java.security.provider.Gnu()); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:119: warning: The method loadProviders(String, String) from the type Security is never used locally private static boolean loadProviders(String baseUrl, String vendor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:139: warning: Type safety: The method addElement(Object) belongs to the raw type Vector. References to generic type Vector should be parameterized providers.addElement(Class.forName(name, true, sys).newInstance()); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:196: warning: Iterator is a raw type. References to generic type Iterator should be parameterized for (Iterator i = providers.iterator(); i.hasNext(); ) ^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:199: warning: Iterator is a raw type. References to generic type Iterator should be parameterized for (Iterator j = p.keySet().iterator(); j.hasNext(); ) ^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:264: warning: Type safety: The method insertElementAt(Object, int) belongs to the raw type Vector. References to generic type Vector should be parameterized providers.insertElementAt(provider, position); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:439: warning: Set is a raw type. References to generic type Set should be parameterized public static Set getAlgorithms(String serviceName) ^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:441: warning: HashSet is a raw type. References to generic type HashSet should be parameterized HashSet result = new HashSet(); ^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:441: warning: HashSet is a raw type. References to generic type HashSet should be parameterized HashSet result = new HashSet(); ^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:453: warning: Enumeration is a raw type. References to generic type Enumeration should be parameterized for (Enumeration e = providers[i].propertyNames(); e.hasMoreElements(); ) ^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:462: warning: Type safety: The method add(Object) belongs to the raw type HashSet. References to generic type HashSet should be parameterized result.add(service); ^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:465: warning: Type safety: Unchecked invocation unmodifiableSet(Set) of the generic method unmodifiableSet(Set) of type Collections return Collections.unmodifiableSet(result); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:465: warning: Type safety: The expression of type HashSet needs unchecked conversion to conform to Set return Collections.unmodifiableSet(result); ^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:526: warning: HashMap is a raw type. References to generic type HashMap should be parameterized HashMap map = new HashMap(1); ^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:526: warning: HashMap is a raw type. References to generic type HashMap should be parameterized HashMap map = new HashMap(1); ^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:529: warning: Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap should be parameterized map.put(filter, ""); ^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:531: warning: Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap should be parameterized map.put(filter.substring(0, i), filter.substring(i+1)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:578: warning: Map is a raw type. References to generic type Map should be parameterized public static Provider[] getProviders(Map filter) ^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:586: warning: Set is a raw type. References to generic type Set should be parameterized Set querries = filter.keySet(); ^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:590: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized LinkedHashSet result = new LinkedHashSet(providers); // assume all ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:590: warning: Type safety: The constructor LinkedHashSet(Collection) belongs to the raw type LinkedHashSet. References to generic type LinkedHashSet should be parameterized LinkedHashSet result = new LinkedHashSet(providers); // assume all ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:590: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized LinkedHashSet result = new LinkedHashSet(providers); // assume all ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:593: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized LinkedHashSet serviceProviders = new LinkedHashSet(); // preserve insertion order ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:593: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized LinkedHashSet serviceProviders = new LinkedHashSet(); // preserve insertion order ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:594: warning: Iterator is a raw type. References to generic type Iterator should be parameterized for (Iterator i = querries.iterator(); i.hasNext(); ) ^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:651: warning: Type safety: The method retainAll(Collection) belongs to the raw type AbstractCollection. References to generic type AbstractCollection should be parameterized result.retainAll(serviceProviders); // eval next retaining found providers ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:659: warning: Type safety: The method toArray(Object[]) belongs to the raw type AbstractCollection. References to generic type AbstractCollection should be parameterized return (Provider[]) result.toArray(new Provider[result.size()]); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:663: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized String val, LinkedHashSet providerSet, ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:664: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized LinkedHashSet result) ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:667: warning: Iterator is a raw type. References to generic type Iterator should be parameterized for (Iterator i = providerSet.iterator(); i.hasNext(); ) ^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:671: warning: Type safety: The method add(Object) belongs to the raw type HashSet. References to generic type HashSet should be parameterized result.add(p); ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:678: warning: Iterator is a raw type. References to generic type Iterator should be parameterized Iterator it; ^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/provider/Gnu.java:42: warning: The serializable class Gnu does not declare a static final serialVersionUID field of type long public final class Gnu extends Provider ^^^ 43 problems (43 warnings) ar rs provider.a Gnu.o MD5.o; ar: creating provider.a gcj -march=native -O2 -pipe --encoding=UTF-8 --classpath="/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs" -C Gnu.java Gnu.java:42: warning: The serializable class Gnu does not declare a static final serialVersionUID field of type long public final class Gnu extends Provider ^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:158: warning: Class is a raw type. References to generic type Class should be parameterized Class clazz = null; ^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:160: warning: Constructor is a raw type. References to generic type Constructor should be parameterized Constructor constructor = null; ^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:213: warning: Constructor is a raw type. References to generic type Constructor should be parameterized private static Constructor getCompatibleConstructor(Class clazz, ^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:213: warning: Class is a raw type. References to generic type Class should be parameterized private static Constructor getCompatibleConstructor(Class clazz, ^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:217: warning: Constructor is a raw type. References to generic type Constructor should be parameterized Constructor[] c = clazz.getConstructors(); ^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:220: warning: Class is a raw type. References to generic type Class should be parameterized Class[] argTypes = c[i].getParameterTypes(); ^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/Engine.java:226: warning: Type safety: The method isAssignableFrom(Class) belongs to the raw type Class. References to generic type Class should be parameterized !argTypes[j].isAssignableFrom(initArgs[j].getClass())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:40: warning: The import java.io.FileNotFoundException is never used import java.io.FileNotFoundException; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:66: warning: Vector is a raw type. References to generic type Vector should be parameterized private static Vector providers = new Vector(); ^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:66: warning: Vector is a raw type. References to generic type Vector should be parameterized private static Vector providers = new Vector(); ^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:106: warning: Type safety: The method addElement(Object) belongs to the raw type Vector. References to generic type Vector should be parameterized providers.addElement (new gnu_local.java.security.provider.Gnu()); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:119: warning: The method loadProviders(String, String) from the type Security is never used locally private static boolean loadProviders(String baseUrl, String vendor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:139: warning: Type safety: The method addElement(Object) belongs to the raw type Vector. References to generic type Vector should be parameterized providers.addElement(Class.forName(name, true, sys).newInstance()); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:196: warning: Iterator is a raw type. References to generic type Iterator should be parameterized for (Iterator i = providers.iterator(); i.hasNext(); ) ^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:199: warning: Iterator is a raw type. References to generic type Iterator should be parameterized for (Iterator j = p.keySet().iterator(); j.hasNext(); ) ^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:264: warning: Type safety: The method insertElementAt(Object, int) belongs to the raw type Vector. References to generic type Vector should be parameterized providers.insertElementAt(provider, position); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:439: warning: Set is a raw type. References to generic type Set should be parameterized public static Set getAlgorithms(String serviceName) ^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:441: warning: HashSet is a raw type. References to generic type HashSet should be parameterized HashSet result = new HashSet(); ^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:441: warning: HashSet is a raw type. References to generic type HashSet should be parameterized HashSet result = new HashSet(); ^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:453: warning: Enumeration is a raw type. References to generic type Enumeration should be parameterized for (Enumeration e = providers[i].propertyNames(); e.hasMoreElements(); ) ^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:462: warning: Type safety: The method add(Object) belongs to the raw type HashSet. References to generic type HashSet should be parameterized result.add(service); ^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:465: warning: Type safety: Unchecked invocation unmodifiableSet(Set) of the generic method unmodifiableSet(Set) of type Collections return Collections.unmodifiableSet(result); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:465: warning: Type safety: The expression of type HashSet needs unchecked conversion to conform to Set return Collections.unmodifiableSet(result); ^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:526: warning: HashMap is a raw type. References to generic type HashMap should be parameterized HashMap map = new HashMap(1); ^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:526: warning: HashMap is a raw type. References to generic type HashMap should be parameterized HashMap map = new HashMap(1); ^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:529: warning: Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap should be parameterized map.put(filter, ""); ^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:531: warning: Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap should be parameterized map.put(filter.substring(0, i), filter.substring(i+1)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:578: warning: Map is a raw type. References to generic type Map should be parameterized public static Provider[] getProviders(Map filter) ^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:586: warning: Set is a raw type. References to generic type Set should be parameterized Set querries = filter.keySet(); ^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:590: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized LinkedHashSet result = new LinkedHashSet(providers); // assume all ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:590: warning: Type safety: The constructor LinkedHashSet(Collection) belongs to the raw type LinkedHashSet. References to generic type LinkedHashSet should be parameterized LinkedHashSet result = new LinkedHashSet(providers); // assume all ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:590: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized LinkedHashSet result = new LinkedHashSet(providers); // assume all ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:593: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized LinkedHashSet serviceProviders = new LinkedHashSet(); // preserve insertion order ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:593: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized LinkedHashSet serviceProviders = new LinkedHashSet(); // preserve insertion order ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:594: warning: Iterator is a raw type. References to generic type Iterator should be parameterized for (Iterator i = querries.iterator(); i.hasNext(); ) ^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:651: warning: Type safety: The method retainAll(Collection) belongs to the raw type AbstractCollection. References to generic type AbstractCollection should be parameterized result.retainAll(serviceProviders); // eval next retaining found providers ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:659: warning: Type safety: The method toArray(Object[]) belongs to the raw type AbstractCollection. References to generic type AbstractCollection should be parameterized return (Provider[]) result.toArray(new Provider[result.size()]); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:663: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized String val, LinkedHashSet providerSet, ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:664: warning: LinkedHashSet is a raw type. References to generic type LinkedHashSet should be parameterized LinkedHashSet result) ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:667: warning: Iterator is a raw type. References to generic type Iterator should be parameterized for (Iterator i = providerSet.iterator(); i.hasNext(); ) ^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:671: warning: Type safety: The method add(Object) belongs to the raw type HashSet. References to generic type HashSet should be parameterized result.add(p); ^^^^^^^^^^^^^ /var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/java_local/security/Security.java:678: warning: Iterator is a raw type. References to generic type Iterator should be parameterized Iterator it; ^^^^^^^^ 43 problems (43 warnings) gcjh --classpath="." Gnu; Exception in thread "main" java.io.IOException: can't find class file java_local/security/Provider.class in java.net.URLClassLoader{urls=[file:/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/provider/./,file:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.1/java/libgcj-4.3.1.jar], parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}} at gnu.classpath.tools.javah.Main.getClass(libgcj-tools.so.9) at gnu.classpath.tools.javah.ClassWrapper.linkSupers(libgcj-tools.so.9) at gnu.classpath.tools.javah.ClassWrapper.printFully(libgcj-tools.so.9) at gnu.classpath.tools.javah.CniIncludePrinter.printClass(libgcj-tools.so.9) at gnu.classpath.tools.javah.Main.writeHeaders(libgcj-tools.so.9) at gnu.classpath.tools.javah.Main.run(libgcj-tools.so.9) at gnu.classpath.tools.javah.GcjhMain.main(libgcj-tools.so.9) make[2]: *** [Gnu.h] Error 1 rm Gnu.class make[2]: Leaving directory `/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs/gnu_local/java/security/provider' make[1]: *** [libgcj_local] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-text/pdftk-1.41/work/pdftk-1.41/java_libs' make: *** [java_libs] Error 2 * ERROR: app-text/pdftk-1.41 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2116: Called die * The specific snippet of code: * make -f Makefile.Generic || die "Compilation failed." * The die message: * Compilation failed. * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/app-text:pdftk-1.41:20080803-183344.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/pdftk-1.41/temp/environment'.