Commit Graph

746 Commits

Author SHA1 Message Date
Dmitry Chuyko
d24ef2f18f 8191129: AARCH64: Invalid value passed to critical JNI function
Reviewed-by: vlivanov
2017-12-01 18:20:00 +03:00
Jini George
4969284dc6 8191538: SA: tests for clhsdb commands: vmstructsdump, field, symboltable and symbol
Create tests for the clhsdb commands: vmstructsdump, field, symboltable and symbol

Reviewed-by: sspitsyn, sballal
2017-12-01 18:19:39 +05:30
Stefan Johansson
ea04c5cfb3 8191821: Finer granularity for GC verification
Reviewed-by: tschatzl, poonam, sangheki
2017-12-01 08:56:22 +01:00
Jini George
9a3de631aa 8191914: New SA test timeout on windows
Avoid test hangs in a few SA tests by ensuring that OutputAnalyzer gets created before waitFor() gets called

Reviewed-by: dholmes, sballal
2017-12-01 11:40:39 +05:30
Mikhailo Seledtsov
686dc5c977 8192866: [TESTBUG] Move UseAppCDS.java from the closed ProblemList.txt to the open one
Moved UseAppCDS.java to the open problem list

Reviewed-by: dholmes, ccheung
2017-11-30 21:28:12 -08:00
Mikhailo Seledtsov
52ecf42bdc 8191943: [TESTBUG] docker/TestCPUAwareness fails on machine with 2 CPUs
Updated test cases to account for available processors

Reviewed-by: bobv, dholmes
2017-11-30 20:45:03 -08:00
Chris Plummer
e473a43bb8 8192840: serviceability/dcmd/jvmti/AttachFailed/AttachNoEntry.java failing on Windows
Make error message searching logic more general so it works on Windows

Reviewed-by: dcubed, sspitsyn, dholmes
2017-11-30 16:28:47 -08:00
Dean Long
15ea766de2 8191437: AOT doesn't work easily after thread local handshakes
Reviewed-by: kvn, rehn, aph
2017-11-30 10:40:48 -08:00
Calvin Cheung
40f06dc0e3 8174101: Bootclasspath append should not invalidate CDS archive
Reviewed-by: iklam, jiangli
2017-11-30 14:25:33 -08:00
Roman Kennke
3f3f0cb67e 8191564: Refactor GC related servicability code into GC specific subclasses
Reviewed-by: ehelin, eosterlund
2017-11-30 13:40:07 +01:00
Robbin Ehn
3ef7804e6d 8192072: 8191782 fix for VMDeprecatedOptions.java missed DeferThrSuspendLoopCount and duplicated DeferPollingPageLoopCount
Pushed under trivial rules.

Reviewed-by: coleenp
2017-11-30 16:08:13 +01:00
Sharath Ballal
0ac9a94c4d 8191658: SA: Testcases for attach, detach, reattach and Jhisto commands
Reviewed-by: sspitsyn, jgeorge
2017-11-30 19:46:20 +05:30
Stefan Johansson
937799a84c 8192807: testlibrary_tests/TestMutuallyExclusivePlatformPredicates.java fail due to new method in Platform.java
Reviewed-by: tschatzl, jwilhelm
2017-11-30 15:05:03 +01:00
Sharath Ballal
f684b1a856 8184982: SA: Running ClassDump on a simple java program generates NullPointerException
Reviewed-by: sundar, jgeorge
2017-11-30 14:58:41 +05:30
Stefan Karlsson
58dd5210ec 8192061: Clean up allocation.inline.hpp includes
Reviewed-by: eosterlund, coleenp
2017-11-28 21:43:45 +01:00
Ioi Lam
177b24b7d7 8191747: [TESTBUG] runtime/appcds/DumpClassList.java and ProhibitedPackage.java fail on product bits
Reviewed-by: simonis
2017-11-29 18:43:35 -08:00
Volker Simonis
7617012f55 8191927: Enable AppCDS for custom loaders on all 64-bit Linux and AIX
Added "@requires vm.cds.custom.loaders" to mark tests related to custom loaders

Reviewed-by: simonis, mseledtsov
2017-11-28 09:47:04 -08:00
Kishor Kharbas
66c00b4184 8190980: Develop test cases and collect test pass rate
Develop tests covering all the test cases described in the test plan and achieve 100% pass rate for JEP 316: Heap Allocation on Alternative Memory Devices

Reviewed-by: sangheki, tschatzl
2017-11-29 16:45:31 -08:00
Kishor Kharbas
3fc999a1fe 8190308: Implementation: JEP 316: Heap Allocation on Alternative Memory Devices
Sub-task to be used for implementation of JEP 316: Support heap allocation on alternative memory devices

Reviewed-by: sangheki, tschatzl
2017-11-29 17:03:10 -08:00
Yasumasa Suenaga
b25c9ddbae 8165736: Error message should be shown when JVMTI agent cannot be attached
Reviewed-by: sspitsyn, dholmes
2017-11-29 09:26:58 +09:00
Roland Westrelin
386e258e20 8186027: C2: loop strip mining
Reviewed-by: kvn, neliasso
2017-11-28 11:59:16 +01:00
Harsha Wardhana B
46f665881f 5016517: Replace plaintext passwords by hashed passwords for out-of-the-box JMX Agent
Reviewed-by: rriggs, dfuchs, mchung
2017-11-28 21:04:42 +05:30
Jini George
2f50ac4820 8191961: SA: Remove left over quarantined SA tests due to 8184042 from ProblemList.txt
Unquarantine SA tests quarantined due to OSX failures from 8184042

Reviewed-by: sspitsyn, sballal
2017-11-28 14:16:24 +05:30
Jiangli Zhou
61e736cbae 8188791: Move AppCDS from closed repo to open repo
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Reviewed-by: dsamersoff, simonis, minqi
2017-11-27 20:21:34 -08:00
Jiangli Zhou
570a828dfc 8191504: [TESTBUG] CDSTestUtils.isUnableToMap() should check OptionalData region mapping failure
Check all regions for mapping failure in CDSTestUtils.isUnableToMap().

Reviewed-by: iklam, ccheung, mseledtsov
2017-11-27 20:35:56 -05:00
Paul Sandoz
2c9ed8e178 8188870: Bump classfile version number to 54
Reviewed-by: alanb, dholmes, coleenp, mcimadamore
2017-11-03 10:01:08 -07:00
Alan Bateman
7e9984c112 8182742: ClassLoader.getResourceXXX throws NPE when ClassLoader created by defineModulesWithXXX
Reviewed-by: redestad, mchung
2017-12-06 08:36:09 +00:00
Abdul Kolarkunnu
993e8f206c 8192958: TEST.groups, group jdk_util_other:file not found: jdk/internal/uti
Removed the package jdk/internal/util from the group jdk_util_other

Reviewed-by: mchung, dholmes
2017-12-06 12:05:46 +05:30
Nishit Jain
fa64310889 8187551: MessageFormat.setFormat(int, Format) AIOOBE not thrown when documented
Reviewed-by: naoto, rriggs
2017-12-06 11:21:04 +05:30
Athijegannathan Sundararajan
448f3c1fcd 8185130: jlink should throw error if target image and current JDK versions don't match
Reviewed-by: redestad, alanb, mchung
2017-12-06 08:04:35 +05:30
Brent Christian
1a819fcd7a 8187222: ClassLoader.getSystemClassLoader not clear if recursive initialization leads to ISE or unspecified error
Reviewed-by: alanb, mchung
2017-12-05 09:44:32 -08:00
Claes Redestad
7759531e5c 8176188: jdk/internal/misc/JavaLangAccess/NewUnsafeString.java failing since 9-b93
Reviewed-by: psandoz, sherman
2017-12-05 14:25:16 +01:00
Goetz Lindenmaier
9da6eea9fe 8191678: [TESTBUG] Add keyword headful in java/awt and javax tests
Also fix some NPE thrown if run headless.

Reviewed-by: serb
2017-11-21 17:39:04 +01:00
Weijun Wang
c4bab8bce7 8190674: sun/security/tools/jarsigner/TimestampCheck.java failed with java.nio.file.NoSuchFileException: ts2.cert
Reviewed-by: mullan
2017-12-05 17:19:48 +08:00
Stuart Marks
f4db9575d1 8177290: add copy factory methods for unmodifiable List, Set, Map
8184690: add Collectors for collecting into unmodifiable List, Set, and Map

Reviewed-by: alanb, briangoetz, dholmes, jrose, rriggs, scolebourne
2017-12-04 11:50:04 -08:00
Maurizio Cimadamore
686d74f11e 8189749: Devise strategy for making source level checks more uniform
Create a 'feature' enum which is responsible for handling source version checks and related diagnostic generation

Reviewed-by: jjg, jlahoda
2017-12-04 17:54:49 +00:00
Vyom Tewari
d55fdd6c56 8190843: can not set/get extendedOptions to ServerSocket
Reviewed-by: chegar, rriggs
2017-12-04 13:24:00 +05:30
Doug Lea
8a51910f8e 8191069: Miscellaneous changes imported from jsr166 CVS 2017-12
Reviewed-by: martin, psandoz
2017-12-02 10:13:18 -08:00
Doug Lea
850b92fa04 8187947: A race condition in SubmissionPublisher
Reviewed-by: martin, psandoz
2017-12-02 10:08:55 -08:00
Doug Lea
eac77274e8 8191937: Lost interrupt in AbstractQueuedSynchronizer when tryAcquire methods throw
Reviewed-by: martin, psandoz
2017-12-02 10:03:41 -08:00
Xueming Shen
fad5094503 8191918: tomcat gzip-compressed response bodies appear to be broken in update 151
Reviewed-by: psandoz
2017-12-01 22:04:03 -08:00
Paul Sandoz
3e26f1114d 8186961: Class.getFields() does not return fields of previously visited super interfaces/classes
Reviewed-by: mchung, redestad
2017-12-01 17:06:09 -08:00
Jonathan Gibbons
da3e01d1ce 8034252: Fix non ASCII text file T6302184.java
Reviewed-by: ksrini
2017-12-01 16:58:11 -08:00
Roger Riggs
2321c5b86c 8189331: java/io/Serializable/maskSyntheticModifier/MaskSyntheticModifierTest.java failed incorrect serialVersionUID
Reviewed-by: lancea
2017-11-30 16:38:31 -05:00
Aleksei Efimov
73d033cf9f 8186441: Change of behavior in the getMessage () method of the SOAPMessageContextImpl class
Reviewed-by: lancea
2017-11-30 18:07:41 +00:00
Kumar Srinivasan
47d1a91754 8185985: Html files in doc-files directories should be wrapped with standard header and footer
Reviewed-by: jjg
2017-11-30 06:14:25 -08:00
Kumar Srinivasan
e3c574e026 8190552: Augment the Compiler API tree with APIs to represent HTML content
Reviewed-by: jjg, jlahoda
2017-11-30 04:43:09 -08:00
Sean Mullan
4da03ba907 8186535: Remove deprecated pre-1.2 SecurityManager methods and fields
Reviewed-by: alanb, coleenp, hseigel, mchung
2017-11-30 07:54:28 -05:00
Calvin Cheung
6feaa2cb69 8191653: Test failures in BootAppendTests - missing jdk.internal.vm.compiler module
Backout the fix for 8190975

Reviewed-by: iklam, kvn
2017-11-22 16:08:39 -08:00
Rahul Raghavan
2c74ca8c08 8191313: compiler/runtime/SpreadNullArg.java fails in tier1
Corrected SpreadNullArg.java test to expect NullPointerException after 8157246 fix

Reviewed-by: dcubed, mchung
2017-11-26 09:05:13 -08:00
Jesper Wilhelmsson
bc00f6b9b6 Merge 2017-11-25 04:36:43 +01:00
Kumar Srinivasan
581c28572a 8182108: javadoc makes up type variables for grandparent types
Reviewed-by: jjg
2017-11-29 15:27:47 -08:00
Xueming Shen
97cddabb17 8189611: JarFile versioned stream and real name support
Reviewed-by: psandoz, alanb, mchung, martin
2017-11-29 15:01:16 -08:00
Paul Sandoz
012e103e91 8187237: Need to define the behaviour for 0 and 1 argument method type in StringConcatFactory.makeConcat
8186737: Lookup argument for StringConcatFactory.makeConcat & makeConcatWithConstants cannot have privileges less than PRIVATE

Reviewed-by: mchung
2017-11-29 12:39:59 -08:00
Phil Race
625c3fd013 Merge 2017-11-29 09:47:02 -08:00
Maurizio Cimadamore
3534ed0379 8191802: Upward projection result is A<? extends Number> instead of A<? super Integer>
Code in Types.TypeProjection doesn't match the latest spec text

Reviewed-by: vromero
2017-11-29 17:31:23 +00:00
Xueming Shen
bc5a87988c 8186087: jar tool fails to create a multi-release jar when validating nested classes
Reviewed-by: psandoz
2017-11-29 09:25:25 -08:00
Phil Race
586b13cdb6 Merge 2017-11-29 09:07:01 -08:00
Jan Lahoda
7cdac47d37 8191981: javac crash when detecting lambda candidates
Ensuring proper positions on the testing AST nodes created by Analyzer.

Reviewed-by: mcimadamore
2017-11-29 14:41:09 +01:00
John Jiang
f8aaf97179 8186057: TLS interoperability testing between different Java versions
An interop test for checking the compatibility among different Java versions.

Reviewed-by: asmotrak
2017-11-28 22:19:34 -08:00
Bhavesh Patel
6912165887 8185369: Clean up the javadoc stylesheet
Reviewed-by: jjg
2017-11-28 20:19:29 -08:00
Maurizio Cimadamore
93438246bc 8178427: NPE in Infer$CheckUpperBounds
Void target-type causes a crash during overload resolution

Reviewed-by: vromero
2017-11-28 18:51:55 +00:00
Hannes Wallnöfer
6e56bec454 8059835: Optimistic splitting doesn't work with let and const
Reviewed-by: jlaskey, attila
2017-11-28 15:36:36 +01:00
Manajit Halder
5b80b8d7d1 8158366: [macosx] Regression: closed/java/awt/dnd/RecognizedActionTest/RecognizedActionTest.html fails
Reviewed-by: serb, pkbalakr, aghaisas
2017-11-28 17:30:43 +05:30
Pankaj Bansal
360ce25e95 8190861: [TESTBUG] javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentSwing.java is wrong
Reviewed-by: serb, psadhukhan
2017-11-28 16:27:23 +05:30
Phil Race
dcaa7f90ba Merge 2017-11-27 10:35:05 -08:00
Jan Lahoda
9bb2c5a0b3 8133616: compiler error messages for dup single type, single static import switched
When reporting clashing imports, use the (non-)staticness of the original import to generate the error message.

Reviewed-by: mcimadamore
2017-11-27 19:29:00 +01:00
Mandy Chung
8cc39f4a10 Merge 2017-11-27 19:20:17 -08:00
Joe Darcy
14a3a70439 8191234: TypeKindVisitor needs to handle modules
Reviewed-by: jjg
2017-11-27 18:00:56 -08:00
Mandy Chung
26727aebf4 8190911: tools/jdeps/MultiReleaseJar.java failed with java.lang.IllegalThreadStateException
Reviewed-by: bpb
2017-11-27 14:41:59 -08:00
Vicente Romero
030e675ed3 8185451: Misleading 'cannot be accessed from outside package' diagnostic for inconsistent varargs override
Reviewed-by: mcimadamore
2017-11-27 13:26:31 -05:00
Magnus Ihse Bursie
53b0b93b3a 8189099: JTReg now supports 256 jobs
Reviewed-by: martin, erikj
2017-11-27 19:13:20 +01:00
Vicente Romero
18f70cfdd2 8185983: Javac should reject TypeArguments on field access expression
Reviewed-by: mcimadamore
2017-11-27 10:40:42 -05:00
Athijegannathan Sundararajan
589129ece4 8135178: importPackage not working even with load "Mozilla compatibility script"
Reviewed-by: hannesw
2017-11-27 17:04:33 +05:30
Robert Field
c942c5de6b 8190939: JShell: gives a compiler error evaluating an expression of inaccessible type
Reviewed-by: jlahoda
2017-11-24 16:55:18 -08:00
Maurizio Cimadamore
e196ae9be6 8191834: Assigning a void expression to a "var" crashes the compiler
Local variable type inference should give error on void initializers

Reviewed-by: sundar
2017-11-24 16:14:33 +00:00
Sreeprakash Sreedharan
43c38bdc16 8176072: READING attributes are not available on TSF
Reviewed-by: ssadetsky
2017-11-24 13:18:36 +05:30
Sergey Bylokhov
9db3cf346c 8191384: WaveFloatFileReader never closes the data stream
Reviewed-by: amenkov
2017-11-23 23:05:52 -08:00
Jan Lahoda
fea6c39ce2 8178109: More useful documentation on /help
For /help <command/subject>, show the help for the command/subject directly.

Reviewed-by: rfield
2017-11-23 19:44:13 +01:00
Hannes Wallnöfer
0a304e24b0 8191819: String.prototype.match should follow ES6 specification
Reviewed-by: sundar
2017-11-23 16:20:10 +01:00
Nishit Jain
abef0ce5b3 8191404: Upgrading JDK with latest available LSR data from IANA
Reviewed-by: naoto
2017-11-23 13:21:50 +05:30
Jayathirth D V
721c453bfd 8191431: Reading multiple PNG images with unique IDAT chunk positions will cause IIOException
Reviewed-by: psadhukhan, pnarayanan
2017-11-23 10:44:29 +05:30
Semyon Sadetsky
48508135fe 8189204: Possible NPE in Component::getLocationOnScreen()
Reviewed-by: serb, prr
2017-11-22 13:52:48 -08:00
Prasanta Sadhukhan
e27e8b9e39 8191428: Regression: Swing button label wrapping with hidpi
Reviewed-by: serb, ssadetsky
2017-11-22 15:48:15 +05:30
Alexandre Iline
30b907936b 8191736: replace javah w/ javac in jdk tests
Reviewed-by: serb, jjg
2017-11-22 02:07:08 -08:00
Jesper Wilhelmsson
83719bc13b Merge 2017-11-22 16:12:05 +01:00
Srikanth Adayapalam
14e7d88c9e 8191655: LambdaConversionException: Invalid receiver type interface; not a subtype of implementation type interface
Reviewed-by: mcimadamore
2017-11-22 18:07:53 +05:30
Pankaj Bansal
8a81d5f700 8190348: [TESTBUG] Test javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentCanvas.java fails
Reviewed-by: serb, psadhukhan
2017-11-22 12:05:06 +05:30
Pankaj Bansal
cc0cb9660d 8159142: [hidpi] Visible artifacts in sun/java2d/SunGraphics2D/DrawImageBilinear.java
Reviewed-by: serb, prr, pnarayanan
2017-11-22 11:52:59 +05:30
Erik Joelsson
f944ef6ebc 8191744: Remove typo in makefile
Reviewed-by: tbell
2017-11-21 16:54:46 -08:00
Calvin Cheung
4b08777a6a 8191739: [TESTBUG] test/hotspot/jtreg/runtime/LoadClass/TestResize.java fails to compile after JDK-8191580
Added missing import statement

Reviewed-by: dcubed, dholmes
2017-11-21 15:45:33 -08:00
Chris Yin
44f7f54e90 8191631: Problem list jdk/jshell/StartOptionTest.java, jdk/jshell/ToolProviderTest.java and jdk/jshell/ExternalEditorTest.java temporarily
Reviewed-by: rfield
2017-11-21 23:38:53 +00:00
Chris Yin
7dde2662c4 8191631: Problem list jdk/jshell/StartOptionTest.java, jdk/jshell/ToolProviderTest.java and jdk/jshell/ExternalEditorTest.java temporarily
Reviewed-by: rfield
2017-11-21 13:39:25 -08:00
Kumar Srinivasan
2af00f5da9 8180019: javadoc should treat failure to access URL as an error, not a warning
Reviewed-by: jjg
2017-11-21 13:17:06 -08:00
Jonathan Gibbons
7fe35f784b Merge 2017-11-21 13:07:26 -08:00
Jonathan Gibbons
3b8e460a1a 8156694: javap should render annotations in a friendly way
Reviewed-by: mcimadamore
2017-11-21 13:06:43 -08:00
Rob McKenna
e8ff1270bc 8189646: sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java failed with "java.net.SocketTimeoutException: Read timed out"
Reviewed-by: coffeys
2017-11-21 21:01:23 +00:00
Calvin Cheung
e7ff0665e4 8188122: Path length limits on Windows leads to obscure class loading failures
Used the unicode version of windows API's to handled long paths and avoid using the stat() function.

Reviewed-by: stuefe, iklam
2017-11-21 09:49:52 -08:00
Dean Long
fb89c1729c 8190817: deopt special-case for _return_register_finalizer is confusing and leads to bugs
Reviewed-by: vlivanov, dpochepk
2017-11-21 09:04:42 -08:00
Gerard Ziemski
cdabc7a61c 8191580: open/test/hotspot/jtreg/runtime/LoadClass/TestResize fails on product build
Guarded the test with the tag requiring debug build

Reviewed-by: jiangli
2017-11-21 10:21:24 -06:00