Commit Graph

976 Commits

Author SHA1 Message Date
Jonathan Gibbons
dfbf4c7a61 8193525: Intermittent failures of TestModulePackages.java
Reviewed-by: darcy
2017-12-14 13:16:33 -08:00
Jonathan Gibbons
1a5f4b8fa2 8193525: Intermittent failures of TestModulePackages.java
Reviewed-by: darcy
2017-12-14 13:16:33 -08:00
Alan Bateman
8374bf4e3c Merge 2017-12-14 12:51:53 +00:00
Attila Szegedi
185172f2ef 8193296: Parser should not eagerly transform delete expressions
Reviewed-by: hannesw, sundar
2017-12-14 13:42:59 +01:00
Alan Bateman
b05129a6e2 8193503: javah launcher was not removed by JDK-8191054
Reviewed-by: erikj, darcy
2017-12-14 12:36:37 +00:00
Weijun Wang
b01627c0e4 8192988: keytool should support -storepasswd for pkcs12 keystores
Reviewed-by: mullan
2017-12-14 20:19:34 +08:00
Stuart Marks
feffd15dc2 8140281: add no-arg Optional.orElseThrow() as preferred alternative to get()
Reviewed-by: alanb, bpb, forax, darcy
2017-12-13 18:47:20 -08:00
Mark Reinhold
0214135fde 8192833: JEP 322: Time-Based Release Versioning
Reviewed-by: erikj, ihse, iris, mchung, psandoz, tbell
2017-12-13 17:28:24 -08:00
Jonathan Gibbons
4be0e4c6f6 Merge 2017-12-13 17:29:44 -08:00
Jonathan Gibbons
5bcb718441 8178070: duplicate entries in package table
Reviewed-by: bpatel, ksrini
2017-12-13 17:27:43 -08:00
Priya Lakshmi Muthuswamy
36f7775ba3 8191301: JavaImporter fails to resolve imported elements within functions, that contain too many statements
Reviewed-by: hannesw, attila
2017-12-14 02:26:45 +01:00
Ioi Lam
5dd68ed125 8165603: runtime/appcds/UseAppCDS.java: failed to clean up files after test when running with agentvm
Reviewed-by: mseledtsov, dholmes
2017-12-13 15:37:48 -08:00
Jonathan Gibbons
be25eb7f0e 8191054: Remove the Native-Header Tool (javah)
Reviewed-by: darcy, mcimadamore, ksrini
2017-12-13 14:49:48 -08:00
Robert Field
9ecafd93f5 8188894: jdk/jshell/ToolShiftTabTest.java failed with IllegalStateException
Reviewed-by: jlahoda
2017-12-13 14:21:12 -08:00
Phil Race
4b727d4f18 Merge 2017-12-13 10:25:38 -08:00
Daniel Fuchs
c8868455fe 8193370: Provide more user friendly defaults for HTTP/2 client settings
Reviewed-by: chegar
2017-12-13 16:16:17 +00:00
Nils Eliasson
aa0dc3cba3 8192971: LockCompilationTest fails intermittently
Remove all unnecessary compilations

Reviewed-by: kvn, thartmann
2017-12-13 10:21:21 +01:00
Abdul Kolarkunnu
fd4c8197ab 8191803: [TEST_BUG] : sanity/client/SwingSet/src/ProgressBarDemoTest.java failed with "Wait "greater then 1349" state to be reached
Reviewed-by: serb, psadhukhan
2017-12-13 13:27:45 +05:30
Prahalad Narayanan
c0e7592e4e 8188083: NullPointerExcpn-java.awt.image.FilteredImageSource.startProduction JDK-8079607
Reviewed-by: serb, prr, jdv
2017-12-12 14:05:21 +05:30
Shashidhara Veerabhadraiah
72e094dcd4 8146537: TrayIcon Action Listener doesnt work in WIndows 10
Reviewed-by: serb, ssadetsky
2017-12-12 12:43:05 +05:30
Shashidhara Veerabhadraiah
f7d6d96595 8190515: java.awt.Desktop.moveToTrash(File) prompts on Windows 7 but not on Mac
Reviewed-by: serb, prr
2017-12-12 12:31:49 +05:30
Robert Field
c1d0d6d51d 8162989: jshell tool: /edit with external editor leaks files in /tmp
Reviewed-by: jlahoda
2017-12-11 21:56:34 -08:00
Laurent Bourgès
5f530a331b 8191814: Marlin rasterizer spends time computing geometry for stroked segments that do not intersect the clip
Upgrade to Marlin 0.8.2 providing efficient path clipping (Stroker and Filler)

Reviewed-by: prr, serb
2017-12-11 21:14:43 +01:00
Phil Race
ee9c644643 Merge 2017-12-11 10:08:51 -08:00
Jan Lahoda
390de69601 8189778: Jshell crash on tab for StringBuilder.append(
Fixing handling of {@inheritDoc} in JShell's documentation.

Reviewed-by: jjg, ksrini
2017-12-11 18:33:53 +01:00
Sergey Bylokhov
419e35e549 8178401: Various audio files writers do not close file streams properly
Reviewed-by: prr
2017-12-10 00:08:42 -08:00
Jesper Wilhelmsson
e81038299e Merge 2017-12-08 23:43:25 +01:00
Bhavesh Patel
1bf16ef2db 8164407: Add module support for -link and -linkoffline javadoc option
Reviewed-by: jjg, ksrini
2017-12-13 12:45:06 -08:00
Brent Christian
cbe050e931 8193460: Take tools/launcher/TestXcheckJNIWarnings.java back off the ProblemList
Reviewed-by: mchung, psandoz
2017-12-13 11:43:57 -08:00
Phil Race
1f47a6a31c 8193211: Update jtreg TEST.groups and ProblemList for client-libs
Reviewed-by: psadhukhan
2017-12-08 13:15:19 -08:00
Semyon Sadetsky
c748c4426d 8177758: Regression in java.awt.FileDialog
Reviewed-by: sveerabhadra, serb
2017-12-08 12:55:21 -08:00
Jan Lahoda
f9431b7d26 8189782: com.sun.tools.javac.api.JavacTool.isSupportedOption misreports number of arguments consumed
Returning the number of standalone arguments from com.sun.tools.javac.api.JavacTool.isSupportedOption.

Reviewed-by: jjg
2017-12-08 16:28:14 +01:00
Srikanth Adayapalam
18e476899c 8182401: Verification error for enclosing instance capture inside super constructor invocation
Reviewed-by: vromero
2017-12-11 06:58:14 +05:30
Doug Lea
71a866fe0c 8192944: Miscellaneous changes imported from jsr166 CVS 2017-12-08
Reviewed-by: martin, psandoz, chegar
2017-12-08 15:30:53 -08:00
Pankaj Bansal
2940eb8a25 8191436: ListSelectionModel.setSelectionMode() underspecified
Reviewed-by: serb, ssadetsky
2017-12-08 15:57:30 +05:30
Prasanta Sadhukhan
81c1d53cdb 8191639: NPE from BasicListUI.Actions.getNextPageIndex
Reviewed-by: serb, ssadetsky
2017-12-08 10:03:07 +05:30
Robert Field
e08ffc05d9 8192863: jshell tool: /<id><tab> gives "No such command"
Reviewed-by: jlahoda
2017-12-07 13:23:18 -08:00
Roland Westrelin
29bab311ab 8192908: -XX:+UseCountedLoopSafepoints alone doesn't disable strip mining with G1
-XX:+UseCountedLoopSafepoints should disable loop strip mining.

Reviewed-by: kvn, thartmann
2017-12-07 15:52:46 +01:00
Jesper Wilhelmsson
7c3a956755 Merge 2017-12-07 10:18:31 +01:00
Jiangli Zhou
3d7e063f0f 8193065: [TESTBUG] [TESTBUG]GCSharedStringsDuringDump.java: Exception in thread "main" java.lang.RuntimeException: String is not shared
Check if 'oa' region is missing.

Reviewed-by: hseigel, ccheung
2017-12-06 20:06:43 -05:00
Jan Lahoda
17b766fb1d 8191636: [Windows] jshell tool: Wrong character in /env class-path command crashes jshell
Fixing handling of invalid paths.

Reviewed-by: rfield
2017-12-13 11:27:28 +01:00
Nishit Jain
7362d58294 8190278: ClassCastException is thrown by java.util.Scanner when a NumberFormatProvider is used
Reviewed-by: naoto, rriggs
2017-12-13 12:43:38 +05:30
Kumar Srinivasan
05d1149d5e 8192850: method summary tables of inherited methods improperly list static interface methods
Reviewed-by: jjg
2017-12-12 20:18:14 -08:00
Rajan Halade
ac36725e20 8189131: Open-source the Oracle JDK Root Certificates
Integration for JEP 319: Root Certificates

Reviewed-by: mullan, simonis, jnimeh, alanb
2017-12-12 19:20:39 -08:00
Kumar Srinivasan
ddb9702c14 8193107: javadoc complains about empty module
Reviewed-by: jjg
2017-12-12 14:16:24 -08:00
Mandy Chung
0b0340fe0f 8193192: jdeps --generate-module-info does not look at module path
Reviewed-by: dfuchs
2017-12-12 11:31:38 -08:00
Joe Wang
4f080a83af 8183743: Umbrella: add overloads that take a Charset parameter
Reviewed-by: alanb, rriggs
2017-12-12 11:10:12 -08:00
Naoto Sato
f065141ddc 8176841: Additional Unicode Language-Tag Extensions
8189134: New system properties for the default Locale extensions
8190918: Retrieve the region specific data regardless of language in locale
8191349: Add a new method in j.t.f.DateTimeFormatter to reflect Unicode extensions

Reviewed-by: scolebourne, lancea, rriggs, rgoel, nishjain
2017-12-12 10:21:58 -08:00
Paul Sandoz
72e7a31529 8171826: Comparator.reverseOrder(c) mishandles singleton comparators
Reviewed-by: rriggs
2017-12-12 09:33:35 -08:00
Martin Balao
f1212e26c3 8165996: PKCS11 using NSS throws an error regarding secmod.db when NSS uses sqlite
Reviewed-by: weijun
2017-12-13 01:29:58 +08:00
Hannes Wallnöfer
225ec213e4 8069338: Implement sharedScopeCall for optimistic types
Reviewed-by: attila, sundar
2017-12-12 15:38:18 +01:00
Srikanth Adayapalam
ac4e5933a6 8193142: Regression: ClassCastException: Type$ErrorType cannot be cast to Type$ArrayType
Reviewed-by: mcimadamore
2017-12-12 18:40:31 +05:30
Attila Szegedi
9d93886076 8191905: Add a REMOVE StandardOperation to Dynalink
Reviewed-by: hannesw, sundar
2017-12-12 14:04:57 +01:00
Jini George
64a1914e1c 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
Create tests for the clhsdb commands: inspect, scanoops and printas

Reviewed-by: sspitsyn, sballal, cjplummer
2017-12-14 12:49:47 +05:30
Jesper Wilhelmsson
f1985b2e7e Merge 2017-12-13 23:06:59 +01:00
Vladimir Kozlov
c11f132abe 8191788: add jdk.internal.vm.compiler to --limit-modules if -Djvmci.Compiler=graal is in the command line
Skip tests which use --limit-modules when Graal is used as JIT compiler.

Reviewed-by: alanb, mchung, dholmes, ccheung, dnsimon
2017-12-13 11:59:55 -08:00
Nils Eliasson
16d95cbf9d 8192971: LockCompilationTest fails intermittently
Remove all unnecessary compilations

Reviewed-by: kvn, thartmann
2017-12-13 10:21:21 +01:00
Brent Christian
276093653a 8190984: tools/launcher/TestXcheckJNIWarnings.java WARNING was found in the output
Reviewed-by: dholmes, mchung
2017-12-12 21:46:06 -05:00
Brent Christian
eb417da953 8193271: ProblemList tools/launcher/TestXcheckJNIWarnings.java
Reviewed-by: darcy
2017-12-08 13:04:43 -08:00
David Holmes
b1001c7d7d 8193222: EnsureLocalCapacity() should maintain capacity requests through multiple calls
Reviewed-by: coleenp, dcubed
2017-12-12 19:06:19 -05:00
Tobias Hartmann
8ab2ee6ab1 8193363: TestDumpReplay.java fails with product builds
Added missing -XX:+IgnoreUnrecognizedVMOptions

Reviewed-by: kvn
2017-12-12 19:05:02 +01:00
Chris Plummer
200e63f32c 8191229: serviceability/jvmti/GetOwnedMonitorInfo/GetOwnedMonitorInfoTest.java fails with NoClassDefFoundError
Call FindClass() when we are in the proper classloader context

Reviewed-by: sspitsyn, dholmes, amenkov
2017-12-09 07:50:50 -08:00
Jesper Wilhelmsson
42d9cdb7a0 Merge 2017-12-08 23:43:25 +01:00
Calvin Cheung
915b2cd1f2 8192989: runtime/appcds/javaldr/ArrayTest.java crashes with assert(k->is_instance_klass())
Disable loading array classes from the class list

Reviewed-by: iklam, jiangli
2017-12-08 15:14:08 -08:00
Daniel D. Daugherty
b0138d81ad 8193135: get rid of redundant _smr_ prefix/infix in ThreadSMRSupport stuff
Reviewed-by: stefank, gtriantafill, coleenp
2017-12-08 15:24:47 -05:00
Daniel Fuchs
a87551990a 8191033: Regression in logging.properties: specifying .handlers= for root logger (instead of handlers=) no longer works
The behavior observed for Java 8 is restored

Reviewed-by: martin, mchung
2017-12-08 11:50:39 +00:00
Priya Lakshmi Muthuswamy
6534e2ad54 8193137: Nashorn crashes when given an empty script file
Reviewed-by: hannesw, sundar
2017-12-08 12:02:30 +01:00
Attila Szegedi
cebb2a31b4 8192970: Element getters/setters with fixed key fail to link properly
Reviewed-by: hannesw, sundar
2017-12-08 11:48:38 +01:00
Sharath Ballal
3f561e29a9 8193124: SA: Testcases for clhsdb jdis and findpc commands
Reviewed-by: sundar, cjplummer, jgeorge
2017-12-08 15:41:11 +05:30
Kumar Srinivasan
c30bc22a0e 8034254: Don't use binary testing files broken.jar
Reviewed-by: jjg
2017-12-07 21:07:12 -08:00
Weijun Wang
67205081ec 8192987: keytool should remember real storetype if it is not provided
Reviewed-by: mullan
2017-12-08 09:40:14 +08:00
Kumar Srinivasan
7604d1d515 8149402: "-group" option issue for classes from default package
Reviewed-by: jjg
2017-12-07 14:21:25 -08:00
Kumar Srinivasan
900f2c016d 8191030: @value Tags are not resolved by javadoc 9
Reviewed-by: jjg
2017-12-07 14:15:14 -08:00
Joe Darcy
62d672208a 8193191: Update JavacTestingAbstractProcessor for JDK 10
Reviewed-by: jjg
2017-12-07 11:00:32 -08:00
Jan Lahoda
9f07305ab6 8189248: Jshell: error with mutually dependent snippets, when one must be replaced
Ensuring proper imports are generated for mutually dependent snippets if one of them is replaced.

Reviewed-by: rfield
2017-12-07 19:24:27 +01:00
Mandy Chung
f296f0cfbc 8192945: Need stable sort for MODULES entry in the release file
Reviewed-by: alanb, redestad
2017-12-07 09:23:15 -08:00
Brian Burkhalter
dd07ad1703 8191872: (fs) UnixNativeDispatcher conditionally compiles in support for high precision timestamps
Remove POSIX conditional compilation and correct stat64 times for macOS

Reviewed-by: alanb, simonis
2017-12-07 08:56:04 -08:00
Alan Bateman
800f9ab58a 8191867: Module attribute in 54.0+ class file cannot contains a requires java.base with ACC_TRANSITIVE or ACC_STATIC_PHASE
Reviewed-by: psandoz, mchung
2017-12-07 16:45:19 +00:00
Dean Long
318c0d74ab 8192870: [Testbug] runtime/handshake/HandshakeTransitionTest throws NPE
Reviewed-by: dholmes, rehn
2017-12-05 11:16:03 -08:00
Robert Field
5252da0f37 8192979: jshell tool: Online help text for commands is confusing
Reviewed-by: jlahoda
2017-12-05 11:04:42 -08:00
Harsha Wardhana B
c8bf23d93a 8192909: Invalid username or password in HashedPasswordFileTest.java
Reviewed-by: clanger, dfuchs
2017-12-05 21:26:11 +05:30
Stefan Johansson
e2d38d5f6a 8193068: Add gc/g1/TestVerifyGCType.java to problem list
Reviewed-by: tschatzl
2017-12-05 16:34:03 +01:00
Jiangli Zhou
1cfa67d1d5 8193065: [TESTBUG] [TESTBUG]GCSharedStringsDuringDump.java: Exception in thread "main" java.lang.RuntimeException: String is not shared
Check if 'oa' region is missing.

Reviewed-by: hseigel, ccheung
2017-12-06 20:06:43 -05:00
Stefan Johansson
06bf91bacc 8193068: Add gc/g1/TestVerifyGCType.java to problem list
Reviewed-by: tschatzl
2017-12-05 16:34:03 +01:00
Stefan Johansson
b4f7ce6c8f 8192983: gc/g1/TestVerifyGCType.java might fail on loaded machines
Reviewed-by: tschatzl, jwilhelm
2017-12-05 13:58:55 +01:00
Harsha Wardhana B
3af68346dc 8192909: Invalid username or password in HashedPasswordFileTest.java
Reviewed-by: clanger, dfuchs
2017-12-05 21:26:11 +05:30
Stefan Johansson
657b951fab 8192983: gc/g1/TestVerifyGCType.java might fail on loaded machines
Reviewed-by: tschatzl, jwilhelm
2017-12-05 13:58:55 +01:00
Doug Simon
77eb30dae3 8193930: [JVMCI] calling ResolvedTypeType.getClassInitializer on an array type crashes
Reviewed-by: never, dlong
2017-12-22 18:34:36 +01:00
Robert Field
3d3780d2e8 8191455: jdk/jshell/StartOptionTest.java and jdk/jshell/ToolProviderTest.java failed after changeset e0f08a
8191456: jdk/jshell/ExternalEditorTest.java testStatementMush() failure

Reviewed-by: jlahoda
2017-12-04 17:15:38 -08:00
Sergey Bylokhov
267856d100 8189656: The Windows L&F should be moved out from the shared folder
Reviewed-by: prr, psadhukhan, erikj
2017-12-04 16:14:29 -08:00
Phil Race
796aeef46b Merge 2017-12-04 10:12:46 -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
Yasumasa Suenaga
869aa96aa3 8192897: NPE occurs on clhsdb jstack
Reviewed-by: dholmes, sspitsyn, jgeorge, sballal
2017-12-04 10:23:08 +09:00
Peter Levart
238ca2e781 8191216: SimpleTimeZone.clone() has a data race on cache fields
Reviewed-by: alanb, naoto
2017-12-12 00:30:57 +01:00
Xueming Shen
3b0e59e8d8 8185582: Update Zip implementation to use Cleaner, not finalizers
Reviewed-by: plevart, rriggs, mchung
2017-12-11 11:45:02 -08:00
Martin Buchholz
ed69a7db9c 8192935: Fix EnumSet's SerializationProxy javadoc
Reviewed-by: smarks, rriggs
2017-12-03 13:06:51 -08:00
Brent Christian
a820e5eaa8 8193271: ProblemList tools/launcher/TestXcheckJNIWarnings.java
Reviewed-by: darcy
2017-12-08 13:04:43 -08:00
Igor Ignatyev
643da5ac9c 8181118: update java/time tests to use RandomFactory from the top level testlibrary
Reviewed-by: rriggs
2017-12-08 11:03:37 -08:00
Daniel Fuchs
eb62b5e51e 8187073: The java.util.logging.Level.findLevel() will not correctly find a Level by it's int value
Reviewed-by: rriggs
2017-12-08 17:40:57 +00:00
Xue-Lei Andrew Fan
82bf0799c6 8148421: Transport Layer Security (TLS) Session Hash and Extended Master Secret Extension
Co-authored-by: Martin Balao <mbalao@redhat.com>
Reviewed-by: jnimeh, ahgross, rhalade, wetmore
2017-12-08 16:41:30 +00:00
Anton Litvinov
0b2a269330 8181659: Create an alternative fix for JDK-8167102, whose fix was backed out
Reviewed-by: prr, serb
2017-12-03 13:21:41 +00:00
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
Jesper Wilhelmsson
e77f4f9c55 Merge 2017-12-02 06:51:10 +01:00
Kumar Srinivasan
7892014147 8192933: Wrong generic type parameter in serialized form javadoc
Reviewed-by: jjg
2017-12-06 15:14:13 -08:00
Patrick Reinhart
5eafe731b0 8191706: Add Reader::transferTo(Writer)
Reviewed-by: alanb, bpb, briangoetz
2017-12-06 14:39:15 -08:00
Kumar Srinivasan
a53a1b7844 8191078: Wrong "Package not found" warning
Reviewed-by: jjg, jlahoda
2017-12-06 11:43:50 -08:00
Chris Hegarty
18e143f6fb Merge 2017-12-06 19:17:07 +00:00
Chris Hegarty
37811b7460 8191494: Refresh incubating HTTP Client
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Co-authored-by: Pavel Rappo <pavel.rappo@oracle.com>
Reviewed-by: chegar, dfuchs, michaelm
2017-12-06 11:11:59 -08:00
Vicente Romero
8c50b3e660 8192885: Compiler in JDK 10-ea+33 misses to include entry in LineNumberTable for goto instruction of foreach loop
Reviewed-by: mcimadamore
2017-12-06 13:36:34 -05:00
Sergey Bylokhov
d8efdbc4a2 8183518: Premature deprecation of Event/InputEvent/KeyEvent in Java 9
Reviewed-by: prr, psadhukhan
2017-12-01 17:44:07 -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
Igor Ignatyev
c647d80e38 8191273: applications/ctw/modules tests fail intermittently
Reviewed-by: kvn, dlong
2017-12-01 15:58:39 -08:00
Ioi Lam
d4fab56c4f 8190809: JVM crashes while generating appcds for classpath with empty directory entry
Reviewed-by: ccheung, jiangli, lmesnik
2017-12-01 15:53:15 -08:00
Roger Riggs
f29e21abb1 8080225: FileInput/OutputStream/FileChannel cleanup should be improved
Reviewed-by: mchung, plevart, bpb
2017-12-01 16:40:08 -05:00
Athijegannathan Sundararajan
b93586c51e 8192986: Inconsistent handling of exploded modules in jlink
Reviewed-by: redestad, jlaskey
2017-12-08 20:46:40 +05:30
Boris Ulasevich
f4b397b4ba 8189439: Parameters type profiling is not performed from aarch64 interpreter
Reviewed-by: vlivanov
2017-12-01 18:24:52 +03:00
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
Roger Riggs
2321c5b86c 8189331: java/io/Serializable/maskSyntheticModifier/MaskSyntheticModifierTest.java failed incorrect serialVersionUID
Reviewed-by: lancea
2017-11-30 16:38:31 -05: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
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
Tobias Hartmann
23424e9e0a 8191360: Lookup of critical JNI method causes duplicate library loading with leaking handler
Unload shared library after lookup to avoid keeping it live.

Reviewed-by: vlivanov, dholmes
2017-12-05 08:27:54 +01:00
Yasumasa Suenaga
b6252a4d4d 8192897: NPE occurs on clhsdb jstack
Reviewed-by: dholmes, sspitsyn, jgeorge, sballal
2017-12-04 10:23:08 +09:00
Jesper Wilhelmsson
48d81c1e0c Merge 2017-12-02 06:51:10 +01:00
Sharath Ballal
c04d1331fc 8192823: SA: Testcase for 'clhsdb source' command
Reviewed-by: sspitsyn, jgeorge
2017-12-02 11:25:35 +05:30
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
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
Chris Hegarty
a2000f8720 8179424: Remove terminally deprecated sun.reflect.Reflection.getCallerClass
Reviewed-by: alanb, dfuchs, dholmes, lancea, mchung, rriggs
2017-12-22 15:55:29 +00:00
Jesper Wilhelmsson
d417fc4af1 Merge 2017-12-21 00:07:38 +01:00
David Holmes
670ac3b236 8193840: Add compiler/c2/Test8007294.java to the problem list
Reviewed-by: coleenp
2017-12-19 17:31:53 -05:00
Ioi Lam
c7421b5e3b 8193672: [test] Enhance vm.cds property to check for all conditions required to run CDS tests
Reviewed-by: dholmes, dsamersoff, simonis
2017-12-04 08:59:47 -08:00
Goetz Lindenmaier
12a45fe7f8 8193509: Test dynamic path to retrieve active processor count
Reviewed-by: dholmes, mdoerr
2017-12-14 12:57:21 +01:00
Jesper Wilhelmsson
4db5d786b7 Merge 2017-12-15 16:54:17 +01:00
Harold Seigel
47bbcac667 8154587: Resolution fails for default method named 'clone'
Make sure default methods with the same names as those in j.l.Object get put in the default methods table where resolution can find them.

Reviewed-by: acorn, lfoltan
2017-12-15 11:23:50 -05:00
Tobias Hartmann
e817cd88c1 8193608: Quarantine test/hotspot/jtreg/compiler/codegen/Test6896617.java until JDK-8193479 is fixed
Added test to ProblemList.txt

Reviewed-by: vlivanov
2017-12-15 16:51:13 +01:00
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
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