Commit Graph

688 Commits

Author SHA1 Message Date
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