Commit Graph

57 Commits

Author SHA1 Message Date
Igor Ignatyev
f84b521220 8181761: add explicit @build actions for jdk.test.lib classes in all :tier2 tests
Reviewed-by: alanb
2017-06-12 12:43:26 -07:00
Igor Ignatyev
c85d273e7d 8180887: move FileUtils to top level testlibrary
Reviewed-by: psandoz
2017-05-30 15:05:33 -07:00
Amy Lu
2fc00fbdb1 8173905: Test tools/jar/multiRelease/RuntimeTest.java fails under JDK 10
Reviewed-by: psandoz, redestad
2017-05-26 17:36:22 +08:00
Alan Bateman
4c0e26e374 8178380: Module system implementation refresh (5/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Reviewed-by: mchung, alanb, sspitsyn
2017-05-04 07:26:55 +00:00
Alan Bateman
02cfdc2061 8177530: Module system implementation refresh (4/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mchung, alanb
2017-04-07 08:05:54 +00:00
Chris Hegarty
c1258e62f8 8176772: jar tool support to report automatic module names
Reviewed-by: alanb, mchung
2017-03-16 16:56:08 +00:00
Xueming Shen
ad7f87f083 8174248: partialUpdateFooMainClass test in tools/jar/modularJar/Basic.java needs to be re-examined
Reviewed-by: chegar, lancea
2017-02-14 11:50:33 -08:00
Xueming Shen
bfe5d05b1c 8165640: Enhance jar tool to allow module-info in versioned directories but not in base in modular multi-release jar files
Reviewed-by: psandoz, mchung
2017-02-11 21:31:43 -08:00
Alan Bateman
a4693ee7d2 8173393: Module system implementation refresh (2/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: dfuchs, psandoz, mchung, alanb
2017-02-10 09:04:39 +00:00
Xueming Shen
58b68c23d3 8173396: Error message issue with jar tool API validator
Reviewed-by: psandoz, mchung
2017-01-28 20:51:28 -08:00
Andrey Nazarov
54d962fa8b 8173372: Add tests for multi-release module jar API validator
Reviewed-by: psandoz
2017-01-26 14:32:41 +03:00
Andrey Nazarov
f1fa73dc65 8071566: Improve testing for multi-version JAR file maker tool
Reviewed-by: chegar
2017-01-18 20:39:08 +03:00
Xueming Shen
3f70732b40 8172761: Test change in tools/jar/InputFilesTest.java for JDK-8172432 is missing
Reviewed-by: mchung
2017-01-12 22:44:13 -08:00
Xueming Shen
cb9f76175c 8172432: jar cleanup/update for module and mrm jar
8171830: jar tool should validate if any exported or open package is missing

Reviewed-by: mchung, psandoz, chegar
2017-01-12 16:41:08 -08:00
Felix Yang
4a253dcdec 8075884: check runtime usage tests with multi-release jar files
Reviewed-by: psandoz
2017-01-11 08:53:59 -08:00
Alan Bateman
1e82db676a 8170987: Module system implementation refresh (12/2016)
8170859: Run time and tool support for ModuleResolution

Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: redestad, mchung, alanb
2016-12-16 06:19:16 +00:00
Xueming Shen
0a549bfea5 8170952: jar's usage message output need some cleanup
Reviewed-by: chegar
2016-12-09 08:49:42 -08:00
Xueming Shen
689077a9da 8167328: jar -d m.jar hangs
Reviewed-by: alanb, mchung, chegar
2016-12-01 15:42:22 -08:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Steve Drach
5530ec2227 8164805: Fail to create a MR modular JAR with a versioned entry of a concealed package
Reviewed-by: chegar, mchung
2016-10-25 13:51:08 -07:00
Steve Drach
8630709b19 8167237: Jar tool can not correctly find/process the --release option if it occurs before the file list
Reviewed-by: lancea
2016-10-13 11:54:27 -07:00
Mandy Chung
44a7c1b644 8164689: Retrofit jar, jlink, jmod as a ToolProvider
Reviewed-by: alanb, lancea
2016-10-12 15:41:00 -07:00
Steve Drach
3d6de648b9 8165944: jar utility doesn't process more than one -C argument
Reviewed-by: psandoz
2016-10-03 10:57:29 -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
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
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
Steve Drach
9f0c345f7f 8114827: JDK 9 multi-release enabled jar tool
Reviewed-by: chegar
2016-06-10 13:57:51 -07:00
Andrey Nazarov
56dd686558 8157850: Jar tests should pass through VM options
Reviewed-by: martin
2016-05-31 16:42:32 -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
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
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
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
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
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
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
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
Daniel Fuchs
01a0c50d3f 8031525: Logger created in test/tools/jar/UpdateManifest.java might get gc'ed too early
The test needs to keep a strong reference on its loggers otherwise the modification of the logger level may only be transient.

Reviewed-by: chegar
2014-01-10 19:48:02 +01:00
Alan Bateman
b24838bfc0 8028589: Instrument tools/jar/JarEntryTime.java to make it easier to diagnose failures
Reviewed-by: chegar
2013-11-19 15:09:48 +00:00
Alexander Zuev
28f4ef62dd 8020802: Need an ability to create jar files that are invariant to the pack200 packing/unpacking
Reviewed-by: alanb, ksrini
2013-10-23 18:35:47 +04:00
Xueming Shen
6ea068de3a 8023113: tools/jar/ChangeDir.java fails if /tmp/a exists
Updated the test case

Reviewed-by: alanb
2013-09-19 10:06:30 -07:00
Alan Bateman
9aceb41d6d 8022921: Remove experimental Profile attribute
Reviewed-by: mchung, chegar
2013-08-15 11:54:05 +01:00
Alan Bateman
99f3285106 8003255: (profiles) Update JAR file specification to support profiles
Reviewed-by: dholmes, mchung, ksrini
2013-01-21 23:20:42 -05:00
David Katleman
306cab1006 8004982: JDK8 source with GPL header errors
Reviewed-by: ohair
2012-12-20 16:24:50 -08:00
Sean Chou
6bb3dd6ea2 7201156: jar tool fails to convert file separation characters for list and extract
Reviewed-by: alanb, chegar, sherman
2012-11-14 13:26:55 +08:00
Xueming Shen
57b8661095 7175845: jar uf changes file permissions unexpectedly
7177216: native2ascii changes file permissions of input file

Undo the File.createTempFile change in jar and native2ascii

Reviewed-by: asaha
2012-06-28 22:44:21 -07:00
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00