The following commit has been merged in the master branch:
commit 079e3a0399f89a03d2066833f503e15fb3bfe0db
Author: Niels Thykier <[email protected]>
Date:   Fri Apr 15 14:53:49 2011 +0200

    Allow file:// as prefix to an absolute path in classpaths

diff --git a/checks/java b/checks/java
index b5c0986..9663203 100644
--- a/checks/java
+++ b/checks/java
@@ -106,7 +106,7 @@ for my $jar_file (keys %{$java_info}) {
            if($p) {
                 # Strip leading ./
                 $p =~ s#^\./++##og;
-               if($p !~ m#^/#o) {
+               if($p !~ m#^(?:file://)?/#o) {
                    if($p =~ m#/#o) {
                        # Relative path with subdirectories.
                        $relative++;

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to