java.net.URL.getBasePath() --> time to have it?

2012-12-21 Thread Bruno Borges
Hey folks, To be able to get the basePath of a URL so they can load other stuff that came from a relative path, it is usual to see people coding stuff like this: https://gist.github.com/4355670 I don't know if there's something in the Java API that offers this, but it would be a great incre

JEP 110: New HTTP Client: Please drop from JDK 8

2012-12-21 Thread Michael McMahon
JEP 110: "New Http Client" is a feature intended for Java SE 8 which aims to provide a new client API for http, and which leverages some of the new features in recent releases of Java SE, such as asynchronous sockets in NIO and Lambda expressions. A significant amount of work has been done so

Re: RFR JDK-8005120

2012-12-21 Thread Chris Hegarty
John, Much better, but I still see warnings when building with your patch. You need to update (some) callers of these functions, see below ( these are the only ones I see ). --- diff -r 31d2f9995d6c src/share/transport/socket/socketTransport.c --- a/src/share/transport/socket/socketTr

Re: RFR JDK-8005120

2012-12-21 Thread Dmitry Samersoff
John, socket_md.c:88,99,110 etc. could you change int len to size_t len as well? -Dmitry On 2012-12-21 02:47, John Zavgren wrote: > Greetings: > > I modified my changes so that windows knows the definition of the POSIX data > type: socklen_t, and now all the system calls are using the "doctr