29164 Commits

Author SHA1 Message Date
Andreas Lundblad
06f651942c 8035063: Option handling in sjavac needs to be rewritten
Option handling code rewritten. Exclusion / inclusion patterns changed from package to directories.

Reviewed-by: jjg, jfranck
2014-04-22 16:51:10 +02:00
Claes Redestad
bdad6d51d4 8040747: Improve performance of IP address parsing
Co-authored-by: Bernd Eckenfels <bernd-2014@eckenfels.net>
Reviewed-by: mduigou, chegar
2014-04-22 16:21:43 +02:00
Bernd Eckenfels
17a8cfd9e7 8040837: Avoid provoking NFEs when initializing InetAddrCachePolicy
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Reviewed-by: mduigou
2014-04-22 10:38:20 -07:00
Andreas Lundblad
ebe813fbb0 8037085: The sjavac exclude option should accept valid directory identifiers
Option handling code rewritten. Exclusion / inclusion patterns changed from package to directories.

Reviewed-by: jfranck, erikj, ihse
2014-04-22 16:45:10 +02:00
Lance Andersen
b893bb3e3b 8041485: Update TEST.groups for jdk/nio/zipfs
Reviewed-by: chegar
2014-04-22 09:09:55 -04:00
Lance Andersen
48160e4d08 8041331: Cleanup files for jtreg and windows
Reviewed-by: rriggs, smarks, chegar
2014-04-22 08:57:01 -04:00
Marcus Lagergren
6163a42a8e 8033105: Make sure Nashorn test harness can run zlib benchmark
Reviewed-by: attila, hannesw
2014-04-22 14:09:46 +02:00
Erik Joelsson
e0b43fe7df 8040267: Remove forced -g from java compile lines in jaxp and jaxws
Reviewed-by: mduigou, tbell, ihse
2014-04-22 14:08:43 +02:00
Erik Joelsson
3992591640 8040267: Remove forced -g from java compile lines in jaxp and jaxws
Reviewed-by: mduigou, tbell, ihse
2014-04-22 14:08:26 +02:00
Thomas Schatzl
1653234dda 8040792: G1: Memory usage calculation uses sizeof(this) instead of sizeof(classname)
A few locations in the code use sizeof(this) which returns the size of the pointer instead of sizeof(classname) which returns the size of the sum of its members. This change fixes these errors and adds a few tests.

Reviewed-by: mgerdin, brutisso
2014-04-22 11:10:12 +02:00
Joe Darcy
7025bc84e6 8039862: Fix fallthrough lint warnings in 2d
Reviewed-by: flar
2014-04-21 23:39:30 -07:00
Xue-Lei Andrew Fan
9cba51fbc5 8037066: Secure transport layer
Reviewed-by: weijun, ahgross, asmotrak, mbankal
2014-04-22 00:43:56 +00:00
Paul Govereau
f77173467d 8030046: javac incorrectly handles absolute paths in manifest classpath
Reviewed-by: jjg, vromero
2014-04-21 17:57:47 -04:00
Vicente Romero
a50db59b59 8029718: Should always use lambda body structure to disambiguate overload resolution
Reviewed-by: dlsmith, jjg, jlahoda
2014-04-21 22:51:49 +01:00
Alexandre Iline
e613bf3290 8039816: Some tests depend on internal API sun.security.action.GetPropertyAction
Replace sun.security.action.GetPropertyAction usages with lambda expressions creating java.security.PrivilegedAction.

Reviewed-by: alanb, mchung, chegar
2014-04-21 13:16:32 -07:00
Alexandre Iline
092e29980a 8039438: Some tests depend on internal API sun.misc.IOUtils
Remove dependency on sun.misc.IOUtils.readFully(InputStream, int, boolean)

Reviewed-by: alanb, mchung, chegar
2014-04-21 13:12:22 -07:00
Naoto Sato
1d8cb90952 8036936: Use local locales
Made sure cache key is cleare on GC invocation

Reviewed-by: okutsu
2014-04-21 11:08:30 -07:00
Lois Foltan
c86ce11d6c 8033584: Remove java/lang/reflect/Method/invoke/TestPrivateInterfaceMethodReflect.java from exclude list
Remove java/lang/reflect/Method/invoke/TestPrivateInterfaceMethodReflect.java from ProblemList.txt, issue fixed in JDK 8.

Reviewed-by: gtriantafill, hseigel, mchung
2014-04-21 13:51:08 -04:00
Sergey Malenkov
1d1194721b 8040656: Classes with overriden methods with covariant returns return random read methods
Reviewed-by: alexsch, serb
2014-04-21 20:59:59 +04:00
Alexey Ivanov
c6886100be 8024061: Exception thrown when drag and drop between two components is executed quickly
Reviewed-by: pchelko, serb
2014-04-21 16:32:41 +04:00
Dmitriy Ermashov
704f4dc113 8039279: Move awt tests to openjdk repository
Reviewed-by: pchelko, alexsch
2014-04-21 14:35:14 +04:00
Petr Pchelko
a2651f668e 8037477: Reproducible hang of JAWS and webstart application with JAB 2.0.4
Reviewed-by: anthony, serb
2014-04-21 11:00:46 +04:00
Weijun Wang
b49a1407bc 8038837: Add support to jarsigner for specifying timestamp hash algorithm
Reviewed-by: vinnie
2014-04-21 10:26:03 +08:00
Weijun Wang
59b6040f1b 8039358: com.sun.jarsigner.ContentSignerParameters.getTSAPolicyID() should be a default method
Reviewed-by: vinnie
2014-04-21 10:25:40 +08:00
Jonathan Gibbons
04e1109b69 8041150: Avoid silly use of static methods in JavadocTester
Reviewed-by: ksrini
2014-04-18 17:25:43 -07:00
Jonathan Gibbons
a2d155dfa9 8040908: javadoc test TestDocEncoding should use -notimestamp
Reviewed-by: ksrini
2014-04-18 17:23:36 -07:00
Matherey Nunez
af27b4200d 8040655: When processing a RewriteException debug object, the return value has already been reset to null. We need to catch this value before that
Reviewed-by: attila, lagergren
2014-04-18 21:24:34 +02:00
Bharadwaj Yadavalli
24be3e5628 Merge 2014-04-18 14:30:58 -04:00
Marcus Lagergren
187399b1fd 8040102: Remove all references to Unsafe and definition of anonymous clases from the code
As the catch combinator optimization is now part of java.lang.invoke we don't need to put our own in the boot class path in any configuration anymore. Furthermore, with the completion of the array performance subtask of optimistic typing, we can remove the experimental (commented out) Unsafe accessors in the ArrayData classes

Reviewed-by: attila, jlaskey
2014-04-18 20:12:21 +02:00
Daniel D. Daugherty
e403797d96 Merge 2014-04-18 10:55:41 -07:00
Alejandro Murillo
16d0213a96 Merge 2014-04-18 10:30:13 -07:00
Henry Jen
81ae76b8dd 8038644: Fix raw and unchecked warnings in sun.java2d.*
Reviewed-by: darcy, prr
2014-04-18 09:56:34 -07:00
Vicente Romero
a310cda727 8029002: javac should take multiple upper bounds into account in incorporation
Reviewed-by: dlsmith, jjg
2014-04-18 17:50:30 +01:00
Sergey Bylokhov
0a31e5f246 8026252: [macosx] Change AWT_DEBUG_BUG_REPORT_MESSAGE for macosx platform
Reviewed-by: azvegint, pchelko
2014-04-18 20:10:39 +04:00
Kumar Srinivasan
4c16861cc4 8038583: [javadoc] Refactor uses of arrays to Collections
Reviewed-by: jjg
2014-04-18 08:44:53 -07:00
Kumar Srinivasan
296a39b117 8039410: [javadoc] fix class-use items to be deterministic and index ordering
Reviewed-by: jjg
2014-04-18 08:35:59 -07:00
Vicente Romero
0996901f29 8029102: Enhance compiler warnings for Lambda
Reviewed-by: briangoetz, jjg, jlahoda, ahgross
2014-04-28 14:48:51 +01:00
Paul Govereau
218ce31908 8039026: Definitely unassigned field can be accessed
Reviewed-by: vromero, jlahoda
2014-04-25 22:00:58 +01:00
Jonathan Gibbons
6c24c7e153 8040904: Ensure javadoc tests do not overwrite results within tests
Reviewed-by: ksrini
2014-04-25 13:08:41 -07:00
Harold Seigel
cfa7d828d9 8040018: Remove bad assert in ClassFileParser.cpp
Remove assert that prevent throwing valid exception

Reviewed-by: coleenp, lfoltan
2014-04-18 08:51:34 -04:00
Roland Westrelin
0acbad17c8 8039975: SIGSEGV in MethodData::next_data(ProfileData*)
Profiling code in interpreter broken when argument profiling is off.

Reviewed-by: iveresov, kvn
2014-04-18 14:25:21 +02:00
Jan Lahoda
e505238d2a 8038788: javac behaves incorrectly for annotations after method type parameters in some cases
Reviewed-by: jjg, emc
2014-04-18 11:53:34 +02:00
Petr Pchelko
d9bd02ffc2 8035169: Move ThreadGroupUtils from the sun.misc package
Reviewed-by: anthony, serb, azvegint
2014-04-18 10:47:23 +04:00
Lana Steuck
3a9ceb6417 Merge 2014-04-17 15:24:19 -07:00
Lana Steuck
89ca07888a Merge 2014-04-17 15:23:41 -07:00
Lana Steuck
f33dec2ebb Merge 2014-04-17 15:23:23 -07:00
Lana Steuck
037f13c39a Merge 2014-04-17 15:22:41 -07:00
Lana Steuck
c84c9292f6 Merge 2014-04-17 15:22:07 -07:00
Lana Steuck
73a6906b17 Merge 2014-04-17 15:20:35 -07:00
Lana Steuck
1def1db97d Merge 2014-04-17 15:19:56 -07:00