Tags: affects -1 jmodeltest
I submitted fixes for all three bugs to the git repository. However,
even after applying them libbrowserlauncher does not work:
$ java -classpath /usr/share/java/BrowserLauncher2.jar \
edu.stanford.ejalbert.BrowserLauncher https://www.debian.org
should display a web page in the default browser, but does nothing.
The package is also unfortunate since it establishes a secondary browser
selection and is not conform to the freedesktop.org specification
("xdg-open").
Since there is only one dependency (jmodeltest), I recommend to remove
the package from Stretch and to patch out the dependency with a minimal
implementation of browserlauncher that uses xdg-open (see attachment).
Best regards
Ole
package edu.stanford.ejalbert;
import java.io.IOException;
/*
* Simple replacement for the BrowserLauncher, which is compatible to the
* Free Desktop Consortium.
*/
public class BrowserLauncher {
public void openURLinBrowser(String url) {
try {
Runtime.getRuntime().exec(new String[] { "xdg-open", url } );
} catch (IOException e) {
}
}
public void setNewWindowPolicy(boolean b) {
}
}