Commit Graph

1630 Commits

Author SHA1 Message Date
Jamil Nimeh
c535c8a446 8133632: javax.net.ssl.SSLEngine does not properly handle received SSL fatal alerts
Upon receiving a fatal alert, make sure the input and output queues are closed and the engine is in the NOT_HANDSHAKING state.

Reviewed-by: xuelei
2016-11-03 15:18:16 -07:00
Alexander Scherbatiy
15205febe7 8164032: JViewport backing store image is not scaled on HiDPI display
Reviewed-by: serb
2016-11-03 18:43:55 +03:00
Sergey Bylokhov
bc879dff7a 8168881: javax/sound/sampled/Clip/OpenNonIntegralNumberOfSampleframes.java fails
Reviewed-by: prr
2016-11-02 23:05:52 +03:00
Brian Burkhalter
599879e45f 8164750: TIFF reading fails when ignoring metadata with BaselineTIFFTagSet removed
Disallow not adding to metadata fields which are critical to reading the image data even when the BaselineTIFFTagSet has been removed from the TIFFImageReadParam and the ignoreMetadata flag is set.

Reviewed-by: prr
2016-11-02 11:07:16 -07:00
Sergey Bylokhov
b86962aeb8 8168998: Incorrect implementation of equals in Encoding and Type in JavaSound
Reviewed-by: prr, amenkov
2016-11-02 17:14:57 +03:00
David Dehaven
b3ad5b94c3 Merge 2016-10-31 10:39:14 -07:00
Sergey Bylokhov
6c71c930f4 8167615: Opensource unit/regression tests for JavaSound
Reviewed-by: amenkov
2016-10-31 14:50:09 +03:00
Avik Niyogi
9b1b40372e 8168540: [TEST_BUG] On Unity, need a delay before screenshot taking to avoid animation
Reviewed-by: psadhukhan, yan
2016-10-31 12:10:08 +05:30
Xue-Lei Andrew Fan
b8904d34fe 8167680: DTLS implementation bugs
Reviewed-by: jnimeh, asmotrak
2016-10-29 13:34:53 +00:00
Phil Race
7b8e374270 Merge 2016-10-27 09:42:08 -07:00
Phil Race
5817fca746 Merge 2016-10-27 08:51:48 -07:00
Alexander Stepanov
64a2db9060 8159454: [TEST_BUG] javax/swing/ToolTipManager/7123767/bug7123767.java: number of checked graphics configurations should be limited
Reviewed-by: serb, yan
2016-10-20 14:21:46 +03: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
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
Manajit Halder
5b7f28e99d 8158390: [macosx] Regression: javax/swing/JMenuItem/8139169/ScreenMenuBarInputTwice.java
Reviewed-by: serb
2016-10-17 15:47:05 +05:30
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
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
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
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
Prasanta Sadhukhan
0eb1221aa7 8167291: [TEST_BUG] javax/print/attribute/Services_getDocFl.java
Reviewed-by: prr
2016-10-12 23:04:39 +05:30
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
Alexander Scherbatiy
b03a8f26db 8165485: Bad rendering of Swing UI controls with Motif L&F on HiDPI display
8147600: [hidpi] invalid rendering of Swing UI controls (radiobuttons, choice etc.)

Reviewed-by: serb
2016-10-05 18:42:34 +04:00
Alexander Scherbatiy
04e0dfd1eb 8166591: [macos 10.12] Trackpad scrolling of text on OS X 10.12 Sierra is very fast (Trackpad, Retina only)
Reviewed-by: malenkov, serb
2016-10-05 18:29:18 +04:00
Alexander Scherbatiy
63a1a87940 8165234: Provide a way to not close toggle menu items on mouse click on component level
Reviewed-by: serb, ssadetsky
2016-09-30 22:57:41 +04:00
Phil Race
72d8105751 Merge 2016-09-30 09:28:18 -07:00
Jayathirth D V
3f1ae2ad4e 8164931: Verify if writer.abort() works properly for all writers in IIOWriteProgressListener
Reviewed-by: prr, bpb, serb, psadhukhan
2016-09-29 10:57:34 +05:30
Valerie Peng
dc417a73f7 6946830: javax.crypto.Cipher.doFinal behavior differs depending on platform
Updated OracleUcrypto and SunPKCS11 providers with SunJCE provider behavior

Reviewed-by: xuelei
2016-09-28 03:18:01 +00:00
Artem Smotrakov
5db49c3eb2 8164591: sun/net/www/protocol/https/HttpsClient/ServerIdentityTest.java failed with SSLHandshakeException
Reviewed-by: xuelei
2016-09-27 11:34:45 -07:00
Semyon Sadetsky
8d81ec63b2 8154043: Fields not reachable anymore by tab-key, because of new tabbing behaviour of radio button groups
Reviewed-by: alexsch
2016-09-26 11:59:46 +03:00
Sergey Bylokhov
ec6f109b23 8166288: Au file format can be validated better
Reviewed-by: amenkov
2016-09-25 02:55:18 +03:00
Alexander Scherbatiy
7fa5f53815 8165594: Bad rendering of Swing UI controls with Windows Classic L&F on HiDPI display
Reviewed-by: serb, ssadetsky
2016-09-23 09:14:29 +03:00
David Dehaven
953cca3cb6 Merge 2016-09-19 10:11:34 -07:00
Sergei Kovalev
fc5df42634 8166032: Fix module dependencies for javax.SSL tests
Reviewed-by: xuelei, weijun
2016-09-14 17:28:17 +03:00
Sergei Kovalev
918a107479 8165870: Fix module dependencies for javax.script/* tests
Reviewed-by: sundar
2016-09-13 15:28:44 +03:00
David Dehaven
876ddcae54 Merge 2016-09-12 15:26:27 -07:00
Jayathirth D V
a99b7ce759 4924727: reader.abort() method does not work when called inside imageStarted for PNG
Reviewed-by: prr, serb, bpb
2016-09-12 12:07:56 +05:30
Prem Balakrishnan
189143f87c 8009477: PageUp and PageDown keyboard buttons don't move slider indicator to next minor tick
Reviewed-by: alexsch, aghaisas
2016-09-09 13:15:10 +05:30
Avik Niyogi
84982a552a 8163274: [TEST_BUG][macosx] apparent regression: javax/swing/JColorChooser/Test7194184.java
Reviewed-by: alexsch, rchamyal
2016-09-09 11:48:20 +05:30
Amit Sapre
d356b8d085 8164730: Make it clear that 'cl' parameter passed to RMIConnector.OISWL is never null
Added checks inside constructor of ObjectInputStreamWithLoader inner class. Test case added.

Reviewed-by: dfuchs, alanb
2016-09-06 13:57:03 +05:30
Phil Race
d6ba2efe5d Merge 2016-09-01 12:22:59 -07:00
Phil Race
6f12a4ff0d 8144015: [PIT] failures of text layout font tests
8144023: [PIT] failure of text measurements in javax/swing/text/html/parser/Parser/6836089/bug6836089.java
8145542: The case failed automatically and thrown java.lang.ArrayIndexOutOfBoundsException exception
8151725: [macosx] ArrayIndexOOB exception when displaying Devanagari text in JEditorPane
8144240: [macosx][PIT] AIOOB in closed/javax/swing/text/GlyphPainter2/6427244/bug6427244.java
8152680: Regression in GlyphVector.getGlyphCharIndex behaviour
8158924: Incorrect i18n text document layout
8041480: ArrayIndexOutOfBoundsException when JTable contains certain string

Reviewed-by: serb, srl
2016-09-01 11:29:20 -07:00
Phil Race
2551c0ae07 Merge 2016-09-01 08:39:27 -07:00
Prem Balakrishnan
63217bef37 8144735: [hidpi] javax/swing/JWindow/ShapedAndTranslucentWindows/TranslucentPerPixelTranslucentGradient.java fails
Reviewed-by: psadhukhan, vadim
2016-09-01 16:18:14 +05:30
Amit Sapre
277a5b423f 8164609: javax/management/remote/mandatory/notif/DeadListenerTest.java fails with Assertion Error
Increased test timeout to ensure test case gets all notifications.

Reviewed-by: dholmes
2016-09-01 15:02:32 +05:30
Alexander Scherbatiy
6449bab3d1 8163193: Metal L&F gradient is lighter on HiDPI display after the fix JDK-8143064
Reviewed-by: serb, ssadetsky
2016-08-31 11:13:53 +03:00
Phil Race
0e155b2a1b Merge 2016-08-29 08:53:32 -07:00
Bradford Wetmore
9cda798a33 8061842: Package jurisdiction policy files as something other than JAR
Reviewed-by: xuelei, weijun, mullan
2016-08-26 13:44:20 -07:00
Sean Mullan
83c2e4ef3c 8151893: Add security property to configure XML Signature secure validation mode
Reviewed-by: jnimeh, xuelei
2016-08-25 15:06:26 -04:00
David Dehaven
9c8bd63007 Merge 2016-08-19 08:47:12 -07:00
Valerie Peng
c846a862ee 8130181: Deprecate java.security.Provider(String, double, String), add Provider(Strin
Added Provider constructor which uses version String and use sun.security.util.PROVIDER_VER

Reviewed-by: weijun
2016-08-19 06:27:54 +00:00
Sibabrata Sahoo
ca2024b93f 8159964: Update Tests to verify JDK build for "JDK-8159488 Deprivilege java.xml.crypto"
Reviewed-by: valeriep
2016-08-16 12:34:00 +05:30
Artem Smotrakov
aacb739bbd 8162484: javax/net/ssl/Stapling/SSLSocketWithStapling.java test fails intermittently with "Address already in use" error
Reviewed-by: xuelei, jnimeh
2016-08-15 16:32:41 -07:00
David Dehaven
dbba0650a9 Merge 2016-08-15 08:15:02 -07:00
Brian Burkhalter
61860ae01d 8152966: ClassCastException when adding IFD to the TIFFDirectory before the image write
Move the private method getDirectoryAsIFD(TIFFDirectory) from the API class TIFFDirectory to a public method in the internal class TIFFIFD and replace all casts of TIFFDirectory to TIFFIFD with its invocation

Reviewed-by: prr
2016-08-12 14:35:56 -07:00
Pete Brunet
780aad0314 8161483: Implement AccessibleAction interface in JList.AccessibleJList.AccessibleJListChild
Move AccessibleAction implementation from subclass to AccessibleJListChild

Reviewed-by: alexsch, prr, darcy
2016-08-11 21:48:53 -05:00
Valerie Peng
27492ab667 6469513: (smartcardio) CardPermission(String termName, String actions) violates specification
Changed to allow null actions value

Reviewed-by: xuelei
2016-08-12 00:10:07 +00:00
Brian Burkhalter
d41cfa354a 8145014: "IIOException: Couldn't seek!" when calling TIFFImageReader.getNumImages()
In locateImage() break and decrement image count for zero-entry IFDs and on encountering an EOF.

Reviewed-by: prr
2016-08-11 11:35:47 -07:00
Phil Race
79b2dd4b8d Merge 2016-08-11 10:37:50 -07:00
Mandy Chung
e2a0ff3e0d 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Alexander Scherbatiy
56b7589578 8160986: Bad rendering of Swing UI controls with Metal L&F on HiDPI display
Reviewed-by: prr
2016-08-09 12:08:51 +03:00
Prasanta Sadhukhan
74f5aaca1c 5080098: Page Range must be disabled on the common print dlg for Non serv-formatted flvrs
Reviewed-by: prr, jdv
2016-08-09 13:22:58 +05:30
Alexander Scherbatiy
fa627e16d5 8162856: JSlider thumb is twice smaller on HiDPI display
Reviewed-by: prr, serb
2016-08-09 10:17:51 +03:00
Brian Burkhalter
f270d810ad 8150154: AIOOB Exception during sequential write of TIFF images
Need to reset isRescaling variable when resetting the ImageWriter.

Reviewed-by: prr
2016-08-08 11:09:19 -07:00
Robin Stevens
2bd07e4f39 8161664: Memory leak in com.apple.laf.AquaProgressBarUI removed progress bar still referenced
Reviewed-by: serb, alexsch
2016-08-08 11:40:39 +04:00
Phil Race
f154b67d33 Merge 2016-08-05 10:23:28 -07:00
Jayathirth D V
d375707075 8160943: skipImage() in JPEGImageReader class throws IIOException if we have gaps between markers in Jpeg image
Reviewed-by: prr, flar
2016-08-02 15:55:03 +05:30
Felix Yang
ee3076d84b 8157135: Fix module dependencies javax/* EE tests
Reviewed-by: alanb
2016-08-01 18:14:06 -07:00
Phil Race
8ab66b8911 Merge 2016-08-01 10:06:09 -07:00
Semyon Sadetsky
7c91e56ca7 8161195: Regression: closed/javax/swing/text/FlowView/LayoutTest.java
Reviewed-by: alexsch
2016-07-29 11:14:05 +03:00
Semyon Sadetsky
6ac698e26b 8160246: Regression: 4410243 reproducible with GTK LaF
Reviewed-by: alexsch
2016-07-29 10:56:30 +03:00
David Dehaven
b6c0aa1261 Merge 2016-07-28 09:29:38 -07:00
Bradford Wetmore
8c0b4c0358 8161527: NPE is thrown if exempt application is bundled with specific cryptoPerms
Reviewed-by: xuelei
2016-07-28 12:09:07 -07:00
David Dehaven
dd116aa128 Merge 2016-07-28 09:01:30 -07:00
David Dehaven
dd5b13bacb Merge 2016-07-26 14:45:11 -07:00
Sergey Bylokhov
c322804814 8159899: [TEST_BUG] Timeout in tests when OOM should be generated
Reviewed-by: yan, ssadetsky
2016-07-26 15:55:22 +03:00
Valerie Peng
9a82da0c94 8159488: Deprivilege java.xml.crypto
Update java.policy with the necessary permissions and minor code refactoring

Reviewed-by: mullan
2016-07-27 01:24:09 +00:00
Sibabrata Sahoo
1e34f70a1d 8151654: Additional modular test for "auth.login.defaultCallbackHandler"
Reviewed-by: mchung, weijun
2016-07-26 09:53:35 +08:00
Xue-Lei Andrew Fan
d39fdb1811 8161106: Improve SSLSocket test template
Reviewed-by: weijun, jnimeh, asmotrak
2016-07-25 05:39:05 +00:00
Phil Race
f3b4127564 8140314: Verify IIOMetadataFormat class on loading
Reviewed-by: bpb
2016-07-22 15:57:57 -07:00
Brian Burkhalter
13f9c0a307 8148454: [PIT] Failure of ReplaceMetadataTest on TIFF with IllegalStateException
Move super.setOutput() to end of setOutput() to avoid setting super.output to null

Reviewed-by: prr
2016-07-22 14:32:49 -07:00
Ajit Ghaisas
40c1e2c376 7096375: Swing ignores first click after decreasing system's time
Reviewed-by: alexsch, rchamyal
2016-07-22 12:13:24 +05:30
Prasanta Sadhukhan
87b4dabe23 4882305: StreamPrintServ.getSupportedAttributeValues returns null for Orientation attr
Reviewed-by: prr, jdv
2016-07-22 10:53:01 +05:30
Anthony Scarpino
941822bf15 8155973: Tighten jar checks
Reviewed-by: mullan, igerasim, ahgross
2016-07-21 10:33:56 -07:00
Avik Niyogi
93fe235cf7 8163161: [PIT][TEST_BUG] increase timeout in javax/swing/plaf/nimbus/8057791/bug8057791.java
Reviewed-by: alexsch, rchamyal
2016-08-25 13:46:17 +05:30
Brian Burkhalter
60eccdede5 8149562: TIFFField#createFromMetadataNode javadoc should provide information about sibling/child nodes that should be part of parameter node
Add a throws clause to the TIFFField.createFromMetadataNode method specification stating that the supplied Node parameter must adhere to the TIFFField element structure defined by the TIFF native image metadata DTD.

Reviewed-by: prr, darcy, serb
2016-08-24 10:59:17 -07:00
Sergey Bylokhov
201065a6ba 8160217: JavaSound should clean up resources better
Reviewed-by: prr
2016-08-23 20:45:35 +03:00
Prasanta Sadhukhan
82a6f08720 8163922: Print-to-file is disabled for SERVICE_FORMATTED docflavor in linux
Reviewed-by: prr, jdv
2016-08-23 10:27:47 +05:30
David Dehaven
d540704400 Merge 2016-08-22 10:02:10 -07:00
Alexander Scherbatiy
966cbcfce3 8151303: [macosx] [hidpi] JButton's low-res. icon is visible when clicking on it
8156182: [macosx] HiDPI/Retina icons do not work for disabled JButton/JMenuItem etc

Reviewed-by: flar, prr
2016-08-19 16:48:53 +04:00
Jayathirth D V
5390af7c2b 8163258: Getting NullPointerException from ImageIO.getReaderWriterInfo due to failure to check for null
Reviewed-by: prr, psadhukhan
2016-08-19 12:22:23 +05:30
Prasanta Sadhukhan
cd6bfaf6d2 8164205: [PIT][TEST_BUG] test javax/print/attribute/ServiceDlgPageRangeTest.java doesn't compile
Reviewed-by: prr
2016-08-18 10:46:48 +05:30
Avik Niyogi
71b91c6ce1 8163169: [PIT][TEST_BUG] fix to JDK-8161470 doesn't work
Reviewed-by: alexsch, rchamyal
2016-08-17 14:42:14 +05:30
Semyon Sadetsky
b55e203e17 8159587: IOOBE in javax/swing/JFileChooser/7199708/bug7199708.java
Reviewed-by: alexsch
2016-07-18 09:44:13 +03:00
Goetz Lindenmaier
e52b963d0c 8160974: [TESTBUG] Mark more headful tests with @key headful
Reviewed-by: serb, simonis
2016-07-07 16:21:45 +02:00
Avik Niyogi
1ffa10e13a 8161470: Failure javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java
Reviewed-by: alexsch, rchamyal
2016-07-20 14:17:41 +05:30
Avik Niyogi
b86418d365 8160438: javax/swing/plaf/nimbus/8057791/bug8057791.java fails
Reviewed-by: alexsch, rchamyal
2016-07-20 11:25:57 +05:30
Prasanta Sadhukhan
53e6f45619 5080830: SheetCollate is not handled properly by the cross platform print dlg
Reviewed-by: prr, jdv
2016-07-15 15:30:15 +05:30
Alexander Scherbatiy
b172f7afd8 8143064: Icons are not properly rendered with Windows L&F on HiDPI display
Reviewed-by: ssadetsky
2016-07-13 21:37:17 +03:00
Jayathirth D V
68aae8c142 7059970: Test case: javax/imageio/plugins/png/ITXtTest.java is not closing a file
Reviewed-by: prr, bpb, psadhukhan
2016-07-13 17:34:26 +05:30