hg: jdk8/tl/jdk: 6355584: Introduce constrained Kerberos delegation

2012-11-06 Thread weijun . wang
Changeset: a1bbb8805e22
Author:weijun
Date:  2012-11-07 14:13 +0800
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a1bbb8805e22

6355584: Introduce constrained Kerberos delegation
Reviewed-by: valeriep

+ src/share/classes/com/sun/security/jgss/ExtendedGSSCredential.java
! src/share/classes/sun/security/jgss/GSSCaller.java
! src/share/classes/sun/security/jgss/GSSCredentialImpl.java
! src/share/classes/sun/security/jgss/HttpCaller.java
! src/share/classes/sun/security/jgss/krb5/Krb5AcceptCredential.java
! src/share/classes/sun/security/jgss/krb5/Krb5Context.java
! src/share/classes/sun/security/jgss/krb5/Krb5InitCredential.java
+ src/share/classes/sun/security/jgss/krb5/Krb5ProxyCredential.java
! src/share/classes/sun/security/jgss/krb5/Krb5Util.java
! src/share/classes/sun/security/jgss/spi/GSSCredentialSpi.java
! src/share/classes/sun/security/jgss/spnego/SpNegoContext.java
! src/share/classes/sun/security/jgss/spnego/SpNegoCredElement.java
! src/share/classes/sun/security/jgss/wrapper/GSSCredElement.java
! src/share/classes/sun/security/krb5/Credentials.java
! src/share/classes/sun/security/krb5/EncryptedData.java
! src/share/classes/sun/security/krb5/KrbApReq.java
! src/share/classes/sun/security/krb5/KrbKdcRep.java
! src/share/classes/sun/security/krb5/KrbTgsRep.java
! src/share/classes/sun/security/krb5/KrbTgsReq.java
! src/share/classes/sun/security/krb5/internal/CredentialsUtil.java
! src/share/classes/sun/security/krb5/internal/EncKDCRepPart.java
! src/share/classes/sun/security/krb5/internal/KDCOptions.java
! src/share/classes/sun/security/krb5/internal/Krb5.java
! src/share/classes/sun/security/krb5/internal/PAData.java
+ src/share/classes/sun/security/krb5/internal/PAForUserEnc.java
! src/share/classes/sun/security/krb5/internal/crypto/KeyUsage.java
! src/share/classes/sun/security/krb5/internal/ktab/KeyTab.java
! test/sun/security/krb5/auto/Basic.java
! test/sun/security/krb5/auto/Context.java
! test/sun/security/krb5/auto/CrossRealm.java
! test/sun/security/krb5/auto/KDC.java
! test/sun/security/krb5/auto/OkAsDelegate.java
+ test/sun/security/krb5/auto/S4U2proxy.java
+ test/sun/security/krb5/auto/S4U2proxyGSS.java
+ test/sun/security/krb5/auto/S4U2self.java
+ test/sun/security/krb5/auto/S4U2selfAsServer.java
+ test/sun/security/krb5/auto/S4U2selfAsServerGSS.java
+ test/sun/security/krb5/auto/S4U2selfGSS.java



hg: jdk8/tl/jaxp: 3 new changesets

2012-11-06 Thread lana . steuck
Changeset: 121fc928a361
Author:ohair
Date:  2012-10-26 14:25 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/121fc928a361

8000992: Update new build-infra makefiles
Summary: Build-infra project integration. Multiple authors on this work: erikj 
and ihse primarily, also changes from ohair, tbell, and dholmes. Special credit 
to ohstrom for his smartjavac work.
Reviewed-by: erikj, ihse, dholmes, tbell

+ makefiles/BuildJaxp.gmk
! makefiles/Makefile

Changeset: 192d8a244bc3
Author:katleman
Date:  2012-10-31 18:30 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/192d8a244bc3

Merge


Changeset: 27ab79568c34
Author:katleman
Date:  2012-11-01 14:11 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/27ab79568c34

Added tag jdk8-b63 for changeset 192d8a244bc3

! .hgtags



hg: jdk8/tl/langtools: 5 new changesets

2012-11-06 Thread lana . steuck
Changeset: 741cce355ba6
Author:ohair
Date:  2012-10-26 14:25 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/741cce355ba6

8000992: Update new build-infra makefiles
Summary: Build-infra project integration. Multiple authors on this work: erikj 
and ihse primarily, also changes from ohair, tbell, and dholmes. Special credit 
to ohstrom for his smartjavac work.
Reviewed-by: erikj, ihse, dholmes, tbell

+ makefiles/BuildLangtools.gmk
! makefiles/Makefile

Changeset: 92e6f2190ca0
Author:katleman
Date:  2012-10-31 18:36 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/92e6f2190ca0

Merge


Changeset: 26831b6fcc4a
Author:katleman
Date:  2012-11-01 14:13 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/26831b6fcc4a

Added tag jdk8-b63 for changeset 92e6f2190ca0

! .hgtags

Changeset: e6ee43b3e247
Author:lana
Date:  2012-11-02 17:55 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/e6ee43b3e247

Merge

- 
src/share/classes/com/sun/tools/doclets/internal/toolkit/util/DirectoryManager.java
- src/share/classes/com/sun/tools/doclets/internal/toolkit/util/SourcePath.java
- src/share/classes/com/sun/tools/javac/code/TypeTags.java

Changeset: 6dc8616cea9b
Author:lana
Date:  2012-11-06 18:41 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/6dc8616cea9b

Merge




hg: jdk8/tl/hotspot: Added tag jdk8-b63 for changeset acabb5c282f5

2012-11-06 Thread lana . steuck
Changeset: 4d37eb50b9b1
Author:katleman
Date:  2012-11-01 14:11 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/4d37eb50b9b1

Added tag jdk8-b63 for changeset acabb5c282f5

! .hgtags



hg: jdk8/tl/jaxws: 3 new changesets

2012-11-06 Thread lana . steuck
Changeset: c30a7cb5c587
Author:ohair
Date:  2012-10-26 14:25 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/jaxws/rev/c30a7cb5c587

8000992: Update new build-infra makefiles
Summary: Build-infra project integration. Multiple authors on this work: erikj 
and ihse primarily, also changes from ohair, tbell, and dholmes. Special credit 
to ohstrom for his smartjavac work.
Reviewed-by: erikj, ihse, dholmes, tbell

+ makefiles/BuildJaxws.gmk
! makefiles/Makefile

Changeset: 86989f702267
Author:katleman
Date:  2012-10-31 18:30 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/jaxws/rev/86989f702267

Merge


Changeset: 5ded18a14bcc
Author:katleman
Date:  2012-11-01 14:11 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/jaxws/rev/5ded18a14bcc

Added tag jdk8-b63 for changeset 86989f702267

! .hgtags



hg: jdk8/tl/corba: 4 new changesets

2012-11-06 Thread lana . steuck
Changeset: de2b8def2be5
Author:ohair
Date:  2012-10-26 14:24 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/corba/rev/de2b8def2be5

8000992: Update new build-infra makefiles
Summary: Build-infra project integration. Multiple authors on this work: erikj 
and ihse primarily, also changes from ohair, tbell, and dholmes. Special credit 
to ohstrom for his smartjavac work.
Reviewed-by: erikj, ihse, dholmes, tbell

+ makefiles/BuildCorba.gmk
! makefiles/Makefile

Changeset: 6ccbf67b68bf
Author:katleman
Date:  2012-10-31 18:30 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/corba/rev/6ccbf67b68bf

Merge


Changeset: b450c07849ab
Author:katleman
Date:  2012-11-01 14:11 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/corba/rev/b450c07849ab

Added tag jdk8-b63 for changeset 6ccbf67b68bf

! .hgtags

Changeset: 54d599a5b4aa
Author:lana
Date:  2012-11-02 17:54 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/corba/rev/54d599a5b4aa

Merge




hg: jdk8/tl: 7 new changesets

2012-11-06 Thread lana . steuck
Changeset: e64f2cb57d05
Author:ohair
Date:  2012-10-26 14:29 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/rev/e64f2cb57d05

8000992: Update new build-infra makefiles
Summary: Build-infra project integration. Multiple authors on this work: erikj 
and ihse primarily, also changes from ohair, tbell, and dholmes. Special credit 
to ohstrom for his smartjavac work.
Reviewed-by: erikj, ihse, dholmes, tbell

! NewMakefile.gmk
! common/autoconf/autogen.sh
! common/autoconf/basics.m4
+ common/autoconf/basics_windows.m4
! common/autoconf/boot-jdk.m4
! common/autoconf/build-aux/config.guess
! common/autoconf/build-performance.m4
! common/autoconf/builddeps.m4
! common/autoconf/closed.version.numbers
! common/autoconf/compare.sh.in
! common/autoconf/configure
! common/autoconf/configure.ac
! common/autoconf/generated-configure.sh
! common/autoconf/help.m4
! common/autoconf/hotspot-spec.gmk.in
! common/autoconf/jdk-options.m4
! common/autoconf/libraries.m4
! common/autoconf/platform.m4
! common/autoconf/spec.gmk.in
! common/autoconf/toolchain.m4
+ common/autoconf/toolchain_windows.m4
! common/autoconf/version.numbers
+ common/bin/compare.sh
+ common/bin/compare_exceptions.sh.incl
- common/bin/compareimage.sh
- common/bin/diffexec.sh
- common/bin/diffjarzip.sh
- common/bin/difflib.sh
- common/bin/difftext.sh
- common/bin/exception_list_linux
- common/bin/extractvcvars.sh
! common/bin/hide_important_warnings_from_javac.sh
! common/bin/logger.sh
+ common/bin/shell-tracer.sh
- common/bin/unicode2x.sed
! common/makefiles/HotspotWrapper.gmk
! common/makefiles/IdlCompilation.gmk
! common/makefiles/JavaCompilation.gmk
+ common/makefiles/Main.gmk
! common/makefiles/MakeBase.gmk
! common/makefiles/MakeHelpers.gmk
! common/makefiles/Makefile
! common/makefiles/NativeCompilation.gmk
! common/makefiles/RMICompilation.gmk
- common/makefiles/compress.post
- common/makefiles/compress.pre
+ common/makefiles/support/ListPathsSafely-post-compress.incl
+ common/makefiles/support/ListPathsSafely-pre-compress.incl
+ common/makefiles/support/ListPathsSafely-uncompress.sed
+ common/makefiles/support/unicode2x.sed
- common/makefiles/uncompress.sed
+ common/src/fixpath.c
- common/src/uncygdrive.c
+ configure

Changeset: e3182741ade2
Author:ihse
Date:  2012-10-29 14:06 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/rev/e3182741ade2

8001897: build-infra: misc adjustments to configure script
Reviewed-by: ohair

! common/autoconf/Makefile.in
! common/autoconf/basics.m4
! common/autoconf/generated-configure.sh
! common/autoconf/jdk-options.m4
! common/autoconf/spec.gmk.in
! common/autoconf/toolchain.m4

Changeset: 3229597524ca
Author:katleman
Date:  2012-10-31 18:30 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/rev/3229597524ca

Merge

- common/bin/compareimage.sh
- common/bin/diffexec.sh
- common/bin/diffjarzip.sh
- common/bin/difflib.sh
- common/bin/difftext.sh
- common/bin/exception_list_linux
- common/bin/extractvcvars.sh
- common/bin/unicode2x.sed
- common/makefiles/compress.post
- common/makefiles/compress.pre
- common/makefiles/uncompress.sed
- common/src/uncygdrive.c

Changeset: cababb9dfce7
Author:katleman
Date:  2012-11-01 14:10 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/rev/cababb9dfce7

Added tag jdk8-b63 for changeset 3229597524ca

! .hgtags

Changeset: dd1a80efa7cf
Author:anthony
Date:  2012-10-30 15:04 +0400
URL:   http://hg.openjdk.java.net/jdk8/tl/rev/dd1a80efa7cf

8001764: vsvars.sh should support VS2012
Summary: Update the vsvars.sh script to support VS2012
Reviewed-by: ohair, tbell

! make/scripts/vsvars.sh

Changeset: fc61be4ff6ae
Author:lana
Date:  2012-10-31 09:12 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/rev/fc61be4ff6ae

Merge

! make/scripts/vsvars.sh

Changeset: 65dca75b2a26
Author:lana
Date:  2012-11-02 17:32 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/rev/65dca75b2a26

Merge




hg: jdk8/tl/langtools: 7198690: missing compiler message

2012-11-06 Thread jonathan . gibbons
Changeset: 55a007aaf63d
Author:jjg
Date:  2012-11-06 17:22 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/55a007aaf63d

7198690: missing compiler message
Reviewed-by: jjh

! src/share/classes/com/sun/tools/javac/main/Main.java



hg: jdk8/tl/jdk: 8002297: sun/net/www/protocol/http/StackTraceTest.java fails intermittently

2012-11-06 Thread chris . hegarty
Changeset: 157506182fa7
Author:chegar
Date:  2012-11-06 21:01 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/157506182fa7

8002297: sun/net/www/protocol/http/StackTraceTest.java fails intermittently
Reviewed-by: alanb, dsamersoff

! test/sun/net/www/protocol/http/StackTraceTest.java



hg: jdk8/tl/langtools: 8002286: Regression: Fix for 8000931 causes a JCK test failure

2012-11-06 Thread maurizio . cimadamore
Changeset: 9b85813d2262
Author:mcimadamore
Date:  2012-11-06 14:45 +
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/9b85813d2262

8002286: Regression: Fix for 8000931 causes a JCK test failure
Summary: Wrong type used as 'site' in Resolve.resolveMethod
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/8002286/T8002286.java
+ test/tools/javac/8002286/T8002286.out



Re: RFR 8002297: sun/net/www/protocol/http/StackTraceTest.java fails intermittently

2012-11-06 Thread Dmitry Samersoff
Chris,

On 2012-11-06 15:50, Chris Hegarty wrote:
> If it's ok with you I'd like to keep
> what is in the webrev. It should be good enough for this test.

Yes sure.

-Dmitry


> 
> -Chris.
> 
>>
>> -Dmitry
>>
>>
>>>
>>> -Chris.
>>>

 Other option is use port 1, it reserved for tcp multiplexor service and
 nowdays is always closed for obvious security reason.

 -Dmitry


 On 2012-11-06 15:08, Chris Hegarty wrote:
> Trivial test issue where the test will fail if run on a machine
> that has
> a process listening on port 8080 ( test expects this port to refuse
> the
> connection ). The solution is to simply open and close a listening
> socket and use its ephemeral port. Should be good enough.
>
> http://cr.openjdk.java.net/~chegar/8002297/webrev.00/webrev/
>
> -Chris


>>
>>


-- 
Dmitry Samersoff
Java development team, SPB04
* There will come soft rains ...


Re: RFR 8002297: sun/net/www/protocol/http/StackTraceTest.java fails intermittently

2012-11-06 Thread Chris Hegarty

On 11/06/2012 11:44 AM, Dmitry Samersoff wrote:

On 2012-11-06 15:41, Chris Hegarty wrote:

On 11/06/2012 11:30 AM, Dmitry Samersoff wrote:

Chris,

If you need definitely refusing port the best option is use port 0
reserved by IANA for this purpose.


Do you have a link specifying this? I don't see this behavior on my
Solaris box.


http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml

0 marked as reserved.


Yes, but reserved for what? ;-)  I don't get consistent connection 
refused behavior on all platforms. If it's ok with you I'd like to keep 
what is in the webrev. It should be good enough for this test.


-Chris.



-Dmitry




-Chris.



Other option is use port 1, it reserved for tcp multiplexor service and
nowdays is always closed for obvious security reason.

-Dmitry


On 2012-11-06 15:08, Chris Hegarty wrote:

Trivial test issue where the test will fail if run on a machine that has
a process listening on port 8080 ( test expects this port to refuse the
connection ). The solution is to simply open and close a listening
socket and use its ephemeral port. Should be good enough.

http://cr.openjdk.java.net/~chegar/8002297/webrev.00/webrev/

-Chris








Re: RFR 8002297: sun/net/www/protocol/http/StackTraceTest.java fails intermittently

2012-11-06 Thread Dmitry Samersoff
On 2012-11-06 15:41, Chris Hegarty wrote:
> On 11/06/2012 11:30 AM, Dmitry Samersoff wrote:
>> Chris,
>>
>> If you need definitely refusing port the best option is use port 0
>> reserved by IANA for this purpose.
> 
> Do you have a link specifying this? I don't see this behavior on my
> Solaris box.

http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml

0 marked as reserved.

-Dmitry


> 
> -Chris.
> 
>>
>> Other option is use port 1, it reserved for tcp multiplexor service and
>> nowdays is always closed for obvious security reason.
>>
>> -Dmitry
>>
>>
>> On 2012-11-06 15:08, Chris Hegarty wrote:
>>> Trivial test issue where the test will fail if run on a machine that has
>>> a process listening on port 8080 ( test expects this port to refuse the
>>> connection ). The solution is to simply open and close a listening
>>> socket and use its ephemeral port. Should be good enough.
>>>
>>> http://cr.openjdk.java.net/~chegar/8002297/webrev.00/webrev/
>>>
>>> -Chris
>>
>>


-- 
Dmitry Samersoff
Java development team, SPB04
* There will come soft rains ...


Re: RFR 8002297: sun/net/www/protocol/http/StackTraceTest.java fails intermittently

2012-11-06 Thread Chris Hegarty

On 11/06/2012 11:30 AM, Dmitry Samersoff wrote:

Chris,

If you need definitely refusing port the best option is use port 0
reserved by IANA for this purpose.


Do you have a link specifying this? I don't see this behavior on my 
Solaris box.


-Chris.



Other option is use port 1, it reserved for tcp multiplexor service and
nowdays is always closed for obvious security reason.

-Dmitry


On 2012-11-06 15:08, Chris Hegarty wrote:

Trivial test issue where the test will fail if run on a machine that has
a process listening on port 8080 ( test expects this port to refuse the
connection ). The solution is to simply open and close a listening
socket and use its ephemeral port. Should be good enough.

http://cr.openjdk.java.net/~chegar/8002297/webrev.00/webrev/

-Chris





Re: RFR 8002297: sun/net/www/protocol/http/StackTraceTest.java fails intermittently

2012-11-06 Thread Dmitry Samersoff
Chris,

If you need definitely refusing port the best option is use port 0
reserved by IANA for this purpose.

Other option is use port 1, it reserved for tcp multiplexor service and
nowdays is always closed for obvious security reason.

-Dmitry


On 2012-11-06 15:08, Chris Hegarty wrote:
> Trivial test issue where the test will fail if run on a machine that has
> a process listening on port 8080 ( test expects this port to refuse the
> connection ). The solution is to simply open and close a listening
> socket and use its ephemeral port. Should be good enough.
> 
> http://cr.openjdk.java.net/~chegar/8002297/webrev.00/webrev/
> 
> -Chris


-- 
Dmitry Samersoff
Java development team, SPB04
* There will come soft rains ...


Re: RFR 8002297: sun/net/www/protocol/http/StackTraceTest.java fails intermittently

2012-11-06 Thread Alan Bateman

On 06/11/2012 11:08, Chris Hegarty wrote:
Trivial test issue where the test will fail if run on a machine that 
has a process listening on port 8080 ( test expects this port to 
refuse the connection ). The solution is to simply open and close a 
listening socket and use its ephemeral port. Should be good enough.


http://cr.openjdk.java.net/~chegar/8002297/webrev.00/webrev/

-Chris
It looks okay to me as the port shouldn't been re-used quickly enough to 
allow something else use the same port.


-Alan


RFR 8002297: sun/net/www/protocol/http/StackTraceTest.java fails intermittently

2012-11-06 Thread Chris Hegarty
Trivial test issue where the test will fail if run on a machine that has 
a process listening on port 8080 ( test expects this port to refuse the 
connection ). The solution is to simply open and close a listening 
socket and use its ephemeral port. Should be good enough.


http://cr.openjdk.java.net/~chegar/8002297/webrev.00/webrev/

-Chris