Commit Graph

329 Commits

Author SHA1 Message Date
Athijegannathan Sundararajan
0fd0cd0d3b 8163320: JAVA_VERSION in release file should come from java.base module
Reviewed-by: mchung
2016-09-13 20:59:43 +05:30
Naoto Sato
4c95fceb14 8165605: Thai resources in jdk.localedata cause split package issue with java.base
Reviewed-by: mchung, erikj
2016-09-12 09:38:32 -07:00
Alejandro Murillo
1808257845 Merge 2016-09-10 12:23:52 -07:00
Mandy Chung
2b31773cba 8165634: Support multiple --add-modules options on the command line
Reviewed-by: alanb
2016-09-10 08:27:40 -04: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
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
Alejandro Murillo
44fb1c5f24 Merge 2016-08-31 09:22:54 -07:00
Claes Redestad
5afec5d3d6 8164858: Enable build-time use of java.lang.invoke resolve tracing
Reviewed-by: erikj, vlivanov
2016-08-31 14:20:02 +02:00
Alejandro Murillo
542ac8a147 Merge 2016-08-26 10:02:50 -07:00
Athijegannathan Sundararajan
ab6aaea20a 8147491: module graph consistency checks after jlink plugins operate on module pool
Reviewed-by: jlaskey, mchung, psandoz
2016-08-26 11:50:36 +05:30
Stuart Marks
736833a357 8164834: remove jdeprscan from tools/launcher/VersionCheck.java
Reviewed-by: sundar, darcy
2016-08-25 21:58:38 -07:00
Claes Redestad
2d02799b3b 8164866: tools/jlink/plugins/GenerateJLIClassesPluginTest.java can't compile after JDK-8163371
Reviewed-by: sundar, vlivanov
2016-08-26 18:10:12 +02: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
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
Steve Drach
def15478eb 8158295: Add a multi-release jar validation mechanism to jar tool
Reviewed-by: ogb, psandoz
2016-07-29 09:58:28 -07:00
Athijegannathan Sundararajan
93cbc70d81 8163382: ResourcePoolManager.findEntry has a bug in startsWith call
Reviewed-by: jlaskey, redestad
2016-08-09 09:44:25 +05:30
Alejandro Murillo
83f8829c06 Merge 2016-08-05 09:50:29 -07:00
Athijegannathan Sundararajan
f622ccd42d 8163116: jlink exclude VM plugin does not fully support cross platform image creation
Reviewed-by: redestad, alanb, mchung
2016-08-05 09:42:05 +05:30
Athijegannathan Sundararajan
70ad571a32 8146721: FileCopierPlugin should not create fake module
Reviewed-by: jlaskey, alanb
2016-08-04 19:39:42 +05:30
Athijegannathan Sundararajan
48757f6029 8159487: Add JAVA_VERSION, OS_NAME, OS_ARCH properties in release file
Reviewed-by: jlaskey
2016-08-02 17:33:50 +05:30
Sharath Ballal
b7eda654ab 8158050: Remove SA-JDI
Remove SA-JDI

Reviewed-by: alanb, dsamersoff
2016-08-01 10:51:32 +03:00
Chris Hegarty
97de05e1d1 8134779: (jmod) ZipException is thrown if there are duplicate resources
8134847: (jmod) module-info encountered in the cmds, libs or config is not added to jmod file

Reviewed-by: alanb
2016-07-28 17:25:29 +01:00
Joe Darcy
c7fed55b1d 8162746: VersionCheck.java failure after change for JDK-8160921
Reviewed-by: tbell
2016-07-28 16:16:38 -07:00
Athijegannathan Sundararajan
2ebc9d3c1f 8162538: plugin API should avoid read only pool, have module view separated from resource view and have pool builder to modify
Reviewed-by: jlaskey, psandoz
2016-07-28 19:34:58 +05:30
Jim Laskey
9628408ffe 8158407: jimage: verify should do more extensive test
Reviewed-by: alanb
2016-07-21 10:34:59 -03:00
Naoto Sato
c1bc4d8560 8159214: jlink --include-locales problems
Reviewed-by: jlaskey, okutsu
2016-07-18 11:22:53 -07:00
Steve Drach
0062a02e07 8150680: JarFile.Release enum needs reconsideration with respect to it's values
Reviewed-by: alanb, psandoz
2016-07-13 11:43:45 -07:00
Henry Jen
d996c5d95f 8132379: -J options can cause crash or "Warning: app args parsing error passing arguments as-is"
Reviewed-by: ksrini
2016-07-07 21:15:24 -07:00
Jim Laskey
e4226ff2f2 8161067: jlink: Enable plugins to use the module pool for class lookup
Reviewed-by: sundar, psandoz
2016-07-12 10:58:58 -03:00
Athijegannathan Sundararajan
09a43a8546 8161055: Remove plugin ordering by isAfter, isBefore
Reviewed-by: mchung, jlaskey
2016-07-08 17:11:51 +05:30
Jim Laskey
748aad61f6 8160829: Remove ASMPool support from jlink
Reviewed-by: sundar, psandoz, forax
2016-07-07 09:38:33 -03:00
Mandy Chung
9a3757b37a 8160698: java --dry-run should not cause main class be initialized
Reviewed-by: ksrini
2016-07-04 09:13:13 -07:00
Athijegannathan Sundararajan
a0f8120f0a 8160641: PostProcessingPlugin and ExecutableImage should not be part of plugin API
Reviewed-by: jlaskey, mchung
2016-06-30 22:24:01 +05:30
Steve Drach
9f0c345f7f 8114827: JDK 9 multi-release enabled jar tool
Reviewed-by: chegar
2016-06-10 13:57:51 -07:00
Rob McKenna
ed73972cda 8143640: Showing incorrect result while passing specific argument in the Java launcher tools
Reviewed-by: ksrini
2016-06-28 20:03:29 +01:00
Athijegannathan Sundararajan
8576b106b7 8160346: JLinkTest.java should compute exact number of plugins from jdk.jlink module
Reviewed-by: jlaskey, mchung
2016-06-28 09:57:09 +05:30
Mandy Chung
23264135ec 8159596: Add java --dry-run
Reviewed-by: alanb, ksrini
2016-06-27 20:22:04 -07:00
Athijegannathan Sundararajan
f74ee54f5c 8153238: Improve test/tools/jlink/JLinkTest.java not to hard code the number of plugins
Reviewed-by: jlaskey
2016-06-24 23:28:06 +05:30
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