Re: Code review request: 8016051: Possible ClassCastException in KdcComm

2013-06-25 Thread Weijun Wang

Hi Artem

Line 221 is a little too long, you may want to break it. Otherwise, fine.

Have you tried running JPRT with at least the jdk_security test?

Thanks
Max


On 6/25/2013 1:35 PM, Artem Smotrakov wrote:

Hi,

please review this fix for 8:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8016051
http://1.smotrakov.z8.ru/8016051/webrev.00/

It fixes a possible ClassCastException if an exception thrown from
send() method is not IOException or KrbException. The first exception is
thrown if all connections to KDC fail. See also:

http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-June/017714.html

Artem


Re: Code review request: 8016051: Possible ClassCastException in KdcComm

2013-06-25 Thread Artem Smotrakov

Hi Max

I updated the webrev:

http://1.smotrakov.z8.ru/8016051/webrev.01/src/share/classes/sun/security/krb5/KdcComm.java.udiff.html

I built OpenJDK on Linux x64 according to 
http://hg.openjdk.java.net/jdk8/build/raw-file/tip/README-builds.html, 
and ran JCK, SQE (related to Kerberos), jdk_security tests (listed in 
http://hg.openjdk.java.net/jdk8/build/raw-file/tip/README-builds.html)


Artem

On 25.06.2013 16:04, Weijun Wang wrote:

Hi Artem

Line 221 is a little too long, you may want to break it. Otherwise, fine.

Have you tried running JPRT with at least the jdk_security test?

Thanks
Max


On 6/25/2013 1:35 PM, Artem Smotrakov wrote:

Hi,

please review this fix for 8:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8016051
http://1.smotrakov.z8.ru/8016051/webrev.00/

It fixes a possible ClassCastException if an exception thrown from
send() method is not IOException or KrbException. The first exception is
thrown if all connections to KDC fail. See also:

http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-June/017714.html 



Artem




Re: Code review request: 8016051: Possible ClassCastException in KdcComm

2013-06-25 Thread Weijun Wang

I pushed the changeset to

   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/89631a384ee6

You have some TAB characters and one trailing whitespace. I've removed them.

Thanks
Max

On 6/25/13 8:33 PM, Artem Smotrakov wrote:

Hi Max

I updated the webrev:

http://1.smotrakov.z8.ru/8016051/webrev.01/src/share/classes/sun/security/krb5/KdcComm.java.udiff.html

I built OpenJDK on Linux x64 according to
http://hg.openjdk.java.net/jdk8/build/raw-file/tip/README-builds.html,
and ran JCK, SQE (related to Kerberos), jdk_security tests (listed in
http://hg.openjdk.java.net/jdk8/build/raw-file/tip/README-builds.html)

Artem

On 25.06.2013 16:04, Weijun Wang wrote:

Hi Artem

Line 221 is a little too long, you may want to break it. Otherwise, fine.

Have you tried running JPRT with at least the jdk_security test?

Thanks
Max


On 6/25/2013 1:35 PM, Artem Smotrakov wrote:

Hi,

please review this fix for 8:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8016051
http://1.smotrakov.z8.ru/8016051/webrev.00/

It fixes a possible ClassCastException if an exception thrown from
send() method is not IOException or KrbException. The first exception is
thrown if all connections to KDC fail. See also:

http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-June/017714.html


Artem




Code review request: 8016051: Possible ClassCastException in KdcComm

2013-06-24 Thread Artem Smotrakov

Hi,

please review this fix for 8:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8016051
http://1.smotrakov.z8.ru/8016051/webrev.00/

It fixes a possible ClassCastException if an exception thrown from 
send() method is not IOException or KrbException. The first exception is 
thrown if all connections to KDC fail. See also:


http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-June/017714.html

Artem