15584 Commits

Author SHA1 Message Date
Mandy Chung
2b31773cba 8165634: Support multiple --add-modules options on the command line
Reviewed-by: alanb
2016-09-10 08:27:40 -04:00
Athijegannathan Sundararajan
85eaf2d3d3 8165726: fix for 8165595 revealed a bug in pack200 tool's handling of main class attribute of module-info classes
Reviewed-by: ksrini
2016-09-10 06:46:45 +05:30
Patrick Reinhart
5deb28b6a1 8161230: ClassLoader: add resource methods returning java.util.stream.Stream
Reviewed-by: psandoz, alanb, mchung, tvaleev
2016-09-09 14:54:41 -07:00
Paul Sandoz
a7dd7b59da 8164691: Stream specification clarifications for iterate and collect
Reviewed-by: briangoetz, smarks, tvaleev
2016-09-09 14:54:29 -07:00
Paul Sandoz
caa7db4496 8165731: Reference to removed method in VarHandle JavaDoc
Reviewed-by: shade, bpb
2016-09-09 14:54:24 -07:00
Mandy Chung
397525a2d4 8165346: j.l.ClassLoader.getDefinedPackage(String) throws NPE
Reviewed-by: alanb, lancea, shade
2016-09-09 13:44:48 -07:00
Kim Barrett
4f08176bb5 8165393: bad merge in java/lang/ref/package-info.java
Added the missing change.

Reviewed-by: rriggs
2016-09-09 16:24:24 -04:00
Stuart Marks
e249470c72 4285505: deprecate java.lang.Compiler
Reviewed-by: shade, forax, kmo, tellison, mchung, alanb, rriggs
2016-09-09 12:07:49 -07:00
Daniel D. Daugherty
93aa6e5038 Merge 2016-09-09 11:25:33 -07:00
Ron Durbin
14ca5d3c2b 8140520: segfault on solaris-amd64 with "-XX:VMThreadStackSize=1" option
Split the single thread_min_stack_allowed into three distinct values (java_thread_min_stack_allowed, compiler_thread_min_stack_allowed and vm_internal_thread_min_stack_allowed) on non-Windows platforms.

Reviewed-by: dcubed, gthornbr, dholmes, coleenp, fparain, aph
2016-09-09 11:15:58 -07:00
Sergei Kovalev
44d69dd31b 8165592: Fix module dependencies for sun/text/* tests
Reviewed-by: naoto
2016-09-09 10:58:05 -07:00
Alexander Kulyakhtin
795272dc75 8139368: -javaagent and -Dcom.sun.management need to add to the initial set of modules to resolve
A new test for the -javaagent option

Reviewed-by: mchung, alanb
2016-09-09 15:16:22 +03:00
Dean Long
88318fc0e0 Merge 2016-09-08 23:43:47 -04:00
Amit Sapre
a260ea611d 8165579: Add missing javadoc information for javax.management.MBeanServer
Added missing @implSpec javadoc information for deserialize api’s

Reviewed-by: dfuchs, dholmes
2016-09-08 15:53:16 +05:30
Vyom Tewari
ea13eb2b06 8152589: java/lang/management/ThreadMXBean/Locks.java fails intermittently, blocked on wrong object
Reviewed-by: dholmes, dcubed
2016-09-08 15:00:39 +05:30
Martin Buchholz
97ed09e075 8165643: SecureDirectoryStream doesn't work on linux non-x86
Reviewed-by: alanb
2016-09-07 14:44:59 -07:00
Lana Steuck
1e5d88277f Merge 2016-09-08 22:14:00 +00:00
Joe Darcy
d14725c1ad 8039854: Broken link in java.lang.RuntimePermission
Reviewed-by: lancea
2016-09-08 14:23:45 -07:00
Lana Steuck
f5321ccf86 Added tag jdk-9+135 for changeset 6d7a656b1612 2016-09-08 21:11:54 +00:00
Sergei Kovalev
d0474e029b 8165583: Fix module dependencies for jdk/java/util/* tests
Reviewed-by: alanb
2016-09-08 09:59:54 -07:00
Mandy Chung
37ff205c8a 8165563: ClassLoader::getSystemClassLoader will never be null
Reviewed-by: alanb, dholmes, psandoz
2016-09-08 09:45:50 -07:00
Sean Coffey
6784a0986e 8165711: java/net/SetFactoryPermission/SetFactoryPermission.java needs to run in ovm mode
Reviewed-by: chegar
2016-09-08 16:16:44 +01:00
Athijegannathan Sundararajan
d689bc25f6 8165697: jlink running on Mac with Windows jmods produces non-runnable image
Reviewed-by: jlaskey, redestad
2016-09-08 20:21:42 +05:30
Stuart Marks
b5f85932d6 8165636: add removal text to Runtime.traceInstructions/MethodCalls deprecation text
Reviewed-by: iris, darcy, mchung
2016-09-07 14:59:55 -07:00
Kumar Srinivasan
45e7a1faa8 8151901: test/tools/pack200/Pack200Test fails on verifying native unpacked JAR
Reviewed-by: jrose
2016-09-07 10:58:22 -07:00
Sergei Kovalev
44b189f55a 8165604: Fix module dependencies for sun/util/* tests
Reviewed-by: rriggs, naoto
2016-09-07 10:04:46 -07:00
Dmitry Dmitriev
6d636f5ee1 Merge 2016-09-07 16:17:20 +02:00
Athijegannathan Sundararajan
256e3bab87 8165503: jlink exclude VM plugin's handling of jvmlibs is wrong
Reviewed-by: jlaskey
2016-09-07 18:35:21 +05:30
Dmitry Dmitriev
88ceff1127 8165513: Quarantine sun/tools/jps/TestJpsJar.java
Reviewed-by: dsamersoff
2016-09-07 15:34:38 +03:00
Harold Seigel
6f8c0a7193 8058575: IllegalAccessError trying to access package-private class from VM anonymous class
Put anonymous classes in unnamed package into host class's package.  Throw exception if host class's package differs from anonymous class.

Reviewed-by: coleenp, acorn
2016-09-07 07:21:43 -04:00
Ivan Gerasimov
b7edd5f9aa 8165413: Typos in javadoc: extra period, wrong number, misspelled word
Reviewed-by: weijun, mullan
2016-09-07 10:14:48 +03:00
Serguei Spitsyn
2fe671f646 Merge 2016-09-07 03:35:45 +00:00
Egor Ushakov
86762c9fff 6822627: NPE at ReferenceTypeImpl.constantPool
Fix the NullPointerException bug

Reviewed-by: sspitsyn, dsamersoff
2016-09-06 20:27:47 -07:00
Stuart Marks
97fa8cd04e 8159404: throw UnsupportedOperationException unconditionally for mutator methods
Reviewed-by: martin, psandoz
2016-09-06 16:08:54 -07:00
Alexandre Iline
9aa36236be 8148859: Fix module dependences for java/time tests
Reviewed-by: alanb, rriggs
2016-09-06 17:07:06 -04:00
Alan Burlison
3228ea809c 8161360: Deprecated vfork() should not be used on Solaris
Reviewed-by: rriggs, dsamersoff
2016-09-06 13:09:29 -04:00
Athijegannathan Sundararajan
0f792063c1 8163952: jlink exclude VM plugin does not support static libraries
Reviewed-by: jlaskey
2016-09-06 18:16:56 +05:30
Vyom Tewari
09e25d0d1f 8131061: Use of -Dcom.sun.management.snmp needs to be examined for modules
Reviewed-by: mchung, dfuchs
2016-09-06 14:11:12 +05:30
Amit Sapre
d356b8d085 8164730: Make it clear that 'cl' parameter passed to RMIConnector.OISWL is never null
Added checks inside constructor of ObjectInputStreamWithLoader inner class. Test case added.

Reviewed-by: dfuchs, alanb
2016-09-06 13:57:03 +05:30
Sharath Ballal
fec04dd065 8164943: sun/tools/jhsdb/HeapDumpTest failed with Can't find library: /test/lib/share/classes
Change /test/lib/share/classes to /test/lib in HeapDumpTest.java

Reviewed-by: dsamersoff, ctornqvi
2016-09-06 09:37:55 +03:00
Christoph Langer
5044a0fdc4 8163181: Further improvements for Unix NetworkInterface native implementation
Reviewed-by: chegar, msheppar
2016-09-05 10:05:12 +02:00
Ivan Gerasimov
164b17df5b 8165243: Base64.Encoder.wrap(os).write(byte[],int,int) with incorrect arguments should not produce output
Reviewed-by: rriggs, alanb, sherman
2016-09-03 13:43:01 +03:00
Brian Burkhalter
925586066c 8165000: Selector.select(timeout) throws IOException when timeout is a large long
Clamp the timeout passed to kevent0 to the largest value that does not provoke the error.

Reviewed-by: clanger, alanb
2016-09-02 12:38:27 -07:00
Andrey Dyachkov
6d3b1a78ad 8155102: (Process) Process.toString could include pid, isAlive, exitStatus
Reviewed-by: rriggs
2016-09-02 12:30:46 -04:00
George Triantafillou
3d2958a962 8165293: Remove ClassesByName2Test.java and RedefineCrossEvent.java from ProblemList.txt
Reviewed-by: dcubed
2016-09-02 11:20:33 -04:00
Alejandro Murillo
092d3bef1c Merge 2016-09-01 15:20:57 -07:00
Alejandro Murillo
f7039c9c31 Merge 2016-09-01 14:09:04 -07:00
Phil Race
2551c0ae07 Merge 2016-09-01 08:39:27 -07:00
Sean Coffey
9807f64dfc 8164846: CertificateException missing cause of underlying exception
Reviewed-by: xuelei
2016-09-01 11:01:47 +01:00
Amit Sapre
277a5b423f 8164609: javax/management/remote/mandatory/notif/DeadListenerTest.java fails with Assertion Error
Increased test timeout to ensure test case gets all notifications.

Reviewed-by: dholmes
2016-09-01 15:02:32 +05:30