Commit Graph

815 Commits

Author SHA1 Message Date
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
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
Jan Lahoda
905ead0ac3 8191112: javac OutOfMemoryError caused by \"-Xlint:exports\" option
When validating type visibility, ignore transitive automatic modules dependencies.

Reviewed-by: abuckley, jjg
2017-11-21 10:26:45 +01:00
Srikanth Adayapalam
dfaa92ca05 8189659: Anonymous subtype of raw type causes VerifyError
Reviewed-by: mcimadamore
2017-11-21 13:27:12 +05:30
Erik Helin
26aa579a78 8182284: G1Analytics uses uninitialized fields
Reviewed-by: tschatzl, sjohanss
2017-11-21 08:33:54 +01:00
Sharath Ballal
f0d620789d 8191401: [TESTBUG] serviceability/sa/ClhsdbFlags.java can fail due to UseJVMCICompiler
Reviewed-by: dholmes, jgeorge
2017-11-21 11:27:46 +05:30
Sharath Ballal
7367af0bf3 8191401: [TESTBUG] serviceability/sa/ClhsdbFlags.java can fail due to UseJVMCICompiler
Reviewed-by: dholmes, jgeorge
2017-11-21 11:27:46 +05:30
Priya Lakshmi Muthuswamy
acc6539ad3 8034258: Don't use binary testing class files
Reviewed-by: jjg, ksrini
2017-11-20 20:49:56 -08:00
Kumar Srinivasan
53ee22647f 8187588: Error generating using JDK 9 javadoc against a JDK 8 source repository
Reviewed-by: jjg
2017-11-20 16:50:22 -08:00
Alexandre Iline
d29688b6df 8191616: [TEST_BUG] : sanity/client/SwingSet/src/SliderDemoTest.java: Failed with TimeoutExpiredException: Wait "Wait till Slider attains the specified state."
Reviewed-by: serb
2017-11-20 15:05:10 -08:00
Sergey Bylokhov
beb9278561 5031664: Increase thread safety of EventListenerList
Reviewed-by: azvegint
2017-11-20 14:49:23 -08:00
Vicente Romero
eeb940463b 8175883: bytecode generated for the enhanced for loop may block memory garbage collecting
Reviewed-by: mcimadamore
2017-11-20 17:07:21 -05:00
Ekaterina Pavlova
d7f5a6e86e 8190975: [Graal] Tests which run with "--limit-modules java.base" could fail when Graal is used as JIT
Reviewed-by: dholmes, alanb
2017-11-20 14:02:10 -08:00
Vicente Romero
cffac90ef9 8190906: tools/javac/failover/CheckAttributedTree.java failed with timeout
Reviewed-by: jjg, mcimadamore
2017-11-20 14:45:11 -05:00
Krishna Addepalli
35a68b5ca0 8178430: JMenu in GridBagLayout flickers when label text shows "..." and is updated
Reviewed-by: serb, ssadetsky
2017-11-20 16:02:05 +05:30
Dean Long
49ce1519d9 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
Nils Eliasson
fc7955d5fc 8160548: Inconsistent inlining behavior with CompileOnly
Can_be_compiled should not affect inlining

Reviewed-by: thartmann
2017-11-20 09:50:27 +01:00
Jayathirth D V
a3ceaef3e4 8190332: PngReader throws NegativeArraySizeException/OOM error when IHDR width is very large
Reviewed-by: prr, pnarayanan
2017-11-20 11:02:54 +05:30
Jonathan Gibbons
1e9c354dca 8191464: jdk/javadoc/doclet/testModules/TestModules.java 2 of 333 subtests failed
Reviewed-by: bpatel
2017-11-17 18:37:37 -08:00
Alexandre Iline
cc49454031 8176838: Remove :compact1, :compact2. :compact3, :needs_jre test groups
Reviewed-by: alanb, dholmes
2017-11-17 07:34:59 -08:00
Mandy Chung
52693f1ca5 8157246: MHs.arrayLength, arrayElementGetter/Setter, arrayConstructor need to specify invocation-time behavior
Reviewed-by: psandoz, rriggs
2017-11-17 08:12:02 -06:00
Athijegannathan Sundararajan
6a826075c2 8191468: jdk.scripting.nashorn.shell (jjs) module should use optional dependency for java.compiler module
Reviewed-by: hannesw, jlaskey
2017-11-17 18:43:27 +05:30
Michael Dardis
3160d8e270 8190987: Package.getImplementationVersion returns null even if implementation version is non-null
Reviewed-by: mchung, rriggs
2017-11-16 22:51:15 -06:00
Jonathan Gibbons
5963e3d359 8190819: Merge HtmlWriter into HtmlDocument
Reviewed-by: bpatel, ksrini
2017-11-16 15:12:13 -08:00
Jonathan Gibbons
7a89adf1a8 8190818: Introduce a new Script builder class
Reviewed-by: bpatel, ksrini
2017-11-16 15:06:17 -08:00
Jonathan Gibbons
fbd053bd26 8190295: Introduce a new Table builder class
Reviewed-by: bpatel, ksrini
2017-11-16 15:01:45 -08:00
Phil Race
d39af471c9 Merge 2017-11-16 11:20:56 -08:00
Phil Race
fca05b5e6e Merge 2017-11-16 10:45:42 -08:00
Jesper Wilhelmsson
cf0ea69014 Merge 2017-11-17 02:50:51 +01:00
Ujwal Vangapally
d207240545 8024352: MBeanOperationInfo accepts any int value as "impact"
MBeanOperationInfo throw an llegalArgumentException if the impact argument is not among the defined values

Reviewed-by: rriggs, dfuchs, mchung
2017-11-17 11:08:44 +05:30
Mikhailo Seledtsov
eadfc06bd0 8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration
Created tests for the feature

Reviewed-by: bobv, iignatyev
2017-11-16 19:01:01 -08:00
Bob Vandette
b1569d5b55 Merge 2017-11-16 18:06:14 -05:00
Chris Plummer
24694f63fe 8186540: [TESTBUG] serviceability/dcmd/jvmti/LoadAgentDcmdTest.java failed to clean up files in agentvm mode
Run the test in "othervm" mode

Reviewed-by: sspitsyn, dholmes
2017-11-16 14:47:31 -08:00
Bob Vandette
68c5f06bc1 Merge 2017-11-16 09:50:49 -05:00
Prasanta Sadhukhan
e6a8aea72b 8178025: HiDPI with non-integer scale factor - SPANs in HTML are rendered overlapping each other
Reviewed-by: serb, ssadetsky
2017-11-16 12:24:02 +05:30
Jesper Wilhelmsson
88d610826b Merge 2017-11-16 01:11:32 +01:00
Claes Redestad
433bf8ab65 8184777: Factor out species generation logic from BoundMethodHandle
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: vlivanov
2017-11-16 00:58:50 +01:00
Alexandre Iline
26a4a1a6b3 8157338: sanity/client/SwingSet/src/ButtonDemoScreenshotTest.java is unstable
Reviewed-by: serb
2017-11-15 09:31:17 -08:00
Bob Vandette
20a8de0f70 8146115: Improve docker container detection and resource configuration usage
Reviewed-by: dholmes, kbarrett, phh
2017-11-15 10:34:17 -05:00
Coleen Phillimore
2f84103a78 Merge 2017-11-15 08:25:28 -05:00
Coleen Phillimore
f93a6a5715 8179603: create a jtreg test group for hotspot tests excluding application testing
Reviewed-by: dholmes, sspitsyn
2017-11-15 08:14:56 -05:00
Coleen Phillimore
7e7935286b 8191315: Add serviceability/sa/TestRevPtrsForInvokeDynamic.java to ProblemList.txt
Reviewed-by: dholmes, sspitsyn
2017-11-15 08:14:31 -05:00
Robert Field
c0689879a7 8177076: jshell tool: allow non-zero /exit
8190383: JShell API: no way for the jshell tool to report exit status to provider

Reviewed-by: jlahoda
2017-11-14 19:33:37 -08:00
Phil Race
60c7c6052d Merge 2017-11-14 12:07:55 -08:00
Phil Race
f50b03376b 8186306: Remove pisces from Java2D sources + build
Reviewed-by: serb, neugens
2017-11-14 11:47:49 -08:00
Robert Field
846d6be95c 8172154: jshell tool: make all IMPORTS.jsh generated at build time
Reviewed-by: jlahoda
2017-11-14 10:45:22 -08:00
Felix Yang
60b42446d8 8191172: Problem list java/net/httpclient/websocket/ConnectionHandover.java
Reviewed-by: chegar
2017-11-14 03:58:40 -06:00
Hannes Wallnöfer
239fdbbca6 8185119: Uninitialized const when using multiple threads
Reviewed-by: jlaskey, sundar
2017-11-14 10:04:45 +01:00
Jayathirth D V
180e7d2bb0 8190512: PngReader incorrectly throws IllegalArgumentException for malformed images with negative dimensions
Reviewed-by: prr, bpb, pnarayanan
2017-11-14 12:38:39 +05:30
Prasanta Sadhukhan
0da4c70d2d 8187957: Tab Size does not work correctly in JTextArea
Reviewed-by: ssadetsky, serb
2017-11-14 10:32:31 +05:30
Athijegannathan Sundararajan
65735f0d7e 8177471: jlink should use the version from java.base.jmod to find modules
Reviewed-by: mchung, alanb
2017-11-14 08:59:19 +05:30
Jesper Wilhelmsson
ca3a45da9c Merge 2017-11-14 03:39:32 +01:00
Stefan Johansson
6929e0f05a 8186571: Implementation: JEP 307: Parallel Full GC for G1
Improve G1 worst-case latencies by making the full GC parallel.

Reviewed-by: tschatzl, sangheki, ehelin
2017-11-14 11:33:23 +01:00
Phil Race
8934efd172 Merge 2017-11-13 13:18:35 -08:00
Hannes Wallnöfer
768db55a4d 8191131: Nashorn test comparator breaks comparator contract
Reviewed-by: sundar, jlaskey
2017-11-13 18:14:33 +01:00
Priya Lakshmi Muthuswamy
c9944644fd 8190391: nashorn "!!" of nonzero even integer var becomes false when returned
Reviewed-by: sundar, hannesw
2017-11-13 15:54:20 +01:00
Vyom Tewari
2245db7522 8145635: Add TCP_QUICKACK socket option
Reviewed-by: chegar, rriggs, clanger
2017-11-13 14:03:36 +05:30
Jesper Wilhelmsson
fdee542113 Merge 2017-11-11 01:21:09 +01:00
Tobias Hartmann
b0c9129d6c 8190797: OSR compilation fails with "assert(__the_thread__->can_call_java()) failed: can not load classes with compiler thread"
Bail out with a meaningful error message in case we cannot throw a Java exception.

Reviewed-by: kvn, dholmes
2017-11-10 13:10:54 +01:00
Pankaj Bansal
f71993d642 8164811: [hidpi]Tests fail with OpenGL and GDI Rendering 8189257: Enabling Translucent Frame with setBackground disables HiDPI
Reviewed-by: serb, prr, pnarayanan
2017-11-10 12:37:02 +05:30
Doug Lea
5d5334f305 8189764: Miscellaneous changes imported from jsr166 CVS 2017-11
Reviewed-by: martin, psandoz, dholmes
2017-11-09 16:14:45 -08:00
Doug Lea
e2cbace23d 8189387: ConcurrentLinkedDeque linearizability continued ..
Reviewed-by: martin, psandoz, dholmes
2017-11-09 16:10:46 -08:00
Doug Lea
42ad4ec2dd 8179314: CountedCompleterTest.testForkHelpQuiesce fails with expected:<21> but was:<13>
Reviewed-by: martin, psandoz, dholmes
2017-11-09 16:07:21 -08:00
Doug Lea
f2eb80c063 8190747: ExecutorService/Invoke.java fails intermittently
Reviewed-by: martin, psandoz, dholmes
2017-11-09 16:03:37 -08:00
Brian Burkhalter
1ca74d0d2e 8191025: (ch) Scattering reads to a subsequence of buffers ignores length
Use length parameter instead of the buffer array length

Reviewed-by: rriggs, alanb
2017-11-09 13:30:03 -08:00
Daniel Fuchs
ccdb0ef8e2 8189953: FileHandler constructor throws NoSuchFileException with absolute path
Reviewed-by: mchung
2017-11-09 20:51:37 +00:00
Roland Westrelin
85d2a057a4 8186125: "DU iteration must converge quickly" assert in split if with unsafe accesses
Added missing checks for Opaque4Node in split-if code

Reviewed-by: kvn
2017-11-09 12:43:13 -08:00
Abdul Kolarkunnu
e1e58fe2de 8190530: Compilation error in jemmy code FrameOperator.java due to missing of import statement of JemmyException
Reviewed-by: ssadetsky, serb
2017-11-09 15:30:11 +05:30
Ramanand Patil
6c99853a4c 8190258: (tz) Support tzdata2017c
8190259: test tck.java.time.zone.TCKZoneRules is broken by tzdata2017c

Reviewed-by: naoto, martin
2017-11-09 14:38:54 +05:30
Phil Race
19a8373625 Merge 2017-11-08 12:27:40 -08:00
Paul Sandoz
cc59ccb7d4 8190974: Parallel stream execution within a custom ForkJoinPool should obey the parallelism
Reviewed-by: martin, tvaleev
2017-11-08 10:27:10 -08:00
Erik Joelsson
1644953c27 8190702: JMC packaging causing errors in JDK 10 consolidated repo (macOS)
Reviewed-by: tbell
2017-11-15 11:50:55 -08:00
Athijegannathan Sundararajan
d6cf9ab9cd 8068741: javax.script.ScriptEngineFactory.getMethodCallSyntax() spec allows null passed as an object
Reviewed-by: hannesw
2017-11-15 23:25:40 +05:30
Athijegannathan Sundararajan
f441abcff1 8191306: Math.abs corner case with optimistic typing
Reviewed-by: jlaskey, hannesw
2017-11-15 19:55:21 +05:30
Bhavesh Patel
616491477f 8185371: Support for multiple stylesheets in javadoc
Reviewed-by: jjg, ksrini
2017-11-14 13:44:07 -08:00
Roger Riggs
0e776aa080 8190884: java/lang/Runtime/exec/LotsOfOutput fails intermittently
Reviewed-by: lancea, mchung
2017-11-08 09:18:15 -05:00
Sergey Bylokhov
8fedbd9383 8019816: [TEST_BUG][macosx] closed/java/awt/BasicStroke/DashZeroWidth.java not on EDT
Reviewed-by: prr, azvegint
2017-11-07 14:36:52 -08:00
Martin Buchholz
ec403d47b4 8190814: javax/imageio/stream/NullStreamCheckTest writes to the repo
Reviewed-by: pnarayanan, jdv, prr
2017-11-07 10:35:58 -08:00
Martin Buchholz
6a099cc68b 8190816: PropertiesTest.sh fails to make $WRITABLEJDK writable
Reviewed-by: naoto, rgoel
2017-11-07 10:02:48 -08:00
Priya Lakshmi Muthuswamy
018138a79c 8186807: JSObject gets ScriptFunction when ScriptObjectMirror is expected
Reviewed-by: sundar, hannesw
2017-11-07 12:18:29 +01:00
Jini George
45cdd91ca3 8190307: SA tests for the clhsdb commands: universe, intconstant, type
SA Test cases for the clhsdb commands: universe, intconstant, type

Reviewed-by: dholmes, sballal
2017-11-16 11:58:20 +05:30
Sharath Ballal
776767764b 8190198: SA: Framework for writing 'jhsdb clhsdb' commands tests and testcases for some of the commands
Reviewed-by: jgeorge, dholmes
2017-11-16 09:26:48 +05:30
Coleen Phillimore
97afaf1423 8191370: Add serviceability agent tests to tier1
Reviewed-by: gtriantafill, dcubed
2017-11-15 16:48:24 -05:00
Mandy Chung
25032bad54 8164512: Replace ClassLoader use of finalizer with phantom reference to unload native library
Reviewed-by: alanb, bchristi, kbarrett, dholmes, plevart
2017-11-06 17:48:00 -08:00
Roger Riggs
46d230c9cc 8187281: Remove intermittent from OnExitTest
Reviewed-by: lancea
2017-11-06 17:35:40 -05:00
Michael McMahon
62d9659c87 8190793: Httpserver does not detect truncated request body
Reviewed-by: chegar, dfuchs
2017-11-06 16:32:00 +00:00
Jan Lahoda
7a77a63845 8180744: Update ct.sym for JDK 10
Adding historical data and code support for --release 9.

Reviewed-by: jjg, mcimadamore
2017-11-06 14:10:39 +01:00
Jan Lahoda
5f97b69390 8139607: -release option forces StandardJavaFileManager
Merging a --release specific file manager with the user-provided one, rather than altering the user-provided one.

Reviewed-by: jjg, mcimadamore
2017-11-06 13:10:43 +01: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
Jesper Wilhelmsson
b97f1bcb37 Merge 2017-10-30 21:23:10 +01:00
Phil Race
a850cbc5d5 Merge 2017-11-03 10:43:18 -07:00
Brian Burkhalter
95c6c8ce11 8190501: (fs) Incorrect error message parameter in java/nio/file/Files/probeContentType/Basic.java
Replace expectedTypes with expectedTypes[i] in the line in question.

Reviewed-by: alanb
2017-11-03 10:18:27 -07:00
Brian Burkhalter
87eb47a3c8 8190500: (ch) ReadableByteChannelImpl::read and WritableByteChannelImpl::write might not throw ClosedChannelException as specified
Explicitly verify that the channel is open

Reviewed-by: alanb
2017-11-03 10:18:27 -07:00
Lance Andersen
3803dc1401 8190439: Removal of newrmic
Reviewed-by: rriggs, alanb, mchung
2017-11-03 13:03:10 -04:00
Phil Race
158e69f6ec Merge 2017-11-03 09:56:02 -07:00
Athijegannathan Sundararajan
10c8d3a9f1 8190698: jjs tool of jdk.scripting.nashorn.shell module should not statically depend on java.desktop
Reviewed-by: jlaskey, hannesw
2017-11-03 19:53:09 +05:30
Kumar Srinivasan
105a51b96d 8190287: Update JDK's internal ASM to ASMv6
Reviewed-by: alanb, mchung, sundar
2017-11-02 13:18:23 -07:00
Joe Darcy
41f1222db0 8190573: Problem list InheritedChannelNotServerSocket.java
Reviewed-by: rriggs
2017-11-02 15:09:13 -07:00
Robert Field
022c618af9 8188072: JShell: NPE in SourceCodeAnalysis.completionSuggestions()
Reviewed-by: jlahoda
2017-11-02 11:09:28 -07:00
Semyon Sadetsky
c30a1e7cc4 8190230: [macosx] Order of overlapping of modal dialogs is wrong
Reviewed-by: azvegint, dmarkov
2017-11-02 11:03:45 -07:00
Phil Race
f900a5f39b 8190475: SwingSet2 won't start
Reviewed-by: serb
2017-11-01 10:43:44 -07:00
Phil Race
aa96056b21 Merge 2017-11-01 10:00:38 -07:00
Jan Lahoda
de261554f7 8190315: Test tools/javac/tree/NoPrivateTypesExported.java failing
Constant annotation attribute values should be allowed.

Reviewed-by: vromero
2017-11-01 16:45:28 +01:00
John Jiang
3d220f8d74 8190399: ProblemList tools/javac/tree/NoPrivateTypesExported.java due to JDK-8190315
Tools/javac/tree/NoPrivateTypesExported.java fails permanently due to JDK-8190315, so ProblemList has to include this test.

Reviewed-by: darcy
2017-11-01 10:49:21 +08:00
Roger Riggs
21f67cb9df 8190441: ProblemList some intermittent CORBA tests
Reviewed-by: lancea, darcy
2017-10-31 16:25:27 -04:00
Artem Smotrakov
82d4691976 8189800: Add support for AddressSanitizer
Reviewed-by: ihse, dholmes
2017-10-31 17:03:02 +03:00
Brent Christian
f32470d85f 8189319: Add a java.util.Properties constructor that takes an initial capacity
Reviewed-by: martin, mchung, rriggs
2017-10-30 16:16:01 -07:00
John Jiang
da423d1c92 8175252: Backout changeset for JDK-8176354 due to JDK-8190333
Backout changeset for JDK-8176354

Reviewed-by: asmotrak
2017-10-30 03:52:38 -07:00
Pankaj Bansal
fab3dea711 8159062: [hidpi] DnD on Windows while scaling is non-integer
Reviewed-by: serb, pkbalakr
2017-10-30 15:45:55 +05:30
Roland Westrelin
002aff0a75 8190375: Java Crash in JavaBug.formatPos(I)Ljava/lang/String
Skip the logic that set the value of the Phi iv if the exit condition is "not equal"

Reviewed-by: thartmann, mdoerr
2017-11-13 14:53:28 -05:00
Rachna Goel
3ae10b235d 8185841: Values from getFirstDayOfWeek() are inconsistent with CLDR
Reviewed-by: naoto
2017-10-30 12:16:37 +05:30
Roger Riggs
9768149887 8180310: TestSocketFactory null pointer when updating match bytes
Reviewed-by: dfuchs
2017-10-29 18:31:55 -04:00
Sergey Bylokhov
66812b5f48 8186617: The "com.sun.awt.AWTUtilities" class can be dropped in favour of public API
Reviewed-by: azvegint, prr
2017-10-27 14:15:02 -07:00
Phil Race
a569f5293b 8180501: RescaleOp.filter does not document IllegalArgumentException if sizes differ
Reviewed-by: bpb, pnarayanan
2017-10-27 11:29:50 -07:00
Amanda Jiang
6b3f6eb717 8176354: sun/security/ssl/X509KeyManager/PreferredKey.java failed with "Failed to get the preferable key aliases" erro
Reviewed-by: xuelei
2017-10-27 09:51:48 -07:00
Weijun Wang
69db146335 8180289: jarsigner treats timestamped signed jar invalid after the signer cert expires
Reviewed-by: mullan
2017-10-27 21:11:15 +08:00
Athijegannathan Sundararajan
f8b8a16f4b 8189777: jlink --module-path default value and automatic addition of $JAVA_HOME/jmods if java.base is missing
Reviewed-by: alanb, mchung
2017-10-27 08:21:53 +05:30
Mandy Chung
34c9d598c7 8187089: StringConcatFactory.makeConcat & makeConcatWithConstants should throw StringConcatException if parameter slot count is over 200
Reviewed-by: rriggs, shade
2017-10-26 16:57:35 -07:00
Maurizio Cimadamore
f48f3c6552 8189838: Stack overflow when computing upward projection of an intersection type with fbounds
Bad logic for detecting loop in type-variable upper bounds

Reviewed-by: vromero
2017-10-26 18:42:40 +01:00
Jonathan Gibbons
46e1e763c1 8190003: Special characters in group names should be escaped
Reviewed-by: ksrini, bpatel
2017-10-25 18:12:15 -07:00
Jonathan Gibbons
917c6d460b 8190182: remove accidental file
Reviewed-by: ksrini
2017-10-25 17:48:30 -07:00
Jonathan Gibbons
19db6ba670 8189843: Missing \"id\" attributes in table rows
Reviewed-by: bpatel, ksrini
2017-10-25 17:18:00 -07:00
Jonathan Gibbons
cf81232570 8189841: Error in alternate row coloring in package-summary files
Reviewed-by: bpatel, ksrini
2017-10-25 17:16:18 -07:00
Brian Burkhalter
16b93f1b06 8189775: java/nio/channels/FileChannel/directio/ReadDirect.java failed with NumberFormatException
Clamp the offset so the scattering read remains within the channel.

Reviewed-by: rriggs
2017-10-25 16:13:53 -07:00
Phil Race
62fa58101a Merge 2017-10-25 12:41:24 -07:00
Bhavesh Patel
5c2a4b6e1a 8183037: Overview summary page should have a table with tabs for groups
Reviewed-by: jjg, ksrini
2017-10-25 12:29:00 -07:00
Pankaj Bansal
3ed8badb5a 6463710: ListSelectionModel.setSelectionMode() underspecified
Reviewed-by: serb, ssadetsky
2017-10-25 16:34:11 +05:30
David Holmes
2aecf1b321 8190881: [TESTBUG] test.runtime.ErrorHandling.TestOnError comment is incomplete
Reviewed-by: iignatyev
2017-11-09 00:52:15 -05:00
Mikhailo Seledtsov
229c048a08 8189213: [TESTBUG] Running jtreg tests on machine without docker shows extra message
Removed the message from VMProps.java

Reviewed-by: dholmes
2017-11-08 20:15:56 -08:00
Igor Ignatyev
8c073d124b 8190890: remove hotspot_tier1_{compiler,gc}_closed groups
Reviewed-by: ehelin, lmesnik
2017-11-08 11:44:37 -08:00
Robert Field
7ce7347fd2 8179856: jshell tool: not suitable for pipeline use
8186708: jshell tool: bad load file garbles message and does not abort

Reviewed-by: jlahoda
2017-10-24 20:33:36 -07:00
Semyon Sadetsky
00fcd16ee7 8188081: Text selection does not clear after focus is lost
Reviewed-by: serb, psadhukhan
2017-10-24 08:37:11 -07:00
Ujwal Vangapally
6eeb777697 8044122: MBean access to the PID
Added new API getPid for getting process ID

Reviewed-by: mchung, rriggs
2017-11-07 22:05:44 -08:00
Jiangli Zhou
c2d94a0073 8189840: CheckCachedResolvedReferencesApp has no cached resolved references
Add WhiteBox.areOpenArchiveHeapObjectsMapped() for CheckCachedResolvedReferencesApp to check and skip test when open archive heap objects are not mapped.

Reviewed-by: iklam, ccheung
2017-11-07 18:48:17 -05:00