hg: jdk8/tl/langtools: 6725230: Java Compilation with Jsr199 ignores Class-Path in manifest

2012-10-25 Thread jonathan . gibbons
Changeset: ea2616a6bd01 Author:jjg Date: 2012-10-25 13:33 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/ea2616a6bd01 6725230: Java Compilation with Jsr199 ignores Class-Path in manifest Reviewed-by: jjg, mcimadamore Contributed-by: vicente.rom...@oracle.com ! src/shar

Re: TCP tunneling through authenticating HTTP proxy

2012-10-25 Thread Damjan Jovanovic
Hi Vasiliy It's not included in the JDK, you have to either patch and compile OpenJDK on your side, or if that's not an option, use that hack with sun.net.* classes that I posted before (http://mail.openjdk.java.net/pipermail/net-dev/2010-February/001569.html). Regards Damjan On Thu, Oct 25, 201

hg: jdk8/tl/langtools: 7200915: convert TypeTags from a series of small ints to an enum

2012-10-25 Thread jonathan . gibbons
Changeset: c002fdee76fd Author:jjg Date: 2012-10-25 11:09 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/c002fdee76fd 7200915: convert TypeTags from a series of small ints to an enum Reviewed-by: jjg, mcimadamore Contributed-by: vicente.rom...@oracle.com ! src/share/cl

Re: TCP tunneling through authenticating HTTP proxy

2012-10-25 Thread Chris Hegarty
Wow, I forgot just how far we got with this. Let me refresh myself with this work and I'll get to the list shortly. -Chris. On 25/10/2012 16:14, Vasiliy Baranov wrote: Hi Damjan, This looks like exactly what I need. Thank you for sharing! Now perhaps the question is whether this feature can

Re: TCP tunneling through authenticating HTTP proxy

2012-10-25 Thread Vasiliy Baranov
Hi Damjan, This looks like exactly what I need. Thank you for sharing! Now perhaps the question is whether this feature can be or already is included in the JDK or I am on my own to hack something together based on this patch. Thank you, -- Vasiliy On 25.10.2012 18:29, Damjan Jovanovic wrot

Re: TCP tunneling through authenticating HTTP proxy

2012-10-25 Thread Vasiliy Baranov
On 25.10.2012 17:53, Michael McMahon wrote: There is a JSR for websockets, and they are doing a reference implementation based on JDK 7 I believe. Yes, we are aware of that effort, that is JSR 356, but we are unlikely to be able to make use of the implementation. First, it looks like their cl

Re: TCP tunneling through authenticating HTTP proxy

2012-10-25 Thread Damjan Jovanovic
Guys, there was a patch for this feature (use of HTTP proxies with CONNECT request in java.net.Socket) floating around in February/March 2010, the latest version of which is at http://mail.openjdk.java.net/pipermail/net-dev/2010-March/001642.html I helped write it so let me know if you need any he

Re: TCP tunneling through authenticating HTTP proxy

2012-10-25 Thread Michael McMahon
There is a JSR for websockets, and they are doing a reference implementation based on JDK 7 I believe. As regards TCP sockets via Http proxies, JDK doesn't support that. The closest thing is probably SOCKS. Can you use that? - Michael On 25/10/12 14:32, Vasiliy Baranov wrote: Greetings, And a

TCP tunneling through authenticating HTTP proxy

2012-10-25 Thread Vasiliy Baranov
Greetings, And apologies if I am sending this to the wrong list... Suppose I want my code to talk to a TCP server via an HTTP proxy, by setting up a proxy tunnel using the CONNECT method. By any chance, is there a mechanism in the Java SE networking stack that would allow me to do so? A mecha