hg: jdk7/tl/langtools: 7013420: Project Coin: remove general expression support from try-with-resources statement

2011-01-25 Thread joe . darcy
Changeset: 7f8794f9cc14 Author:darcy Date: 2011-01-25 17:02 -0800 URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/7f8794f9cc14 7013420: Project Coin: remove general expression support from try-with-resources statement Reviewed-by: mcimadamore, jjg ! src/share/classes/com/sun

hg: jdk7/tl/jdk: 4 new changesets

2011-01-25 Thread sean . mullan
Changeset: ae38d1374e31 Author:mullan Date: 2011-01-24 14:56 -0500 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/ae38d1374e31 5001004: Required Security Algorithms need to be defined Reviewed-by: wetmore ! src/share/classes/java/security/AlgorithmParameterGenerator.java ! src/sha

Socket InputStream.available may return a positive value after shutdown

2011-01-25 Thread Jing LV
Hello, I am using java.net.Socket and find an strange behaviour. If Socket inputstream is shutdown, and there was still some data remaining, its available() method may still return a positive value. I checked with the java spec, and the document of Socket.shutdownInput() said: "Places the input st