FYI: Better http connection user-agent string
Tom Tromey
tromey@redhat.com
Mon Jun 28 18:13:00 GMT 2004
Mark> + userAgent = "gnu-classpath/"
Mark> + + System.getProperty("gnu.classpath.version")
Mark> + + " ("
Mark> + + System.getProperty("gnu.classpath.vm.shortname")
Mark> + + "/"
Mark> + + System.getProperty("java.vm.version")
Mark> + + ")";
A multi-line expression like this requires an open paren
after the "=" and a close paren before the ";".
Tom
More information about the Java-patches
mailing list