Commit Graph

310 Commits

Author SHA1 Message Date
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
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