Commit Graph

183 Commits

Author SHA1 Message Date
Yuka Kamiya
e127bc8acf 7070436: Support Unicode 6.1.0 in JDK 8
Reviewed-by: okutsu
2012-03-29 18:02:36 +09:00
Frederic Parain
b497391969 7074616: java.lang.management.ManagementFactory.getPlatformManagementInterfaces fails
Reviewed-by: dholmes, sla
2012-03-14 09:03:08 -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
Staffan Larsen
17f17157b9 7079093: TEST_BUG: java/lang/instrument/ManifestTest.sh fails with cygwin
Work around problems in some cygwin installations

Reviewed-by: alanb, sspitsyn
2012-02-24 20:09:49 +01:00
Roger Riggs
ac69a5f84a 6708398: Support integer overflow
Added add/sub/multiply/toIntExact methods to j.l.Math and StrictMath classes

Reviewed-by: emcmanus
2012-02-16 11:43:20 -08:00
Lana Steuck
0f98d16ad1 Merge 2012-01-28 20:41:27 -08:00
Alejandro Murillo
370735f2e4 Merge 2012-01-20 14:31:33 -08:00
John R Rose
cec41c4c9d 7030453: JSR 292 ClassValue.get method is too slow
Implement ClassValue cooperatively with Class like ThreadLocal with Thread.

Reviewed-by: twisti, mduigou
2012-01-18 17:34:32 -08:00
John R Rose
ef856f2fe0 7117167: Misc warnings in java.lang.invoke and sun.invoke.*
Reviewed-by: smarks
2012-01-18 17:34:29 -08:00
Joe Darcy
cc5049f41e 4504839: Java libraries should provide support for unsigned integer arithmetic
4215269: Some Integer.toHexString(int) results cannot be decoded back to an int
6322074: Converting integers to string as if unsigned

Reviewed-by: mduigou, emcmanus, flar
2012-01-20 17:56:31 -08:00
Daniel D. Daugherty
937ae45cd8 7121600: Instrumentation.redefineClasses() leaks class bytes
Call JNI ReleaseByteArrayElements() on memory returned by JNI GetByteArrayElements(). Also push test for 7122253.

Reviewed-by: acorn, poonam
2011-12-22 18:35:48 -08:00
Darryl Mocek
689ccf050d 5035850: (str) String.CASE_INSENSITIVE_ORDER should override readResolve()
Fix to ensure singleton property of String.CaseInsensitiveComparator is maintained through de/serialization.

Reviewed-by: alanb, forax, smarks, dholmes
2011-12-02 16:25:35 -08:00
Lana Steuck
95e9cd174d Merge 2011-11-28 15:15:50 -08:00
Gary Adams
6ffc2c3b69 6776144: java/lang/ThreadGroup/NullThreadName.java fails with Thread group is not destroyed ,fastdebug LINUX
Reviewed-by: chegar, dholmes
2011-11-23 12:30:19 +00:00
Gary Adams
0a416094b6 7084033: TEST_BUG: test/java/lang/ThreadGroup/Stop.java fails intermittently
Reviewed-by: forax, chegar, dholmes
2011-11-21 12:51:30 +00:00
Gary Adams
325b9e4abb 6860309: TEST_BUG: Insufficient sleep time in java/lang/Runtime/exec/StreamsSurviveDestroy.java
Reviewed-by: alanb, dholmes, forax
2011-11-19 20:03:00 +00:00
John Coomes
6da51f66cd Merge 2011-11-18 16:57:01 -08:00
Gary Adams
29ad75ff83 7067691: java/lang/management/PlatformLoggingMXBean/LoggingMXBeanTest.java failing intermittently
Reviewed-by: alanb, mchung
2011-11-17 15:47:34 -08:00
Christian Thalinger
82266506f2 7109063: JSR 292: fix for 7085860 is incomplete
Reviewed-by: iveresov, alanb, jrose
2011-11-09 00:46:13 -08:00
Christian Thalinger
b8587b3878 7085860: JSR 292: implement CallSite.setTargetNormal and setTargetVolatile as native methods
Reviewed-by: jrose, never
2011-11-02 02:03:30 -07:00
Y. Srinivas Ramakrishna
e9207384c5 4243978: (ref) Race condition in Reference.enqueue()
4268317: (ref) Reference.isEnqueued() can return true when instance not enqueued

The reference handler now declares, and assumes, that the discovered field, rather than the next field, is (to be) used to link the entries in the pending list, thus allowing a reference object to be safely enqueued even while it is in the pending state. Also added slightly modified regression tests from the two bug reports.

Reviewed-by: mchung, alanb, jcoomes
2011-10-31 17:38:15 -07:00
Joe Darcy
82e488e3ae 7092404: Add Math.nextDown and Double.isFinite
Reviewed-by: mduigou
2011-09-21 23:22:11 -07:00
Joe Darcy
5b7643e258 7091682: Move sun.misc.FpUtils code into java.lang.Math
Reviewed-by: alanb
2011-09-18 18:14:07 -07:00
Alan Bateman
b1fadc8f75 7089131: test/java/lang/invoke/InvokeGenericTest.java does not compile
Reviewed-by: darcy, jrose
2011-09-10 14:55:14 +01:00
Joe Darcy
a1f5f73508 7086192: (reflect) Have TypeVariable extend AnnotatedElement
Reviewed-by: mcimadamore
2011-09-06 21:19:31 -07:00
Steve Poole
a5751d5e01 7068328: BufferPoolMXBean and PlatformLoggingMXBean getObjectName may return null
Reviewed-by: alanb
2011-08-23 10:35:50 -07:00
Joe Darcy
d0bd4f51ce 6476261: (reflect) GenericSignatureFormatError When signature includes nested inner classes
6832374: (reflect) malformed signature can cause parser to go into infinite loop
7052898: (reflect) SignatureParser will accept strings outside of the grammar

Various signature parsing fixes; additional review by sonali.goel@oracle.com

Reviewed-by: alanb
2011-08-22 17:12:48 -07:00
Alan Bateman
9c5193ff42 7015589: (spec) BufferedWriter.close leaves stream open if close of underlying Writer fails
Reviewed-by: forax, mduigou
2011-08-18 16:47:20 +01:00
Joe Darcy
0cb631bf43 4900206: Include worst-case rounding tests for Math library functions
Reviewed-by: alanb
2011-08-12 13:36:39 -07:00
Chris Hegarty
ac490e2fce 7073295: TEST_BUG: test/java/lang/instrument/ManifestTest.sh causing havoc (win)
Reviewed-by: mchung
2011-08-09 16:39:04 +01:00
Lana Steuck
c25444afe2 Merge 2011-08-05 16:03:00 -07:00
Mike Duigou
80af4650a8 7073296: Executable.equalParamTypes() incorrectly returns true when the number of params differs
Reviewed-by: alanb, darcy
2011-08-04 08:53:16 -07:00
John R Rose
8b3e857aab 7058651: JSR 292 unit tests need a refresh
Enhancements to unit tests.

Reviewed-by: never, twisti
2011-07-16 15:44:33 -07:00
John R Rose
30257105cb 7058630: JSR 292 method handle proxy violates contract for Object methods
Reviewed-by: never, twisti
2011-07-16 15:40:13 -07:00
John R Rose
8eddf40f8b Merge 2011-07-13 01:40:55 -07:00
Lana Steuck
371dfdfc58 Merge 2011-06-23 14:56:38 -07:00
Chris Hegarty
6482ba14aa 7021010: java/lang/Thread/ThreadStateTest.java fails intermittently
Reviewed-by: dholmes, alanb, mchung
2011-06-23 13:15:14 +01:00
Lana Steuck
69ce407621 Merge 2011-06-22 23:23:58 -07:00
Alan Bateman
a12aaa8a35 7056447: test/java/lang/management/ManagementFactory/MBeanServerMXBeanUnsupportedTest.java fails in agentvm
Reviewed-by: emcmanus
2011-06-22 15:13:29 +01:00
Alan Bateman
3b79194b8b 7056815: test/java/lang/ClassLoader/deadlock/TestOneWayDelegate.sh times out intermittently on busy machine
Reviewed-by: mchung
2011-06-21 16:11:24 +01:00
Joe Darcy
eb2d2e632c 7021922: java.lang.annoation.IncompleteExceptions throws NPE when type is null
Reviewed-by: alanb, forax
2011-06-17 10:34:44 -07:00
John R Rose
1f3aab409b 7054590: (JSR-292) MethodHandleProxies.asInterfaceInstance() accepts private/protected nested interfaces
Fix non-compliant logic in MethodHandleProxies, fix invalid private classes in MethodHandlesTest

Reviewed-by: twisti, never
2011-06-14 22:47:12 -07:00
John R Rose
9acf4f0284 7052202: JSR 292: Crash in sun.invoke.util.ValueConversions.fillArray
Fix corner cases involving MethodHandles.permuteArguments with long or double argument lists.

Reviewed-by: twisti, never
2011-06-14 22:47:09 -07:00
John R Rose
ad33af1a1c 7051206: JSR 292 method name SwitchPoint.isValid is misleading to unwary users; should be hasBeenInvalidated
Reviewed-by: kvn, never, ysr
2011-06-03 11:20:20 -07:00
John R Rose
c0d9c39aa2 7049122: java/lang/invoke/RicochetTest.java with MAX_ARITY=255 in -Xcomp mode overflows code cache
Reduce the scope of the unit test (mark high water mark of testing with @ignore tags)

Reviewed-by: never
2011-06-01 23:56:51 -07:00
John R Rose
f32795386e 7050328: (jsr-292) findConstructor throws ExceptionInInitializerError if run under SecurityManager
Wrap system property and reflection accesses under doPrivileged.  Ensure constant pool linkage bypasses the SM as specified.

Reviewed-by: kvn, never
2011-06-01 23:56:47 -07:00
John Coomes
93196c8b51 Merge 2011-05-27 19:03:03 -07:00
John R Rose
025d0aead8 7032323: code changes for JSR 292 EG adjustments to API, through Public Review
API code changes and javadoc changes following JSR 292 Public Review comments, through PFD

Reviewed-by: never
2011-05-26 17:37:36 -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
Erik Trimble
0840b597d1 Merge 2011-05-20 05:24:32 -07:00