102 Commits

Author SHA1 Message Date
Robert Field
bc127f126e 8168972: Editor support: move built-in and external editor support to the jdk repo
8167639: jshell tool: Edit Pad has readability issues

Reviewed-by: jlahoda
2016-11-02 16:24:43 -07:00
Steve Drach
71c0fe8710 8166460: jdk/internal/util/jar/TestVersionedStream gets Assertion error
Reviewed-by: psandoz
2016-10-12 14:31:17 -07:00
Mikael Vidstedt
644dc8b4e9 8166045: jdk/internal/misc/Unsafe tests fail due to timeout
Only run the memory hungry tests on large machines

Reviewed-by: dholmes, ctornqvi
2016-09-28 08:22:54 -07:00
Alejandro Murillo
505c0d04f8 Merge 2016-09-21 09:29:30 -07:00
Alejandro Murillo
af75db6517 Merge 2016-09-16 10:57:21 -07:00
Sergei Kovalev
1a710e37d2 8166126: Missing dependecies on jdk.zipfs module for jdk/nio/zipfs/jarfs/JFSTester.java
Reviewed-by: alanb
2016-09-15 16:28:26 +03:00
George Triantafillou
5bc6d1fab5 8165889: Remove jdk.test.lib.unsafe.UnsafeHelper
Remove use of setAccessible() to get Unsafe.

Reviewed-by: shade, lfoltan
2016-09-14 08:16:16 -04:00
Alejandro Murillo
b2e658b722 Merge 2016-09-14 11:22:39 -07:00
Steve Drach
375fe9b50c 8163798: Create a JarFile versionedStream method
Reviewed-by: mchung, psandoz, redestad
2016-09-13 13:55:35 -07: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
Alejandro Murillo
44fb1c5f24 Merge 2016-08-31 09:22:54 -07:00
Bradford Wetmore
9cda798a33 8061842: Package jurisdiction policy files as something other than JAR
Reviewed-by: xuelei, weijun, mullan
2016-08-26 13:44:20 -07:00
Alejandro Murillo
542ac8a147 Merge 2016-08-26 10:02:50 -07:00
Alexandre Iline
a4818844a9 8163126: Fix @modules in some of jdk/* tests
Reviewed-by: weijun, alanb, mchung
2016-08-22 18:22:19 -07:00
Christian Tornqvist
0731886f09 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:09:53 -04:00
Steve Drach
4a9aefb851 8164389: jdk.nio.zipfs.JarFileSystem does not completely traverse the versioned entries in a multi-release jar file
Reviewed-by: psandoz
2016-08-18 17:18:21 -07:00
Peter Levart
b0aa08888c 8164547: Make java.lang.reflect.ClassLoaderValue public for internal use
Move it to jdk.internal.loader and make it public

Reviewed-by: shade, alanb
2016-08-22 13:16:51 +02:00
Valerie Peng
c846a862ee 8130181: Deprecate java.security.Provider(String, double, String), add Provider(Strin
Added Provider constructor which uses version String and use sun.security.util.PROVIDER_VER

Reviewed-by: weijun
2016-08-19 06:27:54 +00:00
Mandy Chung
e2a0ff3e0d 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Athijegannathan Sundararajan
7886baafa8 8157936: Files.size(Path p) returns 0 if path is from JrtFileSystem with exploded build
Reviewed-by: psandoz
2016-06-27 14:55:06 +05:30
Mandy Chung
23a9fbcadd 8159630: Add new test for jdk.internal.misc.VM::getRuntimeArguments
Reviewed-by: lancea
2016-06-17 14:37:00 -07:00
Shilpi Rastogi
3555038f51 8039955: [TESTBUG] jdk/lambda/LambdaTranslationTest1 - java.lang.AssertionError: expected [d:1234.000000] but found [d:1234,000000]
Reviewed-by: psandoz
2016-06-15 14:21:24 +02:00
Xueming Shen
d17f9b96fe 8061777: (zipfs) IllegalArgumentException in ZipCoder.toString when using Shitft_JIS
Reviewed-by: psandoz
2016-06-01 09:52:08 -07:00
Felix Yang
3e72d2ce1c 8157931: jdk/internal/jrtfs/Basic.java fails with exploded builds
Reviewed-by: alanb, sundar, jlaskey
2016-05-26 18:56:46 -07:00
John Jiang
6ffb19d592 8157783: Fix module dependencies for /jdk/* tests
Module declarations for the tests in /jdk/*

Reviewed-by: chegar
2016-05-26 15:47:39 -07:00
Xueming Shen
6d8b52eca8 8147539: (zipfs) ZipPath should throw ProviderMismatchException when invoking register()
8153248: (zipfs) ZipPath#getFileName( ) returns inconsistent result
8146754: (zipfs) ZipPath.relativize() returns wrong result for path ending with slash /
8139956: (zipfs) ZipPath does not produce correct empty path on relativize()

Reviewed-by: alanb, shurailine
2016-05-25 13:53:03 -07:00
Svetlana Nikandrova
600aaed0a7 8136933: Additional tests for Solaris SO_FLOW_SLA socket option in JDK 9
Reviewed-by: chegar
2016-05-25 17:07:13 +03:00
Alan Bateman
ce04e9d9a2 8152650: ModuleFinder.compose should accept varargs
Reviewed-by: mchung
2016-05-21 08:01:03 +01:00
Jim Laskey
3648a0f15f 8156602: javac crashes again on Windows 32-bit with ClosedChannelException
Reviewed-by: alanb
2016-05-20 11:41:29 -03:00
Iris Clark
a950576f78 8144062: Move jdk.Version to java.lang.Runtime.Version
Reviewed-by: abuckley, alanb, forax, jjg, mchung, psandoz
2016-05-19 12:04:54 -07:00
Alan Bateman
958506d2cb 8157290: jdk/modules/scenarios/overlappingpackages/OverlappingPackagesTest.java failing
Reviewed-by: chegar
2016-05-19 13:08:36 +01:00
Jan Lahoda
a865c6ef6b 8133549: Generalize jshell's EditingHistory
Adding a generic EditingHistory to jdk.internal.le, for use by both jjs and jshell

Reviewed-by: sundar
2016-05-18 21:00:33 +02:00
Xueming Shen
d3f1fdbc0b 8150496: (zipfs) Fix performance issues in zip-fs
8150366: (zipfs) lastAccessTime and createTime returned as null instead of default value

Reviewed-by: alanb, redestad, shade
2016-05-06 14:03:08 -07:00
Chris Hegarty
07cef26155 8044773: Refactor jdk.net API so that it can be moved out of the base module
Reviewed-by: alanb, erikj, mchung
2016-04-27 20:36:02 +01:00
Xueming Shen
c536913c21 8154403: JRT filesystem loaded by JDK8 with URLClassLoader is not closable since JDK-8147460
Reviewed-by: alanb
2016-04-18 10:57:11 -07:00
Xueming Shen
f4a9612da3 8147460: Clean-up jrtfs implementation
Reviewed-by: alanb, jlaskey, sundar
2016-04-15 13:05:52 -07:00
Chris Hegarty
07cdc33e34 8137058: Clear out all non-Critical APIs from sun.reflect
Reviewed-by: alanb, jfranck, mchung
2016-04-15 16:19:15 +01:00
Felix Yang
c417ef2f3c 8153928: test/lib/share/classes/jdk/test/lib/Utils.java introduced dependency to java.base/jdk.internal.misc
Reviewed-by: alanb, amlu
2016-04-11 15:14:04 +08:00
Alan Bateman
4af24b6def 8153370: Drop use of old style -XaddExports from tests
Reviewed-by: mchung
2016-04-05 21:18:01 +01:00
Felix Yang
5b93b89a0a 8141609: Need test for jrtfs that runs on JDK 8 to target a JDK 9 image
Reviewed-by: alanb, sundar
2016-03-30 19:56:34 +01:00
Chris Hegarty
ff2e79c118 Merge 2016-03-22 10:42:32 +00:00
Jan Lahoda
4b4f61a64a 8131913: jdk/internal/jline/console/StripAnsiTest.java can't run in the background
Avoid using a real terminal in tests.

Reviewed-by: rfield
2016-03-21 10:27:50 +01:00
Alan Bateman
db4d383614 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Mikael Vidstedt
bda07f129a 8151233: Unify CopySwap and CopyMemory tests
Reviewed-by: dholmes
2016-03-16 14:04:12 -07:00
Zoltan Majo
aebd92df2c Merge 2016-03-07 09:34:30 +01:00
Mikael Vidstedt
a42172d65b 8149159: Clean up Unsafe
Reviewed-by: jrose, kvn, stsmirno, chegar, aph, psandoz, redestad, twisti
2016-03-03 09:12:05 -08:00
Chris Hegarty
645c21e16f 8150976: JarFile and MRJAR tests should use the JDK specific Version API
Reviewed-by: alanb, mchung
2016-03-02 16:25:29 +00:00
Alejandro Murillo
36d5ceb3eb Merge 2016-02-23 18:57:08 -08:00
Daniel D. Daugherty
4d0a1d0222 Merge 2016-02-16 12:09:11 -08:00
Mikael Vidstedt
243c8598d5 8149611: Add tests for Unsafe.copySwapMemory
Reviewed-by: dholmes
2016-02-10 19:55:57 -08:00