import java.io.File;
import java.net.URL;
import java.security.CodeSource;

public class CertsMatch {

    public static void main(String[] args) throws Exception {
        File certsFile = new File(System.getProperty("test.src", "."), "certs");
        URL location = certsFile.toURI().toURL();
        
        CodeSource csEmptyCerts = new CodeSource(location, new java.security.cert.Certificate[0]);

        csEmptyCerts.getCodeSigners();
    }
} 