Commit Graph

329 Commits

Author SHA1 Message Date
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
Alexander Zuev
786fc24463 8029646: [pack200] should support the new zip64 format
Reviewed-by: ksrini, sherman
2014-01-24 21:29:25 +04:00
Vladimir Kozlov
9c83896027 Merge 2014-01-22 14:17:32 -08:00
Volker Simonis
70041ae4e4 8028537: PPC64: Updated the JDK regression tests to run on AIX
Co-authored-by: Jonathan Lu <luchsh@linux.vnet.ibm.com>
Co-authored-by: Steve Poole <spoole@linux.vnet.ibm.com>
Reviewed-by: alanb
2014-01-17 21:54:30 +01: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
Kumar Srinivasan
9e4aa28467 8029997: [infra] remove Solaris ISA directories and the links
Reviewed-by: alanb, tbell
2013-12-23 14:24:48 -08:00
Kumar Srinivasan
cd8db125be 8029388: java.exe consumes argument intended for launched java class
Reviewed-by: mchung
2013-12-18 10:36:34 -08:00
Alan Bateman
00b823a27a 8029805: Remove LogManager addPropertyChangeListener and removePropertyChangeListener methods
8029806: Remove Packer/Unpacker addPropertyChangeLister and removePropertyListener methods

Reviewed-by: dfuchs, tbell, mchung, ihse
2013-12-15 08:11:41 +00:00
Lana Steuck
33cd414e58 Merge 2013-11-25 09:40:25 -08:00
Kumar Srinivasan
0366da9c72 8023978: [TEST_BUG] launcher tests must exclude platforms without server vm
Reviewed-by: dholmes, mchung
2013-11-19 07:10:06 -08: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
1b4ad04278 8028197: tools/launcher/DiacriticTest.java failed on MacOSX: Input length = 1
Reviewed-by: ksrini
2013-11-18 20:22:49 +04:00
Sergey Bylokhov
9ab430a0d2 8027696: Incorrect copyright header in the tests
Reviewed-by: alanb, malenkov, mullan
2013-11-12 20:24:25 +04: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
Alexander Zuev
8c296952e1 8026873: tools/launcher/VersionCheck.java fails in jprt because of jmc.ini
Reviewed-by: ksrini
2013-10-22 22:18:52 +04:00
Chris Hegarty
766e77499d Merge 2013-10-15 09:27:32 +01:00
Lana Steuck
5db317fd23 Merge 2013-10-10 13:33:02 -07:00
Chris Hegarty
d3158f2d76 8025991: tools/launcher/RunpathTest.java fails
Reviewed-by: erikj
2013-10-07 11:31:37 +01:00
Chris Hegarty
6088b141e2 Merge 2013-10-03 19:06:43 +01:00
David Katleman
b4c28b3b28 Merge 2013-10-01 12:45:47 -07:00
Kumar Srinivasan
a210a6a74e 8020552: [launcher] changes to support removal of Solaris 32-bit distribution
8023495: [infra] create 64-bit solaris bits with symlinks

Reviewed-by: ihse, tbell, dholmes, darcy, alanb, erikj, sla, martin
2013-09-27 16:29:44 -07:00
Chris Hegarty
369c079b32 Merge 2013-08-30 09:37:29 +01:00
Alexander Zuev
e5fa00ffb5 8025076: Fix for JDK-8017248 breaks jprt submission for non-unicode locales
Reviewed-by: naoto, ksrini
2013-09-20 17:56:54 +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
Alexander Zuev
100b98aafa 8017248: Compiler Diacritics Issue
Reviewed-by: naoto
2013-09-19 17:04:45 +04:00
Alexander Zuev
ccbfbe8736 8025738: locale related test fails on langtools mac 10.7 test host
Reviewed-by: ksrini
2013-10-03 17:40:45 +04:00
Naoto Sato
3debf156b1 8016110: Japanese char (MS932) 0x5C cannot be used as an argument when quoted
Reviewed-by: ksrini, akhil
2013-09-30 16:15:49 -07:00
Erik Joelsson
c130ed3660 8023231: Remove comma from jtreg bug line
Reviewed-by: alanb, chegar
2013-08-19 14:48:08 +02:00
Erik Joelsson
73ddb82395 8022719: tools/launcher/RunpathTest.java fails after 8012146
Reviewed-by: chegar
2013-08-19 12:30:48 +02:00
Alan Bateman
9aceb41d6d 8022921: Remove experimental Profile attribute
Reviewed-by: mchung, chegar
2013-08-15 11:54:05 +01:00
Xueming Shen
dca36c08f3 8015666: test/tools/pack200/TimeStamp.java failing
To keep the default behavior of ZOS unchanged, if ze extra time not explicitly set

Reviewed-by: alanb, ksrini
2013-08-08 12:03:04 -07:00
Kumar Srinivasan
bd5975ceec 8017463: [TEST_BUG] 2 tests from tools/pack200/ remain about 1 GB of data in work directory after execution
Reviewed-by: mchung
2013-07-02 05:28:31 -07:00
Kumar Srinivasan
4cc3613b7f 8016209: TEST_BUG: non-compliant jmc in the bin directory hangs testing
Reviewed-by: alanb, darcy, chegar
2013-06-08 09:05:49 -07:00
Eric McCorkle
a455b8ab9d 8014834: shell tests don't begin with #!/bin/sh
Some shell tests don't begin with the command interpreter line

Reviewed-by: alanb, ksrini
2013-06-03 10:44:10 -04:00
Kumar Srinivasan
485921b016 8007333: [launcher] removes multiple back slashes
Reviewed-by: alanb, akhil
2013-05-24 17:01:08 -07:00
Kumar Srinivasan
797c391622 8001163: [pack200] should support attributes introduced by JSR-308
Reviewed-by: jrose
2013-05-15 18:26:16 -07:00
Lana Steuck
31330fc47a Merge 2013-03-12 19:04:49 -07:00
Kumar Srinivasan
bffaa53287 8007297: [pack200] allow opcodes with InterfaceMethodRefs
Reviewed-by: jrose
2013-03-03 20:52:04 -08:00
Edvard Wendelin
11923f546e Merge 2013-02-26 06:47:57 +01:00
Erik Joelsson
b3a313fa2b 8008914: Add nashorn to the tl build
Co-authored-by: James Laskey <james.laskey@oracle.com>
Reviewed-by: mr, tbell, jjh
2013-02-25 15:08:11 -08:00
Brent Christian
944e1b9636 8006039: test/tools/launcher/I18NJarTest.java fails on Mac w/ LANG=C, LC_ALL=C
Avoid automated test failure by just exiting when in 'C' locale

Reviewed-by: naoto, ksrini
2013-02-25 14:19:48 -08:00
Edvard Wendelin
2f5be3ab0d Merge 2013-02-25 08:44:00 +01:00
Edvard Wendelin
cbfc80d987 Merge 2013-02-19 21:48:01 +01:00
Kumar Srinivasan
83b9b38fc5 8007902: [unpack200] incorrect BootstrapMethods attribute
Reviewed-by: jjh
2013-02-10 08:49:39 -08:00
Edvard Wendelin
11036fb4d5 Merge 2013-02-05 15:35:35 +01:00
Ragini Prasad
e618b1556c 8007135: tools/launcher/VersionCheck.java failing with new tool jabswitch
Reviewed-by: ksrini, mduigou
2013-02-02 12:08:43 -08:00
Kumar Srinivasan
81a6d7fb01 8003549: (pack200) assertion errors when processing lambda class files with IMethods
Add more check for opcode, sketch provided by jrose

Reviewed-by: jrose
2013-02-01 22:12:52 -08:00
Jayashree Viswanathan
38f3a59c9a 8006536: [launcher] removes trailing slashes on arguments
Reviewed-by: ksrini, akhil
2013-02-01 07:25:51 -08:00
Lana Steuck
835c35dc91 Merge 2013-02-21 17:43:57 -08:00
David Holmes
390cc1d7a1 Merge 2013-02-17 16:44:19 -05:00
Kumar Srinivasan
2373a63188 8008262: pack200 should support MethodParameters - part 2
Reviewed-by: jrose
2013-02-19 16:49:28 -08:00
David Holmes
eb1726c151 Merge 2013-02-04 18:08:50 -05:00
Alan Bateman
3ca765dfbd 8004931: add/removePropertyChangeListener should not exist in subset Profiles of Java SE
Reviewed-by: dholmes, mchung, ksrini
2013-01-21 23:23:12 -05:00
Alan Bateman
50ccbb6018 8003256: (profiles) Add support for profile identification
Reviewed-by: dholmes, mchung, ksrini
2013-01-21 23:21:15 -05: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
Kumar Srinivasan
a788c5b6b8 8005252: pack200 should support MethodParameters
Reviewed-by: jrose
2013-01-14 15:46:54 -08:00
Alan Bateman
c12b624078 8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
Reviewed-by: chegar
2013-01-11 20:19:55 +00:00
David Dehaven
1381be8b23 8004547: Extend JavaFX launcher support to allow full JavaFX launch feature set
Reviewed-by: mchung, kcr, ksrini
2013-01-07 09:58:48 -08:00
Chris Hegarty
83223ad4ac 8005634: tools/launcher/VersionCheck.java fails version check on jdeps
Add jdeps to the list of tools that do not support '-version'

Reviewed-by: mchung
2013-01-03 10:00:55 +00:00
David Katleman
306cab1006 8004982: JDK8 source with GPL header errors
Reviewed-by: ohair
2012-12-20 16:24:50 -08:00
Mark Sheppard
c9063f559f 8003890: corelibs test scripts should pass TESTVMOPTS
Reviewed-by: chegar, alanb
2012-12-13 14:47:35 +00:00
David Dehaven
4698a5c96d 8004042: Arrrghs.java test failed on windows with access error
Reviewed-by: smarks, jjh, ksrini
2012-12-09 07:43:12 -08:00
Edvard Wendelin
f92370665e Merge 2013-02-03 23:25:38 +01:00
Steve Sides
6dfea5e847 8003660: (launcher) 8001533 regression tests
Reviewed-by: ksrini, mchung, kcr, ddehaven
2012-11-19 19:50:39 -08:00
David Dehaven
5f0debc005 8001533: java launcher must launch javafx applications
Reviewed-by: ksrini, mchung, kcr, alanb
2012-11-19 19:49:38 -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
Kumar Srinivasan
695e6ab2e0 8002091: tools/launcher/ToolsOpts.java test started to fail since 7u11 b01 on Windows
Reviewed-by: darcy, jjh, mschoene
2012-11-09 14:36:10 -08:00
Alan Bateman
430592a30e 7197491: update copyright year to match last edit in jdk8 jdk repository
Reviewed-by: chegar, ksrini
2012-11-02 15:50:11 +00:00
Kumar Srinivasan
e9b83f5d6f 7194005: (launcher) needs to be enhanced for 64-bit jar file handling
Reviewed-by: darcy, sherman
2012-09-05 11:38:40 -07:00
Omair Majid
ce9faa4692 7190813: (launcher) RPATH needs to have additional paths
Reviewed-by: anthony, ksrini
2012-08-14 17:11:11 -04:00
Kumar Srinivasan
60ea1205b7 7189944: (launcher) test/tools/launcher/Arrrrghs.java needs a couple of minor fixes
Reviewed-by: darcy, jgish
2012-08-08 09:29:32 -07:00
Kumar Srinivasan
8ab8ef182e 7146424: Wildcard expansion for single entry classpath
Reviewed-by: dholmes, darcy, jjh, sherman
2012-07-31 06:14:28 -07:00
Kumar Srinivasan
3c9f53969a 7184145: (pack200) pack200 --repack throws NullPointerException when JAR file specified without path
Reviewed-by: alanb, sherman
2012-07-14 18:00:42 -07: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
Kumar Srinivasan
4747e218b3 7168401: pack200 does not produce a compatible pack file for JDK7 classes if indy is not present
Reviewed-by: jrose
2012-05-29 14:56:48 -07:00
Kumar Srinivasan
ae57b6a361 7170087: tools/launcher/Arrghs.java test has wrong bugID for 7151434
Reviewed-by: ohair
2012-05-21 09:40:32 -07:00
Lana Steuck
26faf043d2 Merge 2012-05-02 10:17:29 -07:00
Kumar Srinivasan
cb9507190e 7151434: java -jar -XX crashes java launcher
Reviewed-by: mchung, darcy
2012-04-24 10:37:01 -07:00
Anthony Petrov
14842a2b97 7131021: [macosx] Consider using system properties to pass arguments from the launcher to AWT/SplashScreen
Document the environment variables and add tests

Reviewed-by: ksrini
2012-04-24 20:39:40 +04:00
Kumar Srinivasan
b0c273a9b8 6981776: Pack200 must support -target 7 bytecodes
Pack200 implementation of JSR-200 updated for JSR-292 changes

Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: jrose, ksrini
2012-04-22 06:54:38 -07:00
James Melvin
d090606f36 7130404: [macosx] "os.arch" value should be "x86_64" for compatibility with Apple JDK6
On Mac OS X, align system property "os.arch" with Apple legacy JDKs.  Also, improve os.name string matching by using .contains() method instead of .startsWith(). This fix spans multiple repositories.

Reviewed-by: dcubed, phh, ohair, katleman
2012-04-16 18:09:53 -04:00
Kumar Srinivasan
f13a39a361 7158090: (launcher) newly added ToolsOpts.java fails on openjdk builds
Reviewed-by: darcy
2012-03-30 17:22:02 -07:00
Steve Sides
9d2cd27e59 7156976: improve java tools testing
Reviewed-by: darcy
2012-03-29 17:49:34 -07:00
Alan Bateman
3269d85838 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:34:38 +00:00
Kumar Srinivasan
8f5b808cfe 7148499: Stack size in tools/launcher/Settings.java needs to be increased
Reviewed-by: alanb
2012-02-29 08:20:33 -08:00
Sonali Goel
c750a3e42c 7141141: Add 3 new test scenarios for testing Main-Class attribute in jar manifest file
Reviewed-by: ksrini, darcy
2012-02-02 15:37:22 -08:00
Kumar Srinivasan
25f79b38d8 7127906: (launcher) convert the launcher regression tests to java
Reviewed-by: darcy, naoto
2012-01-28 10:46:46 -08:00
Kumar Srinivasan
d0df777779 7132270: tools/launcher/DefaultLocaleTestRun.java failing (win)
Reviewed-by: alanb, chegar
2012-01-24 09:58:44 -08:00
Kumar Srinivasan
86fa49b707 7125442: jar application located in two bytes character named folder cannot be run with JRE 7 u1/u2
Reviewed-by: sherman, mchung, darcy
2012-01-11 08:14:47 -08:00
Kumar Srinivasan
6274287b95 7124443: (launcher) test DefaultsLocaleTest fails with Windows shells
Reviewed-by: darcy
2012-01-03 08:33:30 -08:00
Kumar Srinivasan
3890c64b86 7123582: (launcher) display the -version and -XshowSettings
Reviewed-by: alanb
2012-01-03 08:27:37 -08:00
Kumar Srinivasan
2b42b78393 7067922: (launcher) java -jar throws NPE if JAR file does not contain Main-Class attribute
Reviewed-by: darcy, ohair, alanb, mduigou
2011-07-19 10:58:50 -07:00
Lana Steuck
69ce407621 Merge 2011-06-22 23:23:58 -07:00
Kumar Srinivasan
e5700a0e11 7043125: TEST: tools/launcher/VersionCheck.java fails just against openjdk7 (b141 & b138-nightly) promoted
Reviewed-by: darcy
2011-06-17 15:17:01 -07:00
David Katleman
170844d307 7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
Reviewed-by: ohair, trims
2011-05-25 13:32:36 -07:00
Lana Steuck
b99716e22a Merge 2011-04-17 16:19:29 -07:00
Kelly O'Hair
7c8e01891a Merge 2011-04-13 16:56:16 -07:00
Kumar Srinivasan
aa39508b83 7029048: (launcher) fence the launcher against LD_LIBRARY_PATH
Reviewed-by: mchung, ohair
2011-04-07 12:06:32 -07:00
Kelly O'Hair
d2b1e20c7d 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 22:06:11 -07:00
Kumar Srinivasan
a1a5907f79 7031166: (pack200) tools/pack200/CommandLineTests.java fail with testsdk on RO filesystem
Reviewed-by: alanb
2011-03-28 13:50:01 -07:00
Kumar Srinivasan
b5ae4b5810 7027288: (launcher) remove jkernel test from MiscTests
Reviewed-by: mchung, herrick
2011-03-14 10:36:43 -07:00
Kumar Srinivasan
4c1f2a17d9 6968053: (launcher) hide exceptions under certain launcher failures
Reviewed-by: mchung
2011-02-03 15:41:23 -08:00
Lana Steuck
fb91d40572 Merge 2011-01-04 17:05:38 -08:00
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Kumar Srinivasan
23e2064389 7002386: (launcher) fix XshowSettings
Reviewed-by: darcy, mchung, naoto
2010-12-23 13:51:30 -08:00
Kumar Srinivasan
cf7aa136ac 7007157: (pack200) stripping attributes causes a NPE
Reviewed-by: jrose, mduigou, dholmes
2010-12-18 09:10:49 -08:00
Kumar Srinivasan
fac39410b5 6452854: Provide a flag to print the java configuration
Reviewed-by: darcy, mchung, sherman, dholmes, mduigou
2010-11-23 16:52:39 -08:00
Kumar Srinivasan
3f811bd634 6985763: Pack200.Packer.pack(...) and Pack200.Unpacker.unpack(...) throw unspecified exceptions
Reviewed-by: jrose, dholmes, alanb, mduigou
2010-11-05 14:15:25 -07:00
Kumar Srinivasan
74d4519ed4 6746111: Improve pack200 error message
Reviewed-by: jrose
2010-10-14 14:55:03 -07:00
Kumar Srinivasan
4b93eff932 6982312: (pack200) pack200 fails with the jdk7 class files
Reviewed-by: jrose
2010-10-14 14:41:08 -07:00
Kumar Srinivasan
e17e251af7 6991164: pack source needs vendor rebranding changes (jdk7 only)
Reviewed-by: ohair, jrose
2010-10-14 09:36:05 -07:00
Kumar Srinivasan
e924b42b38 6894719: (launcher)The option -no-jre-restrict-search is expected when -jre-no-restrict-search is documented
Reviewed-by: darcy
2010-10-07 14:35:14 -07:00
Xueming Shen
48e04c75c5 6984046: java/jar jar/pack source needs vendor rebranding changes (jdk7 only)
Updated to use appropriate vendor name

Reviewed-by: ohair, dholmes
2010-10-11 22:32:55 -07:00
Kumar Srinivasan
ef7b8cbc9e 6981001: (launcher) EnsureJREInstallation is not being called in order
Reviewed-by: darcy
2010-09-03 07:59:21 -07:00
Kumar Srinivasan
8f806006bd 6966740: (pack200) need to add the timezone regression test
Reviewed-by: jrose
2010-08-23 10:47:42 -07:00
Kumar Srinivasan
6f001f2e2f 6969063: (pack200) The default value of Pack200.Packer.SEGMENT_LIMIT property is empty string instead of -1
Reviewed-by: jrose
2010-08-23 10:19:20 -07:00
Kumar Srinivasan
226ae73a8d 6531345: Memory leak in unpack200
Reviewed-by: jrose
2010-08-23 08:18:08 -07:00
Kumar Srinivasan
28fff3ad36 6966737: (pack200) the pack200 regression tests need to be more robust
Reviewed-by: jrose, ohair
2010-08-20 08:18:54 -07:00
Xueming Shen
51e553fe0e 6969651: TEST_BUG: tools/jar/JarEntryTime.java failed on JDK7 when run on NFS
Changed to use more appropriate nfs file time

Reviewed-by: martin
2010-08-17 16:01:54 -07:00
Kumar Srinivasan
e5b31c9351 6921472: RFE: java launcher code needs clean up
This changeset also contains fixes for 6405284, 6753938 and 6922500

Reviewed-by: darcy
2010-07-09 11:04:34 -07:00
Kumar Srinivasan
6474c4d2a3 6930056: (launcher) Need to remove or build as part of test these liblibrary.so files
Reviewed-by: ohair, darcy
2010-07-09 09:54:10 -07:00
Kelly O'Hair
2b8c80bc91 6954517: Testcase failure tools/launcher/UnicodeTest.sh
Reviewed-by: ksrini
2010-07-07 10:17:36 -07:00
Kumar Srinivasan
7511a7950b 6856415: Enabling java security manager will make programe thrown wrong exception ( main method not found )
Reviewed-by: darcy
2010-06-28 18:25:03 -07:00
Kelly O'Hair
b383b9ba47 6962617: Testcase changes, cleanup of problem list for jdk_tools targets
Reviewed-by: alanb
2010-06-20 14:53:36 -07:00
Kumar Srinivasan
30c988b71e 6712743: pack200: should default to 150.7 pack format for classfiles without any classes
Reviewed-by: jrose
2010-06-19 17:42:39 -07:00
Kumar Srinivasan
fad23a5a1f 6575373: Error verifying signatures of pack200 files in some cases
Reviewed-by: jrose, forax
2010-06-16 12:36:49 -07:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Kelly O'Hair
5870e852d5 6911104: Tests do not work with CYGWIN: tools, sun/tools, and com/sun/tools
Reviewed-by: tbell, alanb
2010-01-04 15:56:42 -08:00
Kumar Srinivasan
3d2d85a19c 6367077: Purge LD_LIBRARY_PATH usage from the launcher
6899834: (launcher) remove the solaris libjvm.so symlink

Fixes other related issues as well.

Reviewed-by: darcy, ohair, xlu, martin
2009-11-20 11:01:32 -08:00
Kevin Walls
d3dbee73a6 6882768: (launcher) test for 6842838 is broken
Testcase correction.

Reviewed-by: ksrini
2009-09-22 17:01:08 +01:00
Kevin Walls
4a82626658 6842838: 64-bit failure in handling invalid manifest in launcher
Don't compare with hard-coded 32-bit -1 when checking zip fields.

Reviewed-by: ksrini
2009-09-14 20:55:08 +01:00
Xiomara Jayasena
e0c1d51604 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:54 -07:00
Martin Buchholz
cab876d8d1 6854795: Miscellaneous improvements to "jar"
Cleanup of jar/Main.java (Initial patch by tobyr@google.com, additional review by jeremymanson@google.com, ulf.zibis@gmx.de)

Reviewed-by: sherman, alanb
2009-07-06 11:30:40 -07:00
Abhijit Saha
32bc86d541 Merge 2009-04-16 21:08:04 -07:00
Kumar Srinivasan
dcbd65a1c3 6792554: Java JAR Pack200 header checks are insufficent
Added several checks to ensure that the values read from the headers are consistent

Reviewed-by: jrose
2009-02-18 14:14:03 -08:00
Kumar Srinivasan
92992b2e76 6755943: Java JAR Pack200 Decompression should enforce stricter header checks
Fixes a core dump when fed with a faulty pack file and related malicious take over

Reviewed-by: jrose
2008-10-17 09:43:30 -07:00
Kumar Srinivasan
a7c6406a8f 6758881: (launcher) needs to throw NoClassDefFoundError instead of JavaRuntimeException
The launcher will throw the Error vs. Exception, also fixed some minor issues with the tests.

Reviewed-by: darcy
2008-10-14 13:02:30 -07:00
Kumar Srinivasan
c8bd8e9a0f 4459600: java -jar fails to run Main-Class if classname followed by whitespace
Fixed whitespace trimming in the manifest as well as post review comments on CR: 6742159

Reviewed-by: darcy, dholmes
2008-10-01 09:04:42 -07:00
Kumar Srinivasan
d799afdc04 6742159: (launcher) improve the java launching mechanism
Improves launching, also addresses 6694671 and 6749732

Reviewed-by: darcy, dholmes
2008-09-24 15:07:41 -07:00
Kumar Srinivasan
3a7a9cc557 6733959: Insufficient checks for "Main-Class" manifest entry in JAR files
Fixes a buffer overrun problem with a very long Main-Class attribute.

Reviewed-by: darcy
2008-09-04 09:43:32 -07:00
Kumar Srinivasan
da0bf7574c 6684582: Launcher needs improved error reporting
Indicate the missing main class in the error message

Reviewed-by: darcy, kbr
2008-04-10 09:02:22 -07:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00