Commit Graph

151 Commits

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