Patch for upload with classpath
|Reported by:||andreas@…||Owned by:||framm|
uploading data to osm does not work when using the classpath library.
I found the problem to be in OsmServerWriter.java which creates the OutputStream after connect() which apparently classpath doesn't like in that order.
Attached is a patch that i've tested to work both with SUN's Java and gcj-4.1.
It would be nice if you could include it.