29164 Commits

Author SHA1 Message Date
Coleen Phillimore
39f7049fbb Merge 2014-05-07 18:19:31 -04:00
Gerard Ziemski
ed9c096396 8038654: Separate SymbolTable and StringTable code
Refactor stringTable class out of symbolTable, making sure all includes are minimal set and are sorted.

Reviewed-by: coleenp, stefank
2014-05-07 14:16:45 -05:00
Lois Foltan
edc10143cb 8036805: Correct linker method lookup
Correct handling of array of primitive type qualifiers during field and method resolution.

Reviewed-by: acorn, hseigel, ahgross
2014-05-07 19:38:22 +04:00
Harold Seigel
2216f41ed6 8037157: Verify <init> call
Check for null method

Reviewed-by: coleenp, acorn, mschoene
2014-05-07 19:34:48 +04:00
Karen Kinnear
55dc1a6965 8037167: Better method signature resolution
Reviewed-by: mschoene, hseigel, lfoltan
2014-07-14 13:15:06 +04:00
Harold Seigel
53685b407a 8036800: Attribute OOM to correct part of code
Checks that the attribute_length does not exceed the length of remaining data in the class file

Reviewed-by: coleenp, ahgross
2014-07-14 13:01:34 +04:00
Harold Seigel
13d9244b49 8035119: Fix exceptions to bytecode verification
Prevent ctor calls to super() and this() from avoidable code (try blocks, if stmts, etc.)

Reviewed-by: coleenp, acorn, mschoene
2014-07-14 12:45:14 +04:00
Andreas Lundblad
b2d433dcfc 8028196: Javac allows timestamps inside rt.jar to affect compilation when using -sourcepath
Added -XXuserPathsFirst to allow user classes to take precedence over boot classes

Reviewed-by: jjg
2014-05-07 17:29:42 +02:00
Kumar Srinivasan
15ebe0dcbf 8042654: [javadoc] revert the default methods list.sort to Collections.sort
Reviewed-by: jfranck, jjg
2014-05-07 15:54:16 -07:00
Fredrik Öhrström
ad489d2ce3 8042441: sjavac does not track dependencies
Add support for tracking fully qualified references.

Reviewed-by: jjg
2014-05-08 00:22:31 +02:00
Fredrik Öhrström
cb6df44f8e 8042699: sjavac does not track dependencies
Using / in some places and . in other places break package comparisons. The fix standardizes on dots.

Reviewed-by: jjg
2014-05-07 23:55:41 +02:00
Andrey Nazarov
2c6668c63d 8040129: Implement classfile tests for SourceFile attribute
Reviewed-by: shurailine, jjg
2014-05-07 14:22:14 -07:00
Harold Seigel
afbd45bb8c 8032536: JVM resolves wrong method in some unusual cases
Handle package private case

Reviewed-by: coleenp, acorn, jdn
2014-05-07 19:21:52 +04:00
Harold Seigel
7ec22758dc 8030763: Validate global memory allocation
Add length checks where necessary

Reviewed-by: coleenp, mschoene
2014-07-14 12:43:50 +04:00
Athijegannathan Sundararajan
f7e89ae474 8042600: Add more samples in nashorn/samples directory
Reviewed-by: jlaskey, hannesw
2014-05-07 20:20:58 +05:30
Zhengyu Gu
adcde492fa 8041415: remove port.{cpp,hpp} files
Hotspot should use standard headers and types

Reviewed-by: coleenp, kvn
2014-05-07 06:03:31 -07:00
Athijegannathan Sundararajan
b705fef9d6 8041697: CompiledScript slower when eval with binding
Reviewed-by: lagergren, attila, hannesw
2014-05-07 14:07:19 +05:30
Dan Smith
282ee77f73 8033718: Inference ignores capture variable as upper bound
Split Types.lowerBound into two methods; fix bugs in inference handling of capture variables.

Reviewed-by: vromero
2014-05-06 15:46:09 -06:00
Mike Duigou
b696d5597d 8042417: hgforest: allow local clone of extra repos
Reviewed-by: chegar, erikj
2014-05-06 13:24:51 -07:00
Lois Foltan
eddb53ffb9 8041620: Solaris Studio 12.4 C++ 5.13 change in behavior for placing friend declarations within surrounding scope
Remove adlc's unused class FileBuffRegion.

Reviewed-by: coleenp, dholmes, kvn
2014-05-06 09:56:55 -04:00
Lois Foltan
ee1b91d3f0 8041627: Solaris Studio 12.4 C++ 5.13 compilation error due to lack of "surplus" prototype for binaryTreeDictionary.cpp
Fix C++ compilation error diagnostic for the call of "surplus" within get_better_list() method.

Reviewed-by: coleenp, dholmes
2014-05-06 08:59:57 -04:00
Athijegannathan Sundararajan
f96b4d2e4e 8042364: Make __proto__ ES6 draft compliant
Reviewed-by: jlaskey, lagergren, attila
2014-05-06 17:54:15 +05:30
Hannes Wallnöfer
77834a008e 8041998: RegExp implementation is not thread-safe
Reviewed-by: lagergren, sundar, attila
2014-05-06 12:38:12 +02:00
Erik Joelsson
85f16f2d55 8042348: Copyright link in Javadoc page for Java SE 8
Reviewed-by: tbell, iris
2014-05-06 11:43:14 +02:00
David DeHaven
b9113e4f41 8042440: awt_Plugin no longer needed
Reviewed-by: serb, pchelko
2014-05-05 23:21:27 -07:00
Petr Pchelko
ceed2af620 8042219: [macosx] LWComponentPeer should not reference classes from sun.lwawt.macosx
Reviewed-by: serb, azvegint
2014-05-07 19:47:26 +04:00
Petr Pchelko
0bb0984a41 8042585: [macosx] Unused code in LWCToolkit.m
Reviewed-by: serb, azvegint
2014-05-07 19:40:30 +04:00
Joe Darcy
860e8d8ac7 8039109: Fix unchecked and raw lint warnings in java.awt
Reviewed-by: pchelko, forax, flar, prr
2014-05-05 23:38:30 -07:00
Joe Darcy
1a24f81c1b 8042256: Fix raw and unchecked lint warnings in com.sun.media.sound
Reviewed-by: prr
2014-05-05 23:19:00 -07:00
Coleen Phillimore
7e2463ea72 8023697: failed class resolution reports different class name in detail message for the first and subsequent times
Cache detail message when we cache exception for constant pool resolution.

Reviewed-by: acorn, twisti, jrose
2014-05-05 19:53:00 -04:00
Phil Race
835658f99d Merge 2014-05-05 12:49:13 -07:00
Phil Race
3cc6b53f41 Merge 2014-05-05 12:48:07 -07:00
Staffan Larsen
a51135b202 8031126: java/lang/management/ThreadMXBean/ThreadUserTime.java fails intermittently
Reviewed-by: coleenp, simonis, goetz, gthornbr
2014-05-05 20:17:19 +02:00
Phil Race
ac82d17097 8038838: Totally remove all vestiges of com.sun.image.codec.jpeg from JDK 9
Reviewed-by: bae, vadim
2014-05-05 09:41:41 -07:00
Sergey Bylokhov
6289e6c7e8 8042212: [macosx] Toolkit.getScreenResolution() can return incorrect resolution
Reviewed-by: anthony, pchelko
2014-05-05 19:42:11 +04:00
Matherey Nunez
31c5e7065a 8037572: Add more test cases to check static types
Reviewed-by: attila, lagergren
2014-05-05 14:17:20 +02:00
Christian Thalinger
78bfdda141 Merge 2014-05-02 19:00:04 -07:00
Jonathan Gibbons
7e2e9759d5 8042358: some tests have placeholder bugid 1234567
Reviewed-by: mduigou
2014-05-02 16:41:10 -07:00
Paul Govereau
6ec0c32eff 8033437: javac, inconsistent generic types behaviour when compiling together vs. separate
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Reviewed-by: jjg
2014-05-02 22:35:23 +01:00
Daniel D. Daugherty
0b8b6462e4 Merge 2014-05-02 11:06:26 -07:00
Alejandro Murillo
c202b95c0f Merge 2014-05-02 09:52:17 -07:00
Marcus Lagergren
2f01820f6d 8041625: AccessorProperty currentType must only by Object.class when non-primitive, and scoping followup problem for lazily generated with bodies
Reviewed-by: jlaskey, attila
2014-05-02 18:22:29 +02:00
Athijegannathan Sundararajan
7579bb9eb4 8027933: Add --const-as-var option
Reviewed-by: jlaskey, hannesw
2014-05-02 19:15:59 +05:30
Shrinivas Joshi
d3e5e9eb8d 8042281: compiler/7184394/TestAESMain.java fails with: javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes
Added missing -DmsgSize=640 to test's run commands.

Reviewed-by: kvn
2014-05-01 17:57:29 -07:00
Jesper Wilhelmsson
ded8b863dd 8042298: Remove the names gen0 and gen1 from the GC code
Renamed gen0 and gen1 to young and old throughout the GC code.

Reviewed-by: sjohanss, jcoomes
2014-05-02 02:11:34 +02:00
Lana Steuck
614d35554a Merge 2014-05-01 14:21:29 -07:00
Lana Steuck
5e30be8573 Merge 2014-05-01 14:21:15 -07:00
Lana Steuck
3c879c4db2 Merge 2014-05-01 14:20:57 -07:00
Lana Steuck
a4deebf85a Merge 2014-05-01 14:20:19 -07:00
Lana Steuck
456074c38f Merge 2014-05-01 14:20:06 -07:00