hg: jdk8/tl/jdk: 8026880: NetworkInterface native initializing code should check fieldID values

2013-10-30 Thread chris . hegarty
Changeset: 9a5048dc7c0d
Author:chegar
Date:  2013-10-30 14:41 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/9a5048dc7c0d

8026880: NetworkInterface native initializing code should check fieldID values
Reviewed-by: alanb

! src/solaris/native/java/net/NetworkInterface.c
! src/windows/native/java/net/NetworkInterface.c



hg: jdk8/tl/jdk: 8022229: Intermittent test failures in sun/tools/jstatd

2013-10-30 Thread staffan . larsen
Changeset: b04b124418d8
Author:ykantser
Date:  2013-10-30 13:44 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/b04b124418d8

809: Intermittent test failures in sun/tools/jstatd
Reviewed-by: sla, egahlin, jbachorik, allwin

+ test/lib/testlibrary/jdk/testlibrary/Asserts.java
+ test/lib/testlibrary/jdk/testlibrary/JDKToolFinder.java
+ test/lib/testlibrary/jdk/testlibrary/JDKToolLauncher.java
+ test/lib/testlibrary/jdk/testlibrary/Platform.java
+ test/lib/testlibrary/jdk/testlibrary/ProcessThread.java
+ test/lib/testlibrary/jdk/testlibrary/TestThread.java
+ test/lib/testlibrary/jdk/testlibrary/Utils.java
+ test/lib/testlibrary/jdk/testlibrary/XRun.java
+ test/sun/tools/jstatd/JstatGCUtilParser.java
+ test/sun/tools/jstatd/JstatdTest.java
+ test/sun/tools/jstatd/TestJstatdDefaults.java
+ test/sun/tools/jstatd/TestJstatdExternalRegistry.java
+ test/sun/tools/jstatd/TestJstatdPort.java
+ test/sun/tools/jstatd/TestJstatdPortAndServer.java
+ test/sun/tools/jstatd/TestJstatdServer.java
+ test/sun/tools/jstatd/TestJstatdUsage.java
- test/sun/tools/jstatd/jpsOutput1.awk
- test/sun/tools/jstatd/jstatGcutilOutput1.awk
- test/sun/tools/jstatd/jstatdDefaults.sh
- test/sun/tools/jstatd/jstatdExternalRegistry.sh
- test/sun/tools/jstatd/jstatdPort.sh
- test/sun/tools/jstatd/jstatdServerName.sh
- test/sun/tools/jstatd/jstatdUsage1.sh
- test/sun/tools/jstatd/usage.out



hg: jdk8/tl/langtools: 8027481: jdeps to handle classes with the same package name and correct profile for javax.crypto.*

2013-10-30 Thread mandy . chung
Changeset: aa91bc6e8480
Author:mchung
Date:  2013-10-30 08:35 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/aa91bc6e8480

8027481: jdeps to handle classes with the same package name and correct profile 
for javax.crypto.*
Reviewed-by: alanb, dfuchs

! src/share/classes/com/sun/tools/jdeps/Analyzer.java
! src/share/classes/com/sun/tools/jdeps/Archive.java
! src/share/classes/com/sun/tools/jdeps/JdepsTask.java
! src/share/classes/com/sun/tools/jdeps/Profile.java
! test/tools/jdeps/Basic.java
! test/tools/jdeps/Test.java
+ test/tools/jdeps/javax/activity/NotCompactProfile.java
+ test/tools/jdeps/p/Bar.java



RFR: 8027570 NullPointerException in URLPermission.hashCode()

2013-10-30 Thread Michael McMahon

Interesting little bug this one. The precedence rules
were overlooked and the expected result of an expression evaluation
wasn't what was expected. The webrev is below, but the diff is

diff -r 9a5048dc7c0d src/share/classes/java/net/URLPermission.java
--- a/src/share/classes/java/net/URLPermission.javaWed Oct 30 
14:41:42 2013 +
+++ b/src/share/classes/java/net/URLPermission.javaWed Oct 30 
16:33:15 2013 +

@@ -353,7 +353,7 @@
 return getActions().hashCode()
 + scheme.hashCode()
 + authority.hashCode()
-+ path == null ? 0 : path.hashCode();
++ (path == null ? 0 : path.hashCode());
 }


Without the parentheses:

 scheme.hashCode() + authority.hashCode() + path

is evaluated as a string concatenation. The result is compared with 
null, which always fails,

meaning that path.hashCode() is always called, even when path is null 

webrev is at http://cr.openjdk.java.net/~michaelm/8027570/webrev.1/

Thanks
Michael








Re: RFR: 8027570 NullPointerException in URLPermission.hashCode()

2013-10-30 Thread Chris Hegarty
Looks good to me Michael.

Trivially, the test could include this bug number in its @bug tag.

-Chris

> On 30 Oct 2013, at 16:51, Michael McMahon  
> wrote:
> 
> Interesting little bug this one. The precedence rules
> were overlooked and the expected result of an expression evaluation
> wasn't what was expected. The webrev is below, but the diff is
> 
> diff -r 9a5048dc7c0d src/share/classes/java/net/URLPermission.java
> --- a/src/share/classes/java/net/URLPermission.javaWed Oct 30 14:41:42 
> 2013 +
> +++ b/src/share/classes/java/net/URLPermission.javaWed Oct 30 16:33:15 
> 2013 +
> @@ -353,7 +353,7 @@
> return getActions().hashCode()
> + scheme.hashCode()
> + authority.hashCode()
> -+ path == null ? 0 : path.hashCode();
> ++ (path == null ? 0 : path.hashCode());
> }
> 
> 
> Without the parentheses:
> 
> scheme.hashCode() + authority.hashCode() + path
> 
> is evaluated as a string concatenation. The result is compared with null, 
> which always fails,
> meaning that path.hashCode() is always called, even when path is null 
> 
> webrev is at http://cr.openjdk.java.net/~michaelm/8027570/webrev.1/
> 
> Thanks
> Michael
> 
> 
> 
> 
> 
> 


Re: RFR: 8027570 NullPointerException in URLPermission.hashCode()

2013-10-30 Thread Michael McMahon

Thanks Chris. I'll add the bug number

Michael

On 30/10/13 17:52, Chris Hegarty wrote:

Looks good to me Michael.

Trivially, the test could include this bug number in its @bug tag.

-Chris


On 30 Oct 2013, at 16:51, Michael McMahon  wrote:

Interesting little bug this one. The precedence rules
were overlooked and the expected result of an expression evaluation
wasn't what was expected. The webrev is below, but the diff is

diff -r 9a5048dc7c0d src/share/classes/java/net/URLPermission.java
--- a/src/share/classes/java/net/URLPermission.javaWed Oct 30 14:41:42 2013 
+
+++ b/src/share/classes/java/net/URLPermission.javaWed Oct 30 16:33:15 2013 
+
@@ -353,7 +353,7 @@
 return getActions().hashCode()
 + scheme.hashCode()
 + authority.hashCode()
-+ path == null ? 0 : path.hashCode();
++ (path == null ? 0 : path.hashCode());
 }


Without the parentheses:

 scheme.hashCode() + authority.hashCode() + path

is evaluated as a string concatenation. The result is compared with null, which 
always fails,
meaning that path.hashCode() is always called, even when path is null 

webrev is at http://cr.openjdk.java.net/~michaelm/8027570/webrev.1/

Thanks
Michael










hg: jdk8/tl: 8027567: JDK 8 build failure: the correct version of GNU make is being rejected

2013-10-30 Thread vincent . x . ryan
Changeset: 067355edfbf8
Author:vinnie
Date:  2013-10-30 17:31 +
URL:   http://hg.openjdk.java.net/jdk8/tl/rev/067355edfbf8

8027567: JDK 8 build failure: the correct version of GNU make is being rejected
Reviewed-by: chegar, erikj

! common/autoconf/basics.m4
! common/autoconf/generated-configure.sh



hg: jdk8/tl/langtools: 8027327: jar files related to test test/tools/javac/ExtDirs/ExtDirTest.java should be removed from the repo

2013-10-30 Thread vicente . romero
Changeset: 537fa895fd74
Author:vromero
Date:  2013-10-30 18:09 +
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/537fa895fd74

8027327: jar files related to test test/tools/javac/ExtDirs/ExtDirTest.java 
should be removed from the repo
Reviewed-by: ksrini

! test/tools/javac/ExtDirs/ExtDirTest.java
- test/tools/javac/ExtDirs/ext1/pkg1.jar
- test/tools/javac/ExtDirs/ext2/pkg2.jar
- test/tools/javac/ExtDirs/ext3/pkg1.jar
- test/tools/javac/ExtDirs/ext3/pkg2.jar



hg: jdk8/tl/langtools: 8024930: Re-enable disabled bridging tests

2013-10-30 Thread brian . goetz
Changeset: 62a67e0875ff
Author:briangoetz
Date:  2013-10-30 14:12 -0400
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/62a67e0875ff

8024930: Re-enable disabled bridging tests
Reviewed-by: psandoz, rfield

! test/tools/javac/lambdaShapes/org/openjdk/tests/separate/Compiler.java
! test/tools/javac/lambdaShapes/org/openjdk/tests/separate/SourceModel.java
! test/tools/javac/lambdaShapes/org/openjdk/tests/separate/TestHarness.java
! test/tools/javac/lambdaShapes/org/openjdk/tests/vm/DefaultMethodsTest.java



hg: jdk8/tl/jdk: 2 new changesets

2013-10-30 Thread michael . x . mcmahon
Changeset: 7bc67bed3c14
Author:michaelm
Date:  2013-10-30 18:37 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7bc67bed3c14

8027570: NullPointerException in URLPermission.hashCode()
Reviewed-by: chegar

! src/share/classes/java/net/URLPermission.java
! test/java/net/URLPermission/URLPermissionTest.java

Changeset: 281e26d7f325
Author:michaelm
Date:  2013-10-30 18:38 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/281e26d7f325

Merge

- make/sun/awt/FILES_c_macosx.gmk
- make/sun/awt/FILES_export_macosx.gmk
- makefiles/GendataBreakIterator.gmk
- makefiles/GendataFontConfig.gmk
- makefiles/GendataHtml32dtd.gmk
- makefiles/GendataTZDB.gmk
- makefiles/GendataTimeZone.gmk
- makefiles/GenerateJavaSources.gmk
- makefiles/GensrcBuffer.gmk
- makefiles/GensrcCLDR.gmk
- makefiles/GensrcCharacterData.gmk
- makefiles/GensrcCharsetCoder.gmk
- makefiles/GensrcCharsetMapping.gmk
- makefiles/GensrcExceptions.gmk
- makefiles/GensrcIcons.gmk
- makefiles/GensrcJDWP.gmk
- makefiles/GensrcJObjC.gmk
- makefiles/GensrcLocaleDataMetaInfo.gmk
- makefiles/GensrcMisc.gmk
- makefiles/GensrcProperties.gmk
- makefiles/GensrcSwing.gmk
- makefiles/GensrcX11Wrappers.gmk
- src/macosx/classes/com/apple/resources/MacOSXResourceBundle.java
- src/macosx/native/com/apple/resources/MacOSXResourceBundle.m
- src/share/classes/java/lang/invoke/MagicLambdaImpl.java
! src/share/classes/java/net/URLPermission.java
- src/share/demo/jfc/Notepad/resources/Notepad_fr.properties
- src/share/demo/jfc/Notepad/resources/Notepad_sv.properties
- src/solaris/doc/sun/man/man1/ja/javaws.1
- src/solaris/doc/sun/man/man1/javaws.1
- test/java/net/NetworkInterface/MemLeakTest.java
- test/jdk/lambda/vm/DefaultMethodsTest.java
- test/sun/management/jmxremote/bootstrap/CustomLauncherTest.sh
- test/sun/management/jmxremote/bootstrap/LocalManagementTest.sh
- test/sun/tools/jstatd/jpsOutput1.awk
- test/sun/tools/jstatd/jstatGcutilOutput1.awk
- test/sun/tools/jstatd/jstatdDefaults.sh
- test/sun/tools/jstatd/jstatdExternalRegistry.sh
- test/sun/tools/jstatd/jstatdPort.sh
- test/sun/tools/jstatd/jstatdServerName.sh
- test/sun/tools/jstatd/jstatdUsage1.sh
- test/sun/tools/jstatd/usage.out



hg: jdk8/tl: 6 new changesets

2013-10-30 Thread lana . steuck
Changeset: b098ee22aa97
Author:erikj
Date:  2013-10-24 10:43 +0200
URL:   http://hg.openjdk.java.net/jdk8/tl/rev/b098ee22aa97

8009280: JCE jurisdiction policy files not copied into jdk/lib/security
Reviewed-by: tbell, ihse

! common/makefiles/JavaCompilation.gmk

Changeset: 3c48e11c3901
Author:dholmes
Date:  2013-10-24 20:45 -0400
URL:   http://hg.openjdk.java.net/jdk8/tl/rev/3c48e11c3901

8016096: [macosx] jawt_md.h shipped with jdk is outdated
Summary: Revised build system and added platform specific headers for Mac OS X
Reviewed-by: ihse, erikj
Contributed-by: david.deha...@oracle.com

! common/autoconf/generated-configure.sh
! common/autoconf/platform.m4
! common/autoconf/spec.gmk.in
! common/autoconf/toolchain.m4

Changeset: 72ef61df77e5
Author:ihse
Date:  2013-10-25 13:58 +0200
URL:   http://hg.openjdk.java.net/jdk8/tl/rev/72ef61df77e5

8027300: configure should use LIBS instead of LDFLAGS when testing freetype
Reviewed-by: erikj

! common/autoconf/generated-configure.sh
! common/autoconf/libraries.m4

Changeset: dfbc93f26f38
Author:dcubed
Date:  2013-10-25 10:15 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/rev/dfbc93f26f38

8027117: adapt JDK-7165611 to new build-infra whitespace/indent policy
Summary: Fix whitespace/indent issues.
Reviewed-by: hseigel, coleenp, erikj, ihse

! common/autoconf/basics.m4
! common/autoconf/generated-configure.sh
! common/autoconf/jdk-options.m4
! common/makefiles/NativeCompilation.gmk

Changeset: 4f2011496393
Author:katleman
Date:  2013-10-28 16:02 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/rev/4f2011496393

Merge


Changeset: 37d2736caf46
Author:lana
Date:  2013-10-30 13:41 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/rev/37d2736caf46

Merge

! common/autoconf/basics.m4
! common/autoconf/generated-configure.sh
! common/autoconf/spec.gmk.in



hg: jdk8/tl/hotspot: 67 new changesets

2013-10-30 Thread lana . steuck
Changeset: d6d8aeb2c2d4
Author:amurillo
Date:  2013-10-19 08:52 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/d6d8aeb2c2d4

8026928: new hotspot build - hs25-b56
Reviewed-by: jcoomes

! make/hotspot_version

Changeset: 384c92148c68
Author:amurillo
Date:  2013-10-21 14:38 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/384c92148c68

8023496: [jprt] build and test solaris 64-bits only
Reviewed-by: tbell, jcoomes

! make/jprt.properties

Changeset: f9d4ed6c88dd
Author:dholmes
Date:  2013-10-21 20:51 -0400
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/f9d4ed6c88dd

8026872: [TESTBUG] Classes OOMCrashClass4000_1.class and 
OOMCrashClass1960_2.class from runtime/ClassFile/ tests won't run on compact 
profiles
Reviewed-by: sla, sspitsyn

! test/TEST.groups

Changeset: 8cd1abf3ecab
Author:dholmes
Date:  2013-10-21 21:06 -0400
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/8cd1abf3ecab

Merge

- src/share/vm/memory/metablock.cpp
- src/share/vm/memory/metablock.hpp
! test/TEST.groups
- test/compiler/8013496/Test8013496.sh
- test/gc/7168848/HumongousAlloc.java

Changeset: 2036c97e3af0
Author:dholmes
Date:  2013-10-21 22:36 -0400
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/2036c97e3af0

Merge


Changeset: 7fe6ef09d242
Author:farvidsson
Date:  2013-10-16 09:20 +0200
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/7fe6ef09d242

8025638: jmap returns 0 instead of 1 when it fails.
Summary: Re-factored some code handling return values and fails/errors during 
tool execution.
Reviewed-by: sla, kevinw
Contributed-by: fredrik.arvids...@oracle.com

! agent/src/share/classes/sun/jvm/hotspot/tools/ClassLoaderStats.java
! agent/src/share/classes/sun/jvm/hotspot/tools/FinalizerInfo.java
! agent/src/share/classes/sun/jvm/hotspot/tools/FlagDumper.java
! agent/src/share/classes/sun/jvm/hotspot/tools/HeapDumper.java
! agent/src/share/classes/sun/jvm/hotspot/tools/HeapSummary.java
! agent/src/share/classes/sun/jvm/hotspot/tools/JInfo.java
! agent/src/share/classes/sun/jvm/hotspot/tools/JMap.java
! agent/src/share/classes/sun/jvm/hotspot/tools/JSnap.java
! agent/src/share/classes/sun/jvm/hotspot/tools/JStack.java
! agent/src/share/classes/sun/jvm/hotspot/tools/ObjectHistogram.java
! agent/src/share/classes/sun/jvm/hotspot/tools/PMap.java
! agent/src/share/classes/sun/jvm/hotspot/tools/PStack.java
! agent/src/share/classes/sun/jvm/hotspot/tools/StackTrace.java
! agent/src/share/classes/sun/jvm/hotspot/tools/SysPropsDumper.java
! agent/src/share/classes/sun/jvm/hotspot/tools/Tool.java
! agent/src/share/classes/sun/jvm/hotspot/tools/jcore/ClassDump.java
! agent/src/share/classes/sun/jvm/hotspot/tools/soql/JSDB.java
! agent/src/share/classes/sun/jvm/hotspot/tools/soql/SOQL.java

Changeset: 042cf42c72bd
Author:simonis
Date:  2013-10-16 15:06 +0200
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/042cf42c72bd

8026703: Wrongly placed  element in Event-Based JVM Tracing .xsl 
files
Reviewed-by: sla, kamg

! src/share/vm/trace/traceEventClasses.xsl
! src/share/vm/trace/traceEventIds.xsl
! src/share/vm/trace/traceTypes.xsl

Changeset: d248425bcfe8
Author:hseigel
Date:  2013-10-16 14:32 -0400
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/d248425bcfe8

8024804: Crash when InterfaceMethodref resolves to Object.registerNatives
Summary: Added check for NULL prior to continuation of method look up to avoid 
runtime crash during look up of Object's superclass' methods.
Reviewed-by: coleenp, hseigel
Contributed-by: lois.fol...@oracle.com

! src/share/vm/interpreter/linkResolver.cpp
+ test/runtime/8024804/RegisterNatives.java

Changeset: 9e0ef3f02648
Author:hseigel
Date:  2013-10-16 15:26 -0400
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/9e0ef3f02648

Merge


Changeset: 1bee3014cf2a
Author:dsamersoff
Date:  2013-10-17 16:08 +0400
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/1bee3014cf2a

8025812: tmtools/jmap/heap_config tests fail on Linux-ia32 because it Cant 
attach to the core file
Summary: Coredump store memsz elf field rounded up to page
Reviewed-by: dholmes, sla

! agent/src/os/linux/ps_core.c

Changeset: ffb471203842
Author:erikj
Date:  2013-10-17 16:11 +0200
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/ffb471203842

8026792: HOTSPOT: licensee reports a JDK8 build failure after 8005849/8005008 
fixes integrated.
Reviewed-by: dholmes, sla

! make/windows/makefiles/trace.make

Changeset: ad8e901ca2e1
Author:sla
Date:  2013-10-17 12:15 -0400
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/ad8e901ca2e1

Merge


Changeset: d2db09f281ca
Author:dsamersoff
Date:  2013-10-17 16:45 +0400
URL:   http://hg.openjdk.java.net/jdk8/tl/hotspot/rev/d2db09f281ca

8005810: Update Hotspot Serviceability Agent for Method Parameter Reflection 
and Generic Type Signature Data
Summary: Hotspot was updated to store m

hg: jdk8/tl/jdk: 7 new changesets

2013-10-30 Thread lana . steuck
Changeset: 110c4fe4c354
Author:erikj
Date:  2013-10-24 10:43 +0200
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/110c4fe4c354

8009280: JCE jurisdiction policy files not copied into jdk/lib/security
Reviewed-by: tbell, ihse

! makefiles/BuildJdk.gmk
! makefiles/CompileJavaClasses.gmk
! makefiles/CreateJars.gmk
+ makefiles/CreateSecurityJars.gmk
! makefiles/SignJars.gmk

Changeset: f40f639e1f52
Author:dholmes
Date:  2013-10-24 20:46 -0400
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f40f639e1f52

8016096: [macosx] jawt_md.h shipped with jdk is outdated
Summary: Revised build system and added platform specific headers for Mac OS X
Reviewed-by: anthony, art, ihse, erikj
Contributed-by: david.deha...@oracle.com

! makefiles/CopyFiles.gmk
! makefiles/gensrc/GensrcX11Wrappers.gmk
+ src/macosx/javavm/export/jawt_md.h
+ src/macosx/javavm/export/jni_md.h
+ src/macosx/javavm/export/jvm_md.h
! src/macosx/native/sun/awt/AWTSurfaceLayers.h
! src/macosx/native/sun/awt/CMenuComponent.h
! src/macosx/native/sun/awt/jawt.m
! src/macosx/native/sun/font/CoreTextSupport.h
! src/share/javavm/export/jawt.h

Changeset: f3c95d961557
Author:dholmes
Date:  2013-10-24 20:47 -0400
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f3c95d961557

8025673: [macosx] Disable X11 AWT toolkit
Summary: Disable but not completely remove the XAWT and headless toolkits on 
Mac OS X
Reviewed-by: anthony, art, ihse, erikj
Contributed-by: david.deha...@oracle.com

! makefiles/CompileJavaClasses.gmk
! makefiles/GenerateSources.gmk
! makefiles/Tools.gmk
! makefiles/lib/Awt2dLibraries.gmk
! src/share/native/java/lang/System.c
! src/share/native/java/lang/java_props.h
! src/solaris/native/java/lang/java_props_macosx.c
! src/solaris/native/java/lang/java_props_macosx.h
! src/solaris/native/java/lang/java_props_md.c
! src/solaris/native/sun/awt/fontpath.c
! test/java/awt/Toolkit/Headless/WrappedToolkitTest/WrappedToolkitTest.sh

Changeset: 5813af4c02e4
Author:dcubed
Date:  2013-10-25 10:16 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5813af4c02e4

8027117: adapt JDK-7165611 to new build-infra whitespace/indent policy
Summary: Fix whitespace/indent issues.
Reviewed-by: hseigel, coleenp, erikj, ihse

! makefiles/Import.gmk

Changeset: 1628a137edca
Author:katleman
Date:  2013-10-28 16:03 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1628a137edca

Merge


Changeset: f26a0c8071bd
Author:erikj
Date:  2013-10-29 15:44 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f26a0c8071bd

8027298: broken link in jdk8b113 macosx binaries
Reviewed-by: dcubed, ihse

! makefiles/Import.gmk

Changeset: 348ffbd19feb
Author:lana
Date:  2013-10-30 13:51 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/348ffbd19feb

Merge

! makefiles/CreateJars.gmk
+ makefiles/CreateSecurityJars.gmk



hg: jdk8/tl/jdk: 8027526: CheckTipsAndVersions.java failing occasionally

2013-10-30 Thread bradford . wetmore
Changeset: f731d096530f
Author:wetmore
Date:  2013-10-30 16:49 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f731d096530f

8027526: CheckTipsAndVersions.java failing occasionally
Reviewed-by: mullan, mchung

! test/java/security/Signature/SignatureGetAlgorithm.java



hg: jdk8/tl/jdk: 8027318: Lambda Metafactory: generate serialization-hostile read/writeObject methods for non-serializable lambdas

2013-10-30 Thread brian . goetz
Changeset: ddb0b681654a
Author:briangoetz
Date:  2013-10-29 12:31 -0400
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ddb0b681654a

8027318: Lambda Metafactory: generate serialization-hostile read/writeObject 
methods for non-serializable lambdas
Reviewed-by: rfield, psandoz

! src/share/classes/java/lang/invoke/InnerClassLambdaMetafactory.java
! 
test/java/util/stream/test/org/openjdk/tests/java/lang/invoke/SerializedLambdaTest.java



hg: jdk8/tl/jdk: 8005294: Consider default methods for additions to AnnotatedElement

2013-10-30 Thread joe . darcy
Changeset: e8894e3224d9
Author:darcy
Date:  2013-10-30 17:27 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e8894e3224d9

8005294: Consider default methods for additions to AnnotatedElement
Reviewed-by: jfranck, plevart, mchung, abuckley, sogoel

! src/share/classes/java/lang/reflect/AnnotatedElement.java
+ test/java/lang/reflect/AnnotatedElement/TestAnnotatedElementDefaults.java



hg: jdk8/tl/jdk: 8023863: deprecate support for statically-generated stubs from RMI (JRMP); ...

2013-10-30 Thread stuart . marks
Changeset: 1ea1b24c1a04
Author:smarks
Date:  2013-10-30 18:39 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1ea1b24c1a04

8023863: deprecate support for statically-generated stubs from RMI (JRMP)
4449028: exportObject() javadoc should specify behavior for null socket 
factories
Reviewed-by: dfuchs, darcy

! src/share/classes/java/rmi/server/RemoteStub.java
! src/share/classes/java/rmi/server/UnicastRemoteObject.java
! src/share/classes/java/rmi/server/package.html



hg: jdk8/tl/jdk: 6910473: java.math.BigInteger.bitLength() may return negative "int" on large numbers; ...

2013-10-30 Thread brian . burkhalter
Changeset: 0734e1584d9d
Author:bpb
Date:  2013-10-30 17:45 -0700
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0734e1584d9d

6910473: java.math.BigInteger.bitLength() may return negative "int" on large 
numbers
8021203: BigInteger.doubleValue/floatValue returns 0.0 instead of Infinity
8021204: Constructor BigInteger(String val, int radix) doesn't detect overflow
8022780: Incorrect BigInteger division because of MutableBigInteger.bitLength() 
overflow
Summary: Prevent construction of overflowed BigIntegers.
Reviewed-by: bpb, darcy, psandoz
Contributed-by: Dmitry Nadezhin 

! src/share/classes/java/math/BigInteger.java
! src/share/classes/java/math/MutableBigInteger.java
+ test/java/math/BigInteger/BitLengthOverflow.java
+ test/java/math/BigInteger/DivisionOverflow.java
+ test/java/math/BigInteger/DoubleValueOverflow.java
! test/java/math/BigInteger/ExtremeShiftingTests.java
+ test/java/math/BigInteger/StringConstructorOverflow.java
+ test/java/math/BigInteger/SymmetricRangeTests.java