dpathakj / junixsocket

Automatically exported from code.google.com/p/junixsocket
0 stars 0 forks source link

Java security fix breaks junixsocket RMI #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A recent Oracle security patch to Java changes the internal implementation of 
java.net.InetSocketAddress, and eliminates the port field. This prevents 
junixsocket RMI from instantiating.

https://bugzilla.redhat.com/show_bug.cgi?id=907456
http://www.oracle.com/technetwork/topics/security/javacpufeb2013-1841061.html
change to InetSocketAddress: 
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk/rev/ab011765c4e8

What steps will reproduce the problem?
1. Install latest java on RHEL/CentOS 6.x
2. Instantiate a unix socket RMI server

What is the expected output? What do you see instead?

        org.newsclub.net.unix.AFUNIXSocketException: Cannot find field "port" in java.net.InetSocketAddress. Unsupported JVM?

What version of the product are you using? On what operating system?

junixsocket 1.3

CentOS release 6.2 (Final)

java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.6) (rhel-1.54.1.11.6.el6_3-x86_64)

Please provide any additional information below.

Original issue reported on code.google.com by labi...@gmail.com on 12 Feb 2013 at 10:07

GoogleCodeExporter commented 9 years ago
Thanks for reporting!

Please try the latest version in SVN trunk (#r113) and report if it works for 
you.

Original comment by ckkohl79 on 20 Feb 2013 at 11:02

GoogleCodeExporter commented 9 years ago
I just tried the version in trunk, and it works fine for me.

Original comment by p...@triplefox.com on 20 Feb 2013 at 6:01