34 Commits

Author SHA1 Message Date
Chris Hegarty
1bdfa7bf9f Merge 2013-07-25 19:03:29 +01:00
Peter Levart
b0d167645f 7122142: (ann) Race condition between isAnnotationPresent and getAnnotations
Reviewed-by: dholmes, jfranck
2013-07-15 10:55:53 +02:00
Weijun Wang
c7d65c4207 8013739: Better LDAP resource management
Reviewed-by: ahgross, mchung, xuelei
2013-06-13 10:21:06 +08:00
Joe Darcy
e751cc77ad 8017550: Fix doclint issues in java.lang and subpackages
Reviewed-by: alanb, chegar
2013-06-24 23:40:31 -07:00
Mike Duigou
a90afa9d76 8013528: Provide SharedSecrets access to String(char[], boolean) constructor
Reviewed-by: martin, alanb, chegar, plevart
2013-05-03 10:57:28 -07:00
Mandy Chung
176ed8d94c 8010117: Annotate jdk caller sensitive methods with @sun.reflect.CallerSensitive
Reviewed-by: jrose, alanb, twisti
2013-04-16 21:39:52 -07:00
Bill Pittore
b938257957 8005716: Enhance JNI specification to allow support of static JNI libraries in Embedded JREs
Co-authored-by: Bob Vandette <bob.vandette@oracle.com>
Reviewed-by: dlong, alanb, mduigou
2013-03-14 16:03:10 +00:00
Joel Borggrén-Franck
34e1726860 8005712: Simplify support for repeating annotations in j.l.r.AnnotatedElement
8004919: AnnotationSupport uses possibly half-constructed AnnotationType instances

Implements the simplified semantics for repeating annotations and removes the incorrect obtaining of an AnnotationType

Reviewed-by: darcy, abuckley
2013-01-31 10:10:34 +01:00
Joel Borggrén-Franck
b29b479461 8004698: Implement Core Reflection for Type Annotations
Reviewed-by: darcy
2013-01-29 10:32:49 +01:00
Joel Borggrén-Franck
36464f41e2 7154390: Add support for repeating annotations in j.l.r.AnnotatedElement
Reviewed-by: darcy
2012-11-28 09:21:37 -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
Alan Bateman
9b8e06e699 8000269: Cleanup javadoc warnings
Reviewed-by: lancea, darcy, ulfzibis, iris, naoto, dholmes
2012-10-01 15:36:57 +01:00
Mike Duigou
9c64402c80 7149320: Move sun.misc.VM.booted() to the end of System.initializeSystemClass()
Ensure that sun.misc.VM.booted() is the last action in System.initSystemClass()

Reviewed-by: dholmes, alanb
2012-03-01 09:40:18 -08:00
Xueming Shen
1b32c44aa3 4153167: separate between ANSI and OEM code pages on Windows
To use OEM code page for System.out&err when not redirected

Reviewed-by: alanb
2012-02-16 22:13:10 -08:00
Omair Majid
d312aad0c1 7117612: Miscellaneous warnings in java.lang
Reviewed-by: smarks, dholmes, alanb, darcy
2011-12-08 13:48:54 -05:00
Alan Bateman
8b11c10364 7116404: Miscellaneous warnings (java.rmi.**, serialization, some core classes)
Reviewed-by: lancea, chegar, smarks
2011-11-30 12:42:26 +00:00
Joe Darcy
f31cad1b9e 7082231: Put a @since 1.7 on System.lineSeparator
Reviewed-by: mduigou
2011-08-23 16:35:05 -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
Xueming Shen
2c97d8fb44 6999337: java.exe fails to start if some directory names in path to java binaries contain Russian characters
Updated to make sure the system properties are accessable by vm during initialization

Reviewed-by: alanb, mchung
2011-02-16 11:11:31 -08:00
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Mandy Chung
d990871881 6977738: Deadlock between java.lang.ClassLoader and java.util.Properties
Reviewed-by: alanb, sherman, darcy, igor
2010-10-11 20:22:27 -07:00
Mandy Chung
d9989f8e0e 6888546: restore System.initializeSystemClasses
Restore System.initializeSystemClasses prior to fix for 6797688

Reviewed-by: alanb
2010-09-17 14:16:14 -07:00
Jon VanAlten
95408ff1c7 6967533: Epoch bug: ExceptionInInitializerError on systems with uninitialized clock
Remove (hopefully!) unnecessary check of currentTimeMillis

Reviewed-by: dholmes
2010-07-09 18:55:25 -07:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Martin Buchholz
74ad65ac21 6900043: Add method to return line.separator property
Add System.lineSeparator(), returning getProperty("line.separator")

Reviewed-by: darcy
2009-12-07 16:44:40 -08: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
Andy Herrick
974a4682e4 Merge 2009-06-29 12:06:42 -04:00
Jeremy Manson
5bf951e2a6 6511515: poor performance of LogRecord.inferCaller depending on java.lang.Throwable.getStackTraceElement
Allow random access to stack trace elements; retrieve only needed ones

Reviewed-by: swamyv
2009-06-14 14:33:30 -07:00
Andy Herrick
e487e25584 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
6845973: Update JDK7 with deployment changes in 6u13, 6u14
4802695: Support 64-bit Java Plug-in and Java webstart on Windows/Linux on AMD64
6825019: DownloadManager should not be loaded and referenced for full JRE
6738770: REGRESSION:JSException throws when use LiveConnect javascript facility
6772884: plugin2 : java.lang.OutOfMemoryError or crash
6707535: Crossing domain hole affecting multiple sites/domains using plug-in
6728071: Non-verification of Update files may allow unintended updates
6704154: Code loaded from local filesystem should not get access to localhost
6727081: Web Start security restrictions bypass using special extension jnlp
6727079: Java Web Start Socket() restriction bypass
6727071: Cache location/user name information disclosure in SingleInstanceImpl
6716217: AppletClassLoader adds permissions based on codebase regardless of CS
6694892: Java Webstart inclusion via system properties override [CVE-2008-2086]
6704074: localhost socket access due to cache location exposed
6703909: Java webstart arbitrary file creation using nativelib
6665315: browser crashes when deployment.properties has more slashes ( / )
6660121: Encoding values in JNLP files can cause buffer overflow
6606110: URLConnection.setProxiedHost for resources that are loaded via proxy
6581221: SSV(VISTA): Redirection FAILS to work if user does a downgrade install
6609756: Buffer Overflow in Java ActiveX component
6608712: Bypassing the same origin policy in Java with crafted names
6534630: "gnumake clobber" doesn't
6849953: JDK7 - replacement of bufferoverflowU.lib on amd64 breaks build
6849029: Need some JDK7 merge clean-up after comments on the webrev
6847582: Build problem on JDK7 with isSecureProperty in merge
6827935: JDK 7 deployment merging - problem in Compiler-msvm.gmk
6823215: latest merge fixes from 6u12 -> JDK7
6816153: further mergers for JDK7 deployment integration
6807074: Fix Java Kernel and JQS in initial JDK7 builds

Initial changeset for implementing 6uX Deployment Features into JDK7

Reviewed-by: dgu, billyh
2009-06-12 14:56:32 -04:00
Mandy Chung
f7b87611c6 6829503: addShutdownHook fails if called after shutdown has commenced
Allow shutdown hook to be added during shutdown and handle properly if it fails to add

Reviewed-by: alanb, dholmes, martin
2009-04-27 12:08:41 -07:00
Alan Bateman
a2b46bd320 6807702: Integer.valueOf cache should be configurable
Reviewed-by: darcy
2009-03-24 14:05:44 +00:00
Mandy Chung
e85a4d8536 6817246: Redundant call to set InetAddressCachePolicy to FOREVER if not set during initialization
Remove InetAddressCachePolicy.setIfNotSet call from System.setSecurityManager0

Reviewed-by: alanb, jccollet
2009-03-18 17:37:39 -07:00
Mandy Chung
0a64902056 6810254: Lazily instantiate the shared secret access objects
Register the shutdown hooks only when needed and remove JavaIODeleteOnExitAccess

Reviewed-by: alanb
2009-03-12 10:27:22 -07:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00