Commit Graph

15919 Commits

Author SHA1 Message Date
Roger Riggs
e89ce16097 8164908: ReflectionFactory support for IIOP and custom serialization
Add support for serialization to sun.reflect.ReflectionFactory

Reviewed-by: alanb, chegar, plevart, amlu
2016-10-24 14:52:51 -04:00
Roger Riggs
033650f9e0 8167192: [Testbug] java/io/Serializable/serialFilter test conditions wrong
Reviewed-by: lancea, mchung
2016-10-24 09:40:06 -04:00
Masayoshi Okutsu
c0ee1b68c1 8152926: PropertyResourceBundle constructor don't understand the System.setProperty change
Reviewed-by: naoto, peytoia
2016-10-24 15:26:15 +09:00
Ivan Gerasimov
102d23697f 8165463: Native implementation of sunmscapi should use operator new (nothrow) for allocations
Reviewed-by: clanger, jnimeh, vinnie
2016-10-22 17:03:17 +03:00
Sean Mullan
4f556f887f Merge 2016-10-21 09:03:35 -04:00
Sean Mullan
ad82a519a8 8168313: Tighten permissions granted to jdk.crypto.pkcs11 module
Reviewed-by: ascarpino
2016-10-21 09:02:57 -04:00
Volker Simonis
09dd43b407 8168471: Non ANSI C declaration of block local variable in NetworkInterface_winXP.c
Reviewed-by: chegar
2016-10-21 14:57:50 +02:00
Pavel Rappo
cd99155eb8 8168417: Pending exceptions in java.base/windows/native/libnio
Reviewed-by: chegar, alanb
2016-10-21 12:31:50 +01:00
Anubhav Meena
d3d2beed82 8163330: HijrahDate aligned day of week incorrect
Reviewed-by: rriggs, scolebourne
2016-10-21 14:52:04 +05:30
Rachna Goel
8f9823ef6e 8146750: java.time.Month.getDisplayName() return incorrect narrow names with JRE provider on locale de,de_DE,en_US
Reviewed-by: okutsu, rriggs, naoto, peytoia
2016-10-21 11:33:37 +09:00
Alejandro Murillo
ae7aae8464 Merge 2016-10-20 16:54:00 -07:00
Stuart Marks
6bdfb6eb48 8152617: add missing wildcards to Optional or() and flatMap()
Reviewed-by: psandoz, forax
2016-10-20 13:27:48 -07:00
Lana Steuck
f9d884ce1c Merge 2016-10-20 20:02:11 +00:00
Lana Steuck
a87e32b358 Added tag jdk-9+141 for changeset f31d65424ed0 2016-10-20 18:38:09 +00:00
Alexander Scherbatiy
e8c27e9a2f 8156217: Selected text is shifted on HiDPI display
Reviewed-by: prr, serb
2016-10-20 12:18:15 +03:00
Phil Race
4a4be07df3 Merge 2016-10-19 08:06:10 -07:00
Jan Lahoda
d132146380 8166183: jshell tool: on return from Ctrl-Z, garbage on screen, dies with Ctrl-C
Allow use of jdk.internal.misc.Signal from jshell and jjs.

Reviewed-by: rfield, chegar
2016-10-19 12:42:34 +02:00
Semyon Sadetsky
7195ef8df7 8154434: Open the request focus methods of the java.awt.Component which accept FocusEvent.Cause
Reviewed-by: azvegint
2016-10-19 11:51:40 +03:00
Athijegannathan Sundararajan
b82ec86107 8071588: The spec for javax.script.ScriptEngineFactory.getProgram() should specify NPEs thrown
Reviewed-by: alanb, hannesw
2016-10-19 13:26:49 +05:30
Weijun Wang
8d889c2a92 8167647: Copy-and-paste bug in javax.security.auth.kerberos.KerberosTicket.toString()
Reviewed-by: xuelei
2016-10-19 11:45:43 +08:00
David Holmes
de2a8e756b 8165827: Support private interface methods in JNI, JDWP, JDI and JDB
Reviewed-by: dcubed, lfoltan, sspitsyn
2016-10-18 20:04:36 -04:00
Phil Race
102e7e925d 8167126: Create a module to provide access to non-SE desktop APIs
Reviewed-by: alanb, mchung
2016-10-18 13:06:59 -07:00
Chris Plummer
58d722836f 8167034: Re-enable TestDaemonThread.java once JDK-8167001 is fixed
Reviewed-by: jwilhelm, sspitsyn
2016-10-18 12:39:22 -07:00
Chris Plummer
42c24a144c 8167001: [TESTBUG] java/lang/instrument/DaemonThread/TestDaemonThread.java fails when run by jprt
Force classpath to be added to subprocesses

Reviewed-by: dholmes, sspitsyn
2016-10-18 12:36:20 -07:00
Sergey Bylokhov
e5579cb9b0 8166673: The new implementation of Robot.waitForIdle() may hang
Reviewed-by: azvegint, ssadetsky
2016-10-18 18:00:22 +03:00
Semyon Sadetsky
626e2ca286 8166897: Some font overlap in the Optionpane dialog
Reviewed-by: azvegint
2016-10-18 12:43:07 +03:00
Phil Race
633ef09e9f 8089573: [macosx] Incorrect char to glyph mapping printing on OSX 10.10
Reviewed-by: serb, vadim
2016-10-17 13:54:05 -07:00
Semyon Sadetsky
e062f99b22 8168077: Solaris build failed: gtk2_interface.h typedef redeclared: GThreadFunctions
Reviewed-by: prr
2016-10-17 19:59:42 +03:00
Ambarish Rapte
0485515bad 8167288: [TEST_BUG] Consistent failure on Unity of WarningWindowDisposeTest.java
Reviewed-by: ssadetsky, alexsch
2016-10-17 18:43:19 +05:30
Alexander Kulyakhtin
302ec8438f 8158797: Test java/lang/management/MemoryMXBean/LowMemoryTest.java fails when GC is specified explicitly
Fixed GC options for running the test

Reviewed-by: ddmitriev, sspitsyn
2016-10-17 15:46:28 +03:00
Rachna Goel
8b7cc86473 8167992: Update documentation of java.util.Date class
Reviewed-by: okutsu, peytoia
2016-10-17 20:13:16 +09:00
Manajit Halder
5b7f28e99d 8158390: [macosx] Regression: javax/swing/JMenuItem/8139169/ScreenMenuBarInputTwice.java
Reviewed-by: serb
2016-10-17 15:47:05 +05:30
Alexander Zvegintsev
dc8408ae5b 8153526: [Unity] Taskbar.getTaskbar().setMenu(null) doesn't remove menu
Reviewed-by: ssadetsky
2016-10-17 12:37:09 +03:00
Semyon Sadetsky
3d64738234 8163167: [PIT] javax/swing/JTextArea/ScrollbarFlicker/ScrollFlickerTest.java always fail
Reviewed-by: serb, alexsch
2016-10-17 10:51:58 +03:00
Anubhav Meena
0abfcdbe04 8161473: [TEST_BUG] [macosx] add autodelay to java/awt/TrayIcon/TrayIconEventModifiers/TrayIconEventModifiersTest.java
Reviewed-by: arapte, serb
2016-10-17 13:20:04 +05:30
Jayathirth D V
27043084d2 8167281: IIOMetadataNode bugs in getElementsByTagName and NodeList.item methods
Reviewed-by: prr, pnarayanan
2016-10-17 13:04:33 +05:30
Semyon Sadetsky
3419791e2d 8167486: Device.getDisplayMode() doesn't report refresh rate on Linux in case of dual screen
Reviewed-by: serb
2016-10-17 10:14:38 +03:00
Semyon Sadetsky
b3d5aa622e 8164321: Crash of SwingNode with GTK LaF
Reviewed-by: azvegint, alexsch
2016-10-17 09:58:37 +03:00
Phil Race
0d34edc708 8166034: [macosx] Non-AA Serif font always displays as regular - no bold
Reviewed-by: serb, pnarayanan
2016-10-14 15:37:10 -07:00
Roger Riggs
445c99ec2b 8167166: Java API docs mention a non-existent method getNanosOfSecond
Reviewed-by: naoto
2016-10-14 17:15:11 -04:00
Sergey Bylokhov
07c0902eac 8167435: IllegalArgumentException is not thrown by Clip.open(AudioFormat,byte[], int, int)
Reviewed-by: amenkov
2016-10-14 21:43:00 +03:00
Phil Race
f97849aa84 Merge 2016-10-14 11:11:19 -07:00
Sergey Bylokhov
1bb3837020 8167310: The graphics clip is incorrectly rounded for some fractional scales
Reviewed-by: flar
2016-10-14 19:12:37 +03:00
Alexander Zvegintsev
ae233dafc4 8167565: [macosx] Maximization of a dialog hides it
Reviewed-by: serb, ssadetsky
2016-10-14 16:30:28 +03:00
Manajit Halder
3230ba35f1 8158380: [macosx] Regression: java/awt/List/ActionEventTest/ActionEventTest.java
Reviewed-by: serb, aghaisas
2016-10-14 10:39:42 +05:30
Ajit Ghaisas
b521b5b0d8 8166980: JCK testing of Window.setIconImage() leads to VM crash starting approx from JDK9 b134
Reviewed-by: serb, rchamyal
2016-10-14 10:18:53 +05:30
Xueming Shen
6d3fbda062 8167957: Remove FilePermission from default policy for jdk.charsets module
Reviewed-by: mchung
2016-10-13 17:47:30 -07:00
Lana Steuck
0db7d246b1 Merge 2016-10-13 23:02:35 +00:00
Lana Steuck
81d47ef648 Added tag jdk-9+140 for changeset 9c298252e385 2016-10-13 21:01:11 +00:00
Steve Drach
8630709b19 8167237: Jar tool can not correctly find/process the --release option if it occurs before the file list
Reviewed-by: lancea
2016-10-13 11:54:27 -07:00
Xueming Shen
dd8ac98cde 8166258: Unexpected code conversion by HKSCS converters
Reviewed-by: naoto
2016-10-13 09:35:07 -07:00
Alejandro Murillo
ff0d142c0a Merge 2016-10-13 09:02:13 -07:00
Alejandro Murillo
9047ce6f76 Merge 2016-10-13 08:57:57 -07:00
Vinnie Ryan
15b6970daa 8165064: Enhance thread contexts in JNDI
Reviewed-by: chegar
2016-10-13 15:27:33 +01:00
Vinnie Ryan
02ca9985fc 8167371: KeyStoreSpi.engineSetEntry should throw an Exception if password protection alg is specified
Reviewed-by: xuelei, mullan
2016-10-13 12:37:42 +01:00
Srinivas Dama
410b8c8f8f 8055033: Shell tests for jrunscript don't pass through VM options
Passed jtreg env variables TESTVMOPTS, TESTJAVAOPTS to java and TESTTOOLVMOPTS, TESTJAVACOPTS to javac launchers

Reviewed-by: sundar
2016-10-13 01:59:39 -07:00
Tim Du
6e9244aea4 8164322: Test sun/security/pkcs11/PKCS11Test.java shall be updated to run on ARM platforms
Reviewed-by: xuelei
2016-10-13 00:45:38 -07:00
Jayathirth D V
cd11a435b1 6294607: GIFWriter returns the same compression type twice
Reviewed-by: prr, serb, bpb
2016-10-13 11:37:32 +05:30
Mandy Chung
44a7c1b644 8164689: Retrofit jar, jlink, jmod as a ToolProvider
Reviewed-by: alanb, lancea
2016-10-12 15:41:00 -07:00
Steve Drach
71c0fe8710 8166460: jdk/internal/util/jar/TestVersionedStream gets Assertion error
Reviewed-by: psandoz
2016-10-12 14:31:17 -07:00
Jonathan Bluett-Duncan
a19fc7fbdb 8134373: use collections convenience factories in the JDK
Reviewed-by: scolebourne, prappo, dfuchs, redestad, smarks
2016-10-12 11:54:38 -07:00
Roger Riggs
41cdc78805 8167628: Test for RMI API to export an object with a serialization filter
Reviewed-by: dfuchs
2016-10-12 13:53:41 -04:00
Prasanta Sadhukhan
0eb1221aa7 8167291: [TEST_BUG] javax/print/attribute/Services_getDocFl.java
Reviewed-by: prr
2016-10-12 23:04:39 +05:30
Athijegannathan Sundararajan
8c7dc29389 8167614: Avoid module dependency from jdk.dynalink to jdk.internal.module of java.base module
Reviewed-by: jlaskey, alanb
2016-10-12 22:44:43 +05:30
David Dehaven
b27d8f6dd9 8165271: Fix use of reflection to gain access to private fields
Reviewed-by: mchung
2016-10-12 08:47:53 -07:00
Artem Smotrakov
a535d2d833 8166530: sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java fails intermittently
Reviewed-by: chegar
2016-10-20 11:23:41 -07:00
Pavel Rappo
d16760afb5 8168405: Pending exceptions in java.base/windows/native
Reviewed-by: chegar, clanger
2016-10-20 18:35:45 +01:00
Amy Lu
8049802fc8 8146257: sun/net/www/protocol/jar/B4957695.java fails intermittently with java.lang.RuntimeException: some jar_cache files left behind
Reviewed-by: chegar
2016-10-20 20:20:10 +08:00
Daniel Fuchs
97658dc623 8157965: update httpserver logging to use java.lang.System.Logger
This patch updates the jdk.httpserver module to use System.Logger and break its dependency with the java.logging module.

Reviewed-by: rriggs, michaelm, chegar, mchung
2016-10-20 12:31:24 +01:00
Weijun Wang
8bd0c80e92 8168374: TsacertOptionTest.java fails on all platforms
Reviewed-by: vinnie
2016-10-20 14:11:26 +08:00
Weijun Wang
debfdef758 8163304: jarsigner -verbose -verify should print the algorithms used to sign the jar
Reviewed-by: mullan
2016-10-20 09:24:47 +08:00
Anthony Scarpino
4b919bee81 8167591: Add MD5 to signed JAR restrictions
Reviewed-by: mullan, jnimeh
2016-10-19 10:49:52 -07:00
Sean Mullan
41e797f4da 8162723: Array index overflow in Base64 utility class
Reviewed-by: ascarpino, jnimeh
2016-10-12 09:46:35 -04:00
Erik Joelsson
da8b135bcf 8167479: arm 32/64 slowdebug fails to build on unpack200
Reviewed-by: ihse
2016-10-12 14:25:07 +02:00
Paul Sandoz
2fc1b1389a 8167524: Rogue character in Stream javadoc
Reviewed-by: smarks, darcy
2016-10-11 16:25:52 -07:00
Phil Race
c8971d64f4 8167523: JDK 9 build failure on MacOS due to unhandled cases in switch statement
Reviewed-by: serb
2016-10-11 16:15:18 -07:00
Bradford Wetmore
909e2244c8 8167459: Add debug output for indicating if a chosen ciphersuite was legacy
Reviewed-by: xuelei
2016-10-11 15:49:37 -07:00
Jan Lahoda
b765ef344a 8166890: JShell: locks forever when input is piped
Only read cursor position if connected to a terminal.

Reviewed-by: rfield, shinyafox
2016-10-11 12:33:15 +02:00
Erik Joelsson
7bf6362c3a 8167387: libjimage.so has a bad runpath
Reviewed-by: tbell, ihse
2016-10-11 12:25:54 +02:00
Vyom Tewari
b09d8ad0e6 8163482: java.net.URLPermission.getActions() adds a trailing colon when header-names is empty
Reviewed-by: chegar, dfuchs
2016-10-11 15:12:40 +05:30
Xue-Lei Andrew Fan
9c0a3e6ca9 8167472: Chrome interop regression with JDK-8148516
Reviewed-by: weijun
2016-10-11 09:11:34 +00:00
Magnus Ihse Bursie
46cb0861d0 8167424: Various trivial fixes in build system
Reviewed-by: erikj, tbell
2016-10-11 09:50:04 +02:00
Valerie Peng
81d15be0db 8165275: Replace the reflective call to the implUpdate method in HandshakeMessage::digestKey
Replaced the reflection calls with the new sun.security.util.MessageDigestSpi2 interface

Reviewed-by: xuelei, mchung
2016-10-11 00:04:35 +00:00
Paul Sandoz
bf450d55c1 8164814: Deprecate Atomic*.weakCompareAndSet and defer to Atomic*.weakCompareAndSetPlain
Reviewed-by: martin, dl
2016-10-10 15:58:42 -07:00
Mandy Chung
fddb29160d 8162401: Support multiple --add-exports and --add-reads with the same module/package
Reviewed-by: alanb, redestad, sundar
2016-10-10 15:46:14 -07:00
Phil Race
e4ed1ab3d7 Merge 2016-10-10 14:35:20 -07:00
Phil Race
6ac1a33ba5 Merge 2016-10-10 14:26:49 -07:00
Phil Race
396d6e2a1a Merge 2016-10-10 14:21:39 -07:00
Anthony Scarpino
dab57d2037 8165103: Update to "denyAfter constraint check" exception message
Reviewed-by: valeriep
2016-10-10 14:20:16 -07:00
Christoph Langer
0d046ab808 8167295: Further cleanup to the native parts of libnet/libnio
Reviewed-by: chegar
2016-10-10 22:42:45 +02:00
Phil Race
13dd764edf Merge 2016-10-10 13:31:48 -07:00
Anthony Scarpino
3d4d013f55 8165101: AnchorCertificates throws NPE when cacerts file not found
Reviewed-by: mullan
2016-10-10 13:28:44 -07:00
Sibabrata Sahoo
05b72e77b7 8156054: Test Task: Develop new tests for JEP C155: Remove FilePermission Pathname Canonicalization
New test for removing canonicalize path from FilePermission.

Reviewed-by: weijun
2016-10-10 00:45:13 -07:00
Weijun Wang
ba9df3533c 8164705: Remove pathname canonicalization from FilePermission
Reviewed-by: alanb, bpb
2016-10-10 08:28:50 +08:00
Jonathan Gibbons
0f9a011475 8159855: Create an SPI for tools
Reviewed-by: mchung
2016-10-07 16:49:31 -07:00
Brent Christian
2d52d60a1e 8151486: Class.forName causes memory leak
Remove ClassLoader.domains

Reviewed-by: coleenp, dholmes, mchung, naoto
2016-10-07 12:01:24 -07:00
Athijegannathan Sundararajan
d47b7ffca5 8167018: Nashorn and jjs should support --module-path and --add-modules options
Reviewed-by: jlaskey, hannesw
2016-10-07 21:28:00 +05:30
Pete Brunet
27ca3765bb 8160893: [macosx] JMenuItems in JPopupMenu are not accessible
Post events for MenuOpened/Closed/ItemSelected

Reviewed-by: ant, alexsch
2016-10-06 20:31:59 -05:00
Iris Clark
0d8b76a7d7 8166799: ASSEMBLY_EXCEPTION contains historical company name
Reviewed-by: mchung, tbell
2016-10-06 18:05:54 -07:00
Weijun Wang
723c5ce3c2 8167181: Exported elements referring to inaccessible types in jdk.security.jgss
Reviewed-by: mchung
2016-10-07 07:59:49 +08:00