Re: A fundamental JGSS-API bug?

2013-06-07 Thread Weijun Wang
On 6/8/13 12:20 PM, Xuelei Fan wrote: The recommended way was while (!context.isEstablished()) { context.initSecContext(is, os); os.flush(); } When I say "easier", I mean it looks like there is no need to make any application change and this method can just write KRB_ERROR

Re: A fundamental JGSS-API bug?

2013-06-07 Thread Xuelei Fan
On 6/8/2013 9:31 AM, Weijun Wang wrote: > > > On 6/7/13 11:49 PM, Sean Mullan wrote: >>> try { >>> send(initSecContext(inToken)); >>> } catch (GSSException e) { >>> if (e.getResidue() != null) { >>> send(e.getResidue()); >>>

Re: A fundamental JGSS-API bug?

2013-06-07 Thread Weijun Wang
On 6/7/13 11:49 PM, Sean Mullan wrote: try { send(initSecContext(inToken)); } catch (GSSException e) { if (e.getResidue() != null) { send(e.getResidue()); } throw e; } That doesn't seem too complic

hg: jdk8/tl/langtools: 8016193: Fix OAC issue in langtools docs

2013-06-07 Thread jonathan . gibbons
Changeset: fd31bf97340f Author:jjg Date: 2013-06-07 15:35 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/fd31bf97340f 8016193: Fix OAC issue in langtools docs Reviewed-by: darcy ! src/share/classes/com/sun/javadoc/Tag.java

hg: jdk8/tl/jdk: 8015728: (zipfs) demo/zipfs/basic.sh failing

2013-06-07 Thread xueming . shen
Changeset: aed2ad905da6 Author:sherman Date: 2013-06-07 13:49 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/aed2ad905da6 8015728: (zipfs) demo/zipfs/basic.sh failing Summary: to return the correct loc entry size from wirteLOC(); Reviewed-by: alanb ! src/share/demo/nio/zipfs

hg: jdk8/tl/jdk: 8016101: Fix typo in SerialRef and missing @param in SerialStruct

2013-06-07 Thread lance . andersen
Changeset: e2333bd8514a Author:lancea Date: 2013-06-07 14:13 -0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e2333bd8514a 8016101: Fix typo in SerialRef and missing @param in SerialStruct Reviewed-by: darcy ! src/share/classes/javax/sql/rowset/serial/SerialRef.java ! src/shar

hg: jdk8/tl/jdk: 7051862: CookiePolicy spec conflicts with CookiePolicy.ACCEPT_ORIGINAL_SERVER

2013-06-07 Thread kurchi . subhra . hazra
Changeset: 8b65dfe8f509 Author:khazra Date: 2013-06-07 10:59 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/8b65dfe8f509 7051862: CookiePolicy spec conflicts with CookiePolicy.ACCEPT_ORIGINAL_SERVER Summary: Return false for null arguments in ACCEPT_ORIGINAL_SERVER#shouldAcc

Re: A fundamental JGSS-API bug?

2013-06-07 Thread Sean Mullan
On 06/07/2013 09:42 AM, Weijun Wang wrote: Hi All The GSSContext::initSecContext() method could either return a token (possibly null if no more token is needed) when the call succeeds or throw a GSSException if there is a failure, but not *both*. The same applies to acceptSecContext(). However,

A fundamental JGSS-API bug?

2013-06-07 Thread Weijun Wang
Hi All The GSSContext::initSecContext() method could either return a token (possibly null if no more token is needed) when the call succeeds or throw a GSSException if there is a failure, but not *both*. The same applies to acceptSecContext(). However, according to RFC 2743 2.2.1 [1], the C

Re: RFR: 8010785: JDK 8 build on Linux fails with new build mechanism

2013-06-07 Thread Erik Joelsson
On 2013-06-07 04:08, David Holmes wrote: On 4/06/2013 10:38 PM, David Holmes wrote: On 4/06/2013 9:21 PM, Erik Joelsson wrote: On 2013-06-04 06:56, David Holmes wrote: I think we should add a (configure time?) check to watch for the illegal: BUILD_CRYPTO=no, OPENJDK=true. Not sure wher

hg: jdk8/tl/jdk: 7064270: java/text/Format/DateFormat/WeekDateTest.java fails on OEL5.6 hi_IN.UTF-8

2013-06-07 Thread masayoshi . okutsu
Changeset: a286ed046116 Author:okutsu Date: 2013-06-07 17:37 +0900 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a286ed046116 7064270: java/text/Format/DateFormat/WeekDateTest.java fails on OEL5.6 hi_IN.UTF-8 Reviewed-by: peytoia ! test/java/text/Format/DateFormat/WeekDateTest.j

hg: jdk8/tl/jdk: 7177315: SimpleDateFormat parses wrong 2-digit year if input contains spaces

2013-06-07 Thread masayoshi . okutsu
Changeset: 6975eea0b458 Author:okutsu Date: 2013-06-07 17:07 +0900 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/6975eea0b458 7177315: SimpleDateFormat parses wrong 2-digit year if input contains spaces Reviewed-by: peytoia ! src/share/classes/java/text/SimpleDateFormat.java + te

Re: Code review request: 8014310: JAAS/Krb5LoginModule using des encytypes failure with NPE after JDK-8012679

2013-06-07 Thread Weijun Wang
Ding dong. On 5/27/13 10:06 AM, Weijun Wang wrote: Please review the code changes at http://cr.openjdk.java.net/~weijun/8014310/webrev.00/ The reason is that since we set allow_weak_crypto to false, if the user only had DES keys or only has DES-related etypes enabled, there will be no wor