[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#925559: unblock: netlib-java/0.9.3-5



Control: tags -1 moreinfo

Andreas Tille:
> Package: release.debian.org
> Severity: normal
> User: release.debian.org@packages.debian.org
> Usertags: unblock
> 
> Please unblock package netlib-java
> 

Hi,

> 
> [...]
> +@@ -658,7 +661,14 @@ class JavaGenerator {
> + //					log(Level.SEVERE, classpathString[i] + " " + ex.getMessage());
> + //			}
> + //		}
> +-		URL [] classpath = ((URLClassLoader) ClassLoader.getSystemClassLoader()).getURLs();
> ++		URL url1 = new URL("file:///usr/share/java/junit-3.8.2.jar");
> ++		URL url2 = new URL("file:///usr/share/java/f2jutil-0.8.1.jar");
> ++		URL url3 = new URL("file:///usr/share/java/jlapack-blas-0.8.jar");
> ++		URL url4 = new URL("file:///usr/share/java/jlapack-lapack-0.8.jar");
> ++		URL url5 = new URL("file:///usr/share/java/jlapack-xerbla-0.8.jar");
> ++		URL url6 = new URL("file:///build/netlib-java-0.9.3/build/classes/");
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^

Is this redundant or required for building the package.  If it is the
latter, then sadly we cannot rely on the build-path to be stable, so we
will need a better fix (e.g. sbuild and pbuilder does not agree on the
paths AFAIR and even if they did, I would probably still prefer a better
fix).

> ++
> ++		URL [] classpath = { url1, url2, url3, url4, url5, url6 };
> + 		List<Class<?>> result = new ArrayList<Class<?>>();
> + 		System.out.println(Arrays.toString(classpath));
> + 		for (URL url : classpath) {
> 
> 
> unblock netlib-java/0.9.3-5
> 
> [...]

Thanks,
~Niels


Reply to: