Commit Graph

291 Commits

Author SHA1 Message Date
Athijegannathan Sundararajan
72d2e8594f 8147794: Jlink's ModuleEntry.stream can't be consumed more than once and ModuleEntry content should be read only if needed
Reviewed-by: jlaskey, psandoz
2016-06-24 19:56:50 +05:30
Athijegannathan Sundararajan
e011bbd371 8159593: Plugin Set<Category> getType() should return a Category
Reviewed-by: jlaskey
2016-06-21 19:05:34 +05:30
Masayoshi Okutsu
7d9de8aef5 8158272: IncludeLocalesPluginTest.java fails with timeout
8158468: tools/jlink/plugins/IncludeLocalesPluginTest.java doesn't detect test failures

Reviewed-by: alanb, mchung, naoto
2016-06-17 17:06:16 +09:00
Jim Laskey
f98b4f5aea 8159206: All jlink or jmod tests failing
Reviewed-by: alanb, mchung
2016-06-16 09:09:53 -03:00
Hamlin Li
90cd96154e 8158194: Rename the directory “InstalledModuleDescriptors” and any reference to “installed” to “system” in the tests
Reviewed-by: mchung
2016-05-31 22:04:00 -07:00
Andrey Nazarov
56dd686558 8157850: Jar tests should pass through VM options
Reviewed-by: martin
2016-05-31 16:42:32 -07:00
Hamlin Li
6d91e29934 8158190: Add test that checks -Xpatch with both Jar and exploded patches
Reviewed-by: alanb
2016-05-31 00:15:04 -07:00
Hamlin Li
c36a7cfd2c 8158149: test bug for SystemModuleFinder when fast path is supported
Reviewed-by: alanb, mchung
2016-05-30 21:35:58 -07:00
Rachna Goel
48873ebc3f 8145136: Upgrade CLDR locale data
Reviewed-by: naoto, okutsu, peytoia
2016-05-31 13:00:48 +09:00
Amy Lu
e94656ce65 8154980: Remove intermittent key from test BandIntegrity.java
Reviewed-by: shade
2016-05-31 10:09:34 +08:00
Hamlin Li
8d6c2508ab 8158044: Add test that checks uri of upgradeable modules
Reviewed-by: alanb, mchung
2016-05-30 16:03:48 -07:00
Chris Hegarty
cbd92ed3f5 8156497: Add jar tool support for Multi-Release Modular JARs
Reviewed-by: alanb
2016-05-23 21:28:39 +01:00
Hamlin Li
524ec2f1de 8157211: Mark tools/launcher/FXLauncherTest.java as intermittently failing
Reviewed-by: psandoz
2016-05-20 03:33:57 -07:00
Mandy Chung
ab6efe7a7d 8157068: ExceptionInInitializerError if images build patched to use exploded version of jdk.internal.module.SystemModules
Reviewed-by: alanb
2016-05-19 11:17:35 -07:00
Kumar Srinivasan
ca98819c49 8156807: Pack200 must support v53.0 class files
Reviewed-by: mchung, shade
2016-05-18 11:31:23 -07:00
Athijegannathan Sundararajan
38f007ac7f 8157146: Add debug printlns to tests FieldSetAccessibleTest and VerifyJimage.java
Reviewed-by: alanb, shade
2016-05-17 19:53:43 +05:30
Athijegannathan Sundararajan
905d21fe76 8156914: jlink API minor cleanups
Reviewed-by: mchung
2016-05-16 14:47:27 +05:30
Jim Laskey
dcb864bfec 8156781: change to jlink has result in test failure
Reviewed-by: redestad
2016-05-11 16:17:45 -03:00
Naoto Sato
bd9c092ecc 8155649: IncludeLocalesPlugin throws NPE when jdk.localedata not resolved
Reviewed-by: alanb, mchung
2016-05-04 08:53:09 -07:00
Alan Bateman
36e0820801 8154956: Module system implementation refresh (4/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, chegar, redestad
2016-05-03 09:09:57 +01:00
Jim Laskey
c20a95b52d 8154090: Remove support for jimage recreate
Reviewed-by: alanb
2016-04-25 09:57:55 -03:00
Chris Hegarty
6c1f9eea71 8154919: Remove superfluous jdk.unsupported from tools/launcher/modules/limitmods/LimitModsTest.java
Reviewed-by: alanb
2016-04-24 08:44:36 +01:00
Martin Buchholz
dc9721e592 8154470: defines.h confused about PROGNAME and JAVA_ARGS
Fiddle with const_progname initializations

Reviewed-by: ksrini, alanb
2016-04-18 09:38:38 -07:00
Xueming Shen
6f26ab8d12 8154498: fix to 8154403 results in failure of UserModuleTest.java on all platforms
Reviewed-by: darcy, sundar
2016-04-18 22:12: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
Kumar Srinivasan
96608b3717 8154212: launcher SEGV when _JAVA_LAUNCHER_DEBUG is set
Reviewed-by: alanb, martin
2016-04-14 14:23:59 -07:00
Amy Lu
3eb4896664 8154031: Mark tools/pack200/BandIntegrity.java as intermittently failing
Reviewed-by: darcy
2016-04-12 09:54:55 +08:00
Chris Hegarty
25b68378f6 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 20:12:13 +01:00
Kumar Srinivasan
472c39e35b 8150469: unpack200 fails to compare crc correctly
Reviewed-by: jrose
2016-04-07 12:54:23 -07:00
Kumar Srinivasan
a06422ae72 8152622: tools/pack200/Pack200Props.java timed out
Reviewed-by: alanb, sundar
2016-04-06 09:38:39 -07:00
Alan Bateman
4af24b6def 8153370: Drop use of old style -XaddExports from tests
Reviewed-by: mchung
2016-04-05 21:18:01 +01:00
Claes Redestad
7f353eb42e 8152641: Plugin to generate BMH$Species classes ahead-of-time
Reviewed-by: plevart, mchung, forax, vlivanov, jrose
2016-04-01 20:28:03 +02:00
Naoto Sato
4c3bc4f31f 8152704: jlink command line output/help message improvement
Reviewed-by: mchung
2016-03-29 17:06:33 -07:00
Mandy Chung
81efd32432 8152508: tools/jlink/SecurityTest.java failed intermittently
Reviewed-by: alanb
2016-03-24 13:09:48 -07:00
Naoto Sato
315df6c52c 8152143: jlink --include-locales should gracefully detect certain user error
Reviewed-by: mchung
2016-03-23 17:05:04 -07: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
Amy Lu
8a433e443e 8038330: tools/jar/JarEntryTime.java fails intermittently on checking extracted file last modified values are the current times
Reviewed-by: sherman, plevart
2016-03-04 13:59:43 +08:00
Amy Lu
0934254e03 8149154: tools/pack200/Pack200Test.java failed with NullPointerException
Reviewed-by: ksrini
2016-02-23 09:52:56 +08:00
Jesper Wilhelmsson
4567f1f8fe 8147791: Reenable tests that was temporarily quarantined in jdk9/hs
Reviewed-by: dholmes, mgerdin
2016-01-20 13:31:57 +01:00
Daniel D. Daugherty
6452a8d8e3 8147629: quarantine tests failing in 2016.01.14 PIT snapshot
Ignore test/com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java and test/tools/launcher/TooSmallStackSize.java

Reviewed-by: rdurbin, amurillo
2016-01-19 09:40:55 -08:00
Alejandro Murillo
70a4694f73 Merge 2016-01-12 11:31:48 -08:00
Amy Lu
6f3a357614 8146587: Mark tools/pack200/Pack200Test.java as intermittently failing
Reviewed-by: darcy
2016-01-08 13:06:29 +08:00
Alejandro Murillo
8f53087d6e Merge 2016-01-05 13:08:05 -08:00
Athijegannathan Sundararajan
bca948c337 8145909: tools/jjs/jjs-fileTest.sh fails after JDK-8145750 except on windows
Reviewed-by: jjg
2015-12-21 23:27:16 +05:30
Athijegannathan Sundararajan
4ab55ae7c1 8145750: jjs fails to run simple scripts with security manager turned on
Reviewed-by: hannesw, alanb
2015-12-21 09:40:00 +05:30
Alexander Smundak
4cebcd8b2d 8073139: PPC64: User-visible arch directory and os.arch value on ppc64le cause issues with Java tooling
Add ppc64le/jvm.cfg, check for the ppc64le in addition to ppc64 in tests

Co-authored-by: Andrew Hughes <gnu.andrew@redhat.com>
Reviewed-by: dholmes, ihse
2015-12-11 10:45:58 -08:00
Kumar Srinivasan
429f9e61cf 8144660: VersionCheck.java fails when it tries to run jaccess*.exe -J-version on windows
Reviewed-by: darcy
2015-12-03 17:44:18 -08:00
Kumar Srinivasan
92f0f3c1e8 8144533: VersionCheck.java failing after Verona changes in dev
Reviewed-by: darcy, iris
2015-12-02 14:31:52 -08:00
Lana Steuck
af7402f069 Merge 2015-12-02 09:34:55 -08:00
Alejandro Murillo
20cb4ca730 8139986: Store debug level in java.vm.debug and conditionally print in "java -version"
Co-authored-by: Kumar Srinivasan <kumar.x.srinivasan@oracle.com>
Reviewed-by: ihse, dcubed, ksrini, dholmes
2015-11-04 16:02:53 -08:00
Iris Clark
b7cb99d927 Merge 2015-10-25 19:16:39 -07:00
Kumar Srinivasan
138d45b476 8066272: pack200 must support Multi-Release Jars
Reviewed-by: jrose, sdrach
2015-09-28 08:42:06 -07:00
Kumar Srinivasan
c7b42305e9 8073187: Unexpected side effect in Pack200
Reviewed-by: jrose, sherman
2015-09-22 11:50:40 -07:00
Iris Clark
9e0d78c661 Merge 2015-09-08 10:25:11 -07:00
Iris Clark
7c55ca4ce4 Merge 2015-08-25 14:45:26 -07:00
Alejandro Murillo
d8f13cb1d1 Merge 2015-08-13 15:50:52 -07:00
Amy Lu
48b997d5b3 8079769: tools/pack200/PackTestZip64.java may timeout at preparing the large test file
Reviewed-by: ksrini
2015-08-13 09:35:45 +03:00
Staffan Larsen
de0713848b 8076470: Remove the JVM TI hprof Agent
Reviewed-by: sspitsyn, mchung, erikj
2015-08-10 13:08:55 +02:00
Iris Clark
636d3c2d95 Merge 2015-07-23 13:19:54 -07:00
Amy Lu
4b8ff01620 8130402: Mark intermittently failing test: tools/pack200/PackTestZip64.java
Reviewed-by: psandoz
2015-07-16 10:17:11 +02:00
Henry Jen
eaa42993db 8027634: Support @argfiles for java command-line tool
Reviewed-by: ksrini, mchung
2015-07-08 23:26:48 -07:00
Iris Clark
98074ca062 Merge 2015-07-06 11:49:03 -07:00
Kumar Srinivasan
17dd62d2e7 8129601: [launcher] test VersionCheck.java fails with new version string
Reviewed-by: alanb
2015-06-26 15:15:41 -07:00
Valerie Peng
5109058c5d 7191662: JCE providers should be located via ServiceLoader
Enhanced to use ServiceLoader and switched provider to Provider.Service model.

Reviewed-by: mullan, alanb, mchung
2015-06-26 21:34:34 +00:00
Mandy Chung
53a97cbeb3 8081347: Add @modules to jdk_core tests
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Mandy Chung
efeb942f9f 8074431: Remove native2ascii tool
Reviewed-by: erikj, alanb, okutsu, mfang, naoto
2015-05-22 16:43:39 -07:00
Rob McKenna
9cecb7f70a 8077822: javac does not recognize '*.java' as file if '-J' option is specified
Reviewed-by: ksrini
2015-05-20 18:03:56 +01:00
Phil Race
95cc940989 Merge 2015-05-13 08:37:34 -07:00
Kumar Srinivasan
e4df48efea 8078225: tools/launcher/FXLauncherTest.java fails intermittently (win)
Reviewed-by: darcy
2015-05-05 18:18:06 -07:00
Phil Race
96700da961 Merge 2015-04-27 09:17:39 -07:00
Volker Simonis
476d962701 8078520: [TESTBUG] fix 'test/tools/launcher/ExecutionEnvironment.java' to run on arbitrary *nix systems
Reviewed-by: ksrini
2015-04-24 09:37:06 +02:00
Sergey Bylokhov
e79b50f322 8076264: [macosx] Launching app on MacOSX requires enclosing class
Reviewed-by: azvegint, ksrini
2015-04-16 21:55:55 +03:00
Kumar Srinivasan
64c0d97630 8074373: NMT is not enabled if NMT option is specified after class path specifiers
Reviewed-by: dholmes
2015-03-07 15:21:36 -08:00
Kumar Srinivasan
8749a5a08c 8066185: VM crashed with SIGSEGV VirtualMemoryTracker::add_reserved_region
Reviewed-by: coleenp, dholmes
2015-02-25 06:21:55 -08:00
Aleksey Shipilev
e0e6ce31fd 8073479: Replace obj.getClass hacks with Objects.requireNonNull
Reviewed-by: dfuchs, plevart, vlivanov
2015-02-20 18:32:10 +03:00
Andrey Nazarov
fa39b2bbf2 8067437: New tests for mJRE feature removal
Reviewed-by: darcy, ksrini
2015-01-14 12:09:38 -08:00
Kumar Srinivasan
0542ae2f13 8067889: 4 pack200 tests fail on mac since jdk became modular
Reviewed-by: alanb, chegar
2014-12-29 07:38:54 -08:00
Felix Yang
d215225740 8061442: Update jdk/tools tests to remove check for the "jre" directory
Reviewed-by: alanb, ksrini
2014-12-17 13:41:49 -08:00
Kumar Srinivasan
f8fe49013d 8067421: java -help contains information about "-version:",'-jre-restrict-search', '-no-jre-restrict-search', but they are removed
8067411: tools/launcher/MultipleJRE.sh requires adjustments to work with module boundaries
8067290: Missing bug id in test/tools/launcher/*

Reviewed-by: darcy
2014-12-16 16:02:56 -08:00
Alejandro Murillo
c88778bc25 Merge 2014-12-11 23:06:14 -08:00
Kumar Srinivasan
277a0d2dc8 8066841: Need to exclude javacpl in tools/launcher/VersionCheck.java
Reviewed-by: alanb
2014-12-08 11:54:17 -08:00
Kumar Srinivasan
8732d09ae7 8066745: tools/pack200/Pack200Props.java failed with java.lang.OutOfMemoryError: Java heap space
Reviewed-by: alanb
2014-12-08 07:51:59 -08:00
Yumin Qi
3dff2ab063 Merge 2014-12-08 00:25:10 -08:00
Chris Plummer
a47e1013c2 6762191: Setting stack size to 16K causes segmentation fault
Fixed by forcing the stack size to always be at least 32k.

Reviewed-by: dholmes, alanb, ksrini, sspitsyn
2014-12-04 11:26:46 -08:00
Chris Hegarty
43842f6349 Merge 2014-12-03 19:28:35 +00:00
Chris Hegarty
441905cdc7 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:22:58 +00:00
Amy Lu
13f3dfa073 8060026: Update jdk/test/tools/launcher tests to eliminate dependency on sun.tools.jar.Main
Reviewed-by: alanb, ksrini, psandoz
2014-11-26 11:12:19 -08:00
Neil Toda
918fac5a52 8058407: Remove Multiple JRE support in the Java launcher
Reviewed-by: alanb, darcy, ksrini
2014-11-10 08:43:27 -08:00
Pavel Rappo
023d824a43 8042888: Remove extcheck tool
Reviewed-by: alanb, chegar
2014-10-22 10:41:07 +01:00
Amy Lu
f9e2e24757 8060432: tools/pack200/TestNormal.java fails on Windows with java.io.FileNotFoundException after JDK-8058854
Reviewed-by: ksrini
2014-10-16 19:27:46 -07:00
Amy Lu
a708737ce9 8058856: tools/jar/LeadingGarbage.java, introduced in JDK-8058520, fails on Windows
Reviewed-by: alanb, martin, sherman
2014-10-13 18:16:29 +01:00
Amy Lu
ffe5e6e34c 8058854: Remove dependency on dt.jar from test/tools/jar/normalize/TestNormal.java
Reviewed-by: alanb, ksrini
2014-10-13 17:43:17 +01:00
Martin Buchholz
f1cc7f5119 8058520: jar xf does not work on zip files with leading garbage
Fall back to ZipFile if ZipInputStream finds no entries

Reviewed-by: sherman
2014-09-15 18:38:16 -07:00
Neil Toda
c14ca481dd 8042469: Launcher changes for native memory tracking scalability enhancement
Reviewed-by: darcy, ksrini, zgu
2014-08-05 19:29:00 -07:00
Joe Darcy
831451c5ba 8050051: Remove unneeded/obsolete -source/-target options in shell tests
Reviewed-by: alanb
2014-07-11 14:06:42 -07:00
Alexander Zuev
a30dec6af6 8000650: unpack200.exe should check gzip crc
Reviewed-by: ksrini
2014-06-19 18:07:02 +04:00
Neil Toda
a3798db37e 8035782: sun/launcher/LauncherHelper$FXHelper loaded unnecessarily
Reviewed-by: ddehaven, kcr, ksrini, mchung
2014-05-03 17:23:51 -07:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Matherey Nunez
244ffdb7c2 8027175: Existing regression tests in tl/langtools and tl/jdk need to be updated for @bug keyword
Reviewed-by: jjg, ksrini
2014-01-29 14:33:07 -08:00
Vladimir Kozlov
57b7b831ae Merge 2014-01-28 14:57:41 -08:00