29164 Commits

Author SHA1 Message Date
Maurizio Cimadamore
79d1b7b1e1 6594914: @SuppressWarnings("deprecation") does not not work for the type of a variable
Lint warnings generated during MemberEnter might ignore @SuppressWarnings annotations

Reviewed-by: jjg
2011-02-03 09:35:21 +00:00
Coleen Phillimore
052aed6276 7012088: jump to 0 address because of lack of memory ordering in SignatureHandlerLibrary::add
Write method signature handler under lock to prevent race with growable array resizing

Reviewed-by: dsamersoff, dholmes
2011-02-02 18:38:40 -05:00
Keith McGuigan
8a44936bb0 6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread"
Defer posting events from the compiler thread: use service thread

Reviewed-by: coleenp, dholmes, never, dcubed
2011-02-02 14:38:01 -05:00
John Cuthbertson
3373070e7f 6923430: G1: assert(res != 0,"This should have worked.")
7007446: G1: expand the heap with a single step, not one region at a time

Changed G1CollectedHeap::expand() to expand the committed space by calling VirtualSpace::expand_by() once rather than for every region in the expansion amount. This allows the success or failure of the expansion to be determined before creating any heap regions. Introduced a develop flag G1ExitOnExpansionFailure (false by default) that, when true, will exit the VM if the expansion of the committed space fails. Finally G1CollectedHeap::expand() returns a status back to it's caller so that the caller knows whether to attempt the allocation.

Reviewed-by: brutisso, tonyp
2011-02-02 10:41:20 -08:00
Brian Goetz
ce8ab39164 7012540: java.util.Objects.nonNull() incorrectly named
Reviewed-by: darcy, weijun
2011-02-02 13:13:34 -05:00
Kelly O'Hair
a70653025c Merge 2011-02-02 09:39:31 -08:00
Kelly O'Hair
2c866e388c Merge 2011-02-02 09:38:49 -08:00
Bob Vandette
b0d545a4e4 Merge 2011-02-02 11:54:26 -05:00
Bob Vandette
31e3fe4a98 7016023: Enable building ARM and PPC from src/closed repository
Reviewed-by: dholmes, bdelsart
2011-02-02 11:35:26 -05:00
Pavel Porvatov
dd26efb159 6988176: There is focus painted inside the button
Reviewed-by: alexp
2011-02-02 18:41:30 +03:00
Pavel Porvatov
069ec3aa00 6988168: Press the "Toggle Font" button.The size of the combo box didn't change
Reviewed-by: alexp
2011-02-02 18:37:31 +03:00
Erik Trimble
d31a60e26f Merge 2011-02-01 18:57:53 -08:00
Xueming Shen
d0c8cd6815 7015391: (zipfs) Update zip provider for 1/2011 changes
7014948: (zipfs) ZipFileSystem.newFileSystem(Path...) should not throw FileSystemAlreadyExistsException
7015139: (zipfs) ZipPath.delete() should throw DirectoryNotEmptyException when handling "real, non-empty" dir

Zip filesystem provider update

Reviewed-by: alanb
2011-02-01 14:20:01 -08:00
Qi Zuo
98db544155 Merge 2011-02-01 15:03:30 -05:00
Vladimir Kozlov
f743a9db84 7014998: assert(is_T_family(features) == is_niagara(features)) failed: Niagara should be T series
Use substring search instead of compare and convert string to upper case before search.

Reviewed-by: never, phh, iveresov
2011-02-01 10:27:02 -08:00
Joe Darcy
9be3c0f789 6961571: Update visitors to support ARM's ElementKind.RESOURCE_VARIABLE
Reviewed-by: jjg
2011-02-01 10:11:05 -08:00
Andrew John Hughes
0c44452fef 7015232: missing copyright header in CheckZOrderChange.java
Add standard GPL header as on other tests

Reviewed-by: anthony
2011-02-01 17:44:47 +00:00
Coleen Phillimore
cba53708ec 6588413: Use -fvisibility=hidden for gcc compiles
Add option for gcc 4 and above, define JNIEXPORT and JNIIMPORT to visibility=default, add for jio_snprintf and others since -fvisibility=hidden overrides --version-script definitions.

Reviewed-by: kamg, never
2011-02-01 11:23:19 -05:00
Athijegannathan Sundararajan
932380b9e0 7015908: 3 javax.script tests fail with openjdk build
Reviewed-by: alanb
2011-02-01 21:00:09 +05:30
Christian Thalinger
6baa3e1f56 7012339: JSR 292 crash in G1SATBCardTableModRefBS::write_ref_field_pre_work()
Reviewed-by: jrose, never
2011-02-01 05:51:24 -08:00
Bengt Rutisson
1c643e68f0 6789220: CMS: intermittent timeout running nsk/regression/b4796926
The reference handler java thread and the GC could dead lock

Reviewed-by: never, johnc, jcoomes
2011-02-01 14:05:46 +01:00
Y. Srinivas Ramakrishna
1046ee088f 6999988: CMS: Increased fragmentation leading to promotion failure after CR#6631166 got implemented
Fix calculation of _desired, in free list statistics, which was missing an intended set of parentheses.

Reviewed-by: poonam, jmasa
2011-02-01 10:02:01 -08:00
Xue-Lei Andrew Fan
85a3f20cef 7011497: new CertPathValidatorException.BasicReason enum constant for constrained algorithm
Add new BasicReason and improve trust anchor searching method during cert path validation

Reviewed-by: mullan
2011-02-01 04:45:10 -08:00
Christian Thalinger
561c090437 7009309: JSR 292: compiler/6991596/Test6991596.java crashes on fastdebug JDK7/b122
Reviewed-by: kvn, never
2011-02-01 03:38:44 -08:00
Joe Darcy
8e948a84fa 7015827: Fix HTML validation issues in java.math package
Reviewed-by: mduigou
2011-02-01 00:29:26 -08:00
Joe Darcy
ba98ee427f 7014734: Project Coin: Allow optional trailing semicolon to terminate resources list in try-with-resources
Reviewed-by: jjg
2011-01-31 19:06:32 -08:00
Tom Rodriguez
f78d8f1157 6354181: nsk.logging.stress.threads.scmhml001 fails assertion in "src/share/vm/oops/instanceKlass.cpp, 111"
Reviewed-by: jrose, acorn
2011-01-31 17:48:21 -08:00
Antonios Printezis
d18d952e56 7014679: G1: deadlock during concurrent cleanup
There's a potential deadlock between the concurrent cleanup thread and the GC workers that are trying to allocate and waiting for more free regions to be made available.

Reviewed-by: iveresov, jcoomes
2011-01-31 16:28:40 -05:00
Sergey Malenkov
a09ca04b62 6999045: DOC: Unclear spec for BevelBorder constructor and BorderFactory factory method (colors switching)
Reviewed-by: alexp
2011-01-31 21:49:27 +03:00
Sergey Malenkov
d12c1d0e49 7001118: DOC: javax.swing.border.StrokeBorder.paintBorder() doesn't throw NPE in all specified cases
Reviewed-by: alexp
2011-01-31 21:31:39 +03:00
Sergey Malenkov
066a92efda 7001484: DOC: Method javax.swing.border.StrokeBorder.getBorderInsets() should specify how it converts float
Reviewed-by: alexp
2011-01-31 21:22:42 +03:00
Joe Darcy
9b7612b045 7015156: Remove JSR 308 changes from core libraries
Reviewed-by: mduigou
2011-01-28 17:09:49 -08:00
Joe Darcy
8f9c072c89 7015530: Reiterate API specializations in javax.lang.model.elment subinterfaces
Reviewed-by: jjg
2011-01-28 16:54:18 -08:00
Kelly O'Hair
7ac1051573 7014301: Change make 3.81 sanity check to a fatal, 3.81 is needed now
Reviewed-by: alanb
2011-01-28 14:32:02 -08:00
Lana Steuck
c9d15dc78b Merge 2011-01-28 10:06:08 -08:00
Lana Steuck
87148f819f Merge 2011-01-28 10:04:51 -08:00
Lana Steuck
4a53dd56d4 Merge 2011-01-28 10:00:12 -08:00
Denis Fokin
d4946d1ec3 6340263: Regression testcase java/awt/dnd/DnDClipboardDeadlockTest throughs IOException: Owner timed out
Reviewed-by: anthony, art
2011-01-28 16:52:10 +03:00
Alan Bateman
26b3b9744f 7015410: test/java/net/Socks/SocksProxyVersion.java needs to be updated due to 7013420
Reviewed-by: chegar
2011-01-28 13:26:14 +00:00
Alan Bateman
434b2147c7 Merge 2011-01-28 12:36:34 +00:00
Maurizio Cimadamore
15959fbf11 6838943: inference: javac is not handling type-variable substitution properly
Free type-variables are being replaced with type-variables bound to forall type leading to unsoundness

Reviewed-by: jjg, dlsmith
2011-01-28 12:06:21 +00:00
Maurizio Cimadamore
1e776bc78a 6313164: javac generates code that fails byte code verification for the varargs feature
Method applicability check should fail if formal varargs element type is not accessible

Reviewed-by: jjg
2011-01-28 12:03:49 +00:00
Maurizio Cimadamore
6647b73cc8 6910550: javac 1.5.0_17 fails with incorrect error message
Multiple clashing members declared in same class should be added to the class' scope in order to avoid downstream spurious diagnostics

Reviewed-by: jjg
2011-01-28 12:01:07 +00:00
Alan Bateman
256ce3b0ba Merge 2011-01-28 09:31:48 +00:00
Alan Bateman
2f37110eca 7006126: (fs) Updates to file system API (1/2011)
Reviewed-by: chegar, sherman
2011-01-28 09:28:43 +00:00
Alan Bateman
68c23b7878 7006126: (fs) Updates to file system API (1/2011)
Reviewed-by: jjg
2011-01-28 09:25:20 +00:00
Jim Holmlund
50d526442a 7015482: jtreg test tools/javac/diags/MessageInfo.java fails when test/ dir is not in langtools repo
Don't fail if the needed file isn't present, if running under jtreg.

Reviewed-by: jjg
2011-01-28 00:09:38 -08:00
Kelly O'Hair
802c6f397e Merge 2011-01-27 18:43:47 -08:00
Kelly O'Hair
8ace8e3323 Merge 2011-01-27 18:43:41 -08:00
Christine Lu
732cd2c94f Added tag jdk7-b127 for changeset 97fc02571ce4 2011-01-27 17:28:57 -08:00