52 Commits

Author SHA1 Message Date
Martin Buchholz
24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
Henry Jen
eaa42993db 8027634: Support @argfiles for java command-line tool
Reviewed-by: ksrini, mchung
2015-07-08 23:26:48 -07:00
Alejandro Murillo
d8f13cb1d1 Merge 2015-08-13 15:50:52 -07:00
Brian Burkhalter
10207de32f 8065595: Wrong JNI_OnLoad called if just loaded lib does not have JNI_OnLoad function
Add nio_util.c containing JNI_OnLoad bare bones implementation.

Reviewed-by: rriggs
2015-08-13 09:36:14 -07:00
Staffan Larsen
de0713848b 8076470: Remove the JVM TI hprof Agent
Reviewed-by: sspitsyn, mchung, erikj
2015-08-10 13:08:55 +02:00
Harold Seigel
4496a599b2 8081695: Old verifier fails to reject bad access to protected <init> method
Remove the class file version check that prevented the proper access check

Reviewed-by: coleenp, gtriantafill, lfoltan
2015-07-24 10:03:58 -04:00
Harold Seigel
781e67c86c 8129897: Old verifier fails to reject erroneous cast from boolean[] to byte[]
Add ITEM_Boolean enum to differentiate between arrays of booleans and arrays of bytes

Reviewed-by: dholmes, lfoltan
2015-07-23 08:44:37 -04:00
Jean-Francois Denise
bff48ef15d 8130344: assert(handle != __null) failed: JNI handle should not be null' in jni_GetLongArrayElements
Check JNI NewArray for NULL value

Reviewed-by: lfoltan, alanb, dholmes
2015-07-13 14:05:17 +01:00
Daniel D. Daugherty
fd67ab1042 Merge 2015-07-09 14:48:12 -07:00
Daniel D. Daugherty
10219ee9a2 Merge 2015-07-03 07:13:24 -07:00
Zoltan Majo
94d36649af 8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.

Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:23:45 +02:00
Volker Simonis
48aacbe3f9 8130315: Fix wrong prototype of GrowKnownVMs() in java.c
Reviewed-by: alanb, ksrini
2015-07-02 15:25:46 +02:00
Jean-Francois Denise
30cacaa5c9 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:24:39 +02:00
Volker Simonis
9a8eaa367e 8081674: EmptyStackException at startup if running with extended or unsupported charset
Reviewed-by: mchung, alanb
2015-06-11 17:29:09 +02:00
Staffan Larsen
6329a86bca 8080991: Compilation error with recent clang in java.base/share/native/launcher/main.c: error: comparison of array 'const_jargs' not equal to a null pointer is always true
Reviewed-by: ksrini, ddehaven
2015-05-28 14:54:58 -07:00
Joe Darcy
5aee5a8ee7 8081359: Update bug reporting URL
Reviewed-by: lancea
2015-05-28 11:31:40 -07:00
Roger Riggs
3788afad1f 8074818: Resolve disabled warnings for libjava
8080007: Stop ignoring warnings for libjava

Reviewed-by: alanb, erikj
2015-05-22 10:12:18 -04:00
Phil Race
95cc940989 Merge 2015-05-13 08:37:34 -07:00
Jeremy Manson
292354a1fe 8079841: Buffer underflow with empty zip entry names
Check for zero-length entry name before accessing "last" byte

Reviewed-by: sherman, martin
2015-05-12 14:39:36 -07:00
Phil Race
b8cf472fe8 Merge 2015-05-05 13:29:31 -07: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
Vladimir Ivanov
4097393258 8057919: Class.getSimpleName() should work for non-JLS compliant class names
Reviewed-by: dholmes, jrose
2015-04-14 18:03:12 +03:00
Mikael Vidstedt
7b1455163e 8074840: Resolve disabled warnings for libjli and libjli_static
Reviewed-by: dholmes, ksrini
2015-04-02 11:54:33 -07:00
Martin Buchholz
8ab93c84ec 8073158: zip files with total entry count 0xFFFF need not be ZIP64 files
Minor rewrite of crufty zip implementation in parse_manifest.c

Reviewed-by: sherman
2015-03-25 15:36:43 -07:00
Martin Buchholz
0d022c42c9 8074579: Use more efficient and readable way of checking PKZIP signatures
Reviewed-by: sherman
2015-03-10 14:23:03 -07: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
Ivan Gerasimov
2264f58af9 8074067: (bf) Re-examine java.base/share/native/libjava/Bits.c
Reviewed-by: alanb, martin
2015-03-04 13:44:18 +03:00
Ivan Gerasimov
68b3fe02ad 8074066: Useless code in share/native/libjava/VM.c
Reviewed-by: mchung
2015-03-03 10:30:44 +03: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
Kumar Srinivasan
bb5e8afcf2 8068033: JNI exception pending in jdk/src/share/bin/java.c
Reviewed-by: mchung, serb
2015-02-03 09:49:27 -08:00
Daniel Fuchs
b5f5424c83 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.

Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:48:59 +01:00
Ivan Gerasimov
bd3205c63e 8068338: Better message about incompatible zlib in Deflater.init
Reviewed-by: alanb, sherman
2014-12-30 00:11:00 +03:00
Alejandro Murillo
f507e301d3 Merge 2014-12-19 17:01:45 -08:00
Alejandro Murillo
346b210c83 Merge 2014-12-16 13:10:34 -08:00
Yumin Qi
8382195614 Merge 2014-12-14 23:03:00 +00:00
Coleen Phillimore
ecc9f19dc9 8042418: Remove JVM_FindClassFromClassLoader
The function has been replaced so is no longer used.

Reviewed-by: mchung, dholmes
2014-12-14 16:02:46 -05:00
Alejandro Murillo
c88778bc25 Merge 2014-12-11 23:06:14 -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
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
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
Martin Buchholz
08eb67b941 8067377: My hobby: caning, then then canning, the the can-can
Fix ALL the stutters!

Reviewed-by: rriggs, mchung, lancea
2014-10-30 07:31:41 -07:00
Ivan Gerasimov
b051027d6f 8023173: FileDescriptor should respect append flag
Reviewed-by: martin, alanb, rriggs
2014-10-28 15:36:27 +03:00
Alejandro Murillo
f0c02512ea Merge 2014-10-21 13:56:58 -07:00
Alejandro Murillo
d89ff24e1a Merge 2014-10-17 07:58:57 -07:00
Kirk Shoop
d03eadea27 8060170: Support SIO_LOOPBACK_FAST_PATH option on Windows
Co-authored-by: Valeriy Kopylov <v-valkop@microsoft.com>
Reviewed-by: alanb
2014-10-19 11:52:53 +01:00
Frederic Parain
fee63b862f 8057777: Cleanup of old and unused VM interfaces
Reviewed-by: coleenp, hseigel, alanb, sherman
2014-10-09 04:48:12 -07:00
Brian Burkhalter
0bbb54fff6 8054720: Modifications of I/O methods for instrumentation purposes
Wrap some native methods in Java methods.

Reviewed-by: rriggs
2014-08-20 11:30:13 -07:00
Chris Hegarty
3bc69d393d 8054834: Modular Source Code
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@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>
Reviewed-by: alanb, chegar, ihse, mduigou
2014-08-17 15:54:13 +01:00
Jiangli Zhou
21f7f36b9e 8044269: Analysis of archive files
Add checksum verification.

Reviewed-by: iklam, dholmes, mschoene
2014-08-14 21:46:27 -04:00