Commit Graph

10 Commits

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