Commit Graph

9550 Commits

Author SHA1 Message Date
Phil Race
88effc9744 Merge 2015-12-22 10:45:56 -08:00
Claes Redestad
c6afc47fc1 8145862: Improve lazy initialization of fields in java.net.URI
Reviewed-by: shade, chegar
2015-12-22 19:14:47 +01:00
Phil Race
52a03c2f27 Merge 2015-12-22 09:14:16 -08:00
Claes Redestad
22df7c453f 8145988: Use the raw methods of java.net.URI when possible
Reviewed-by: shade, chegar
2015-12-22 16:42:16 +01:00
Chris Hegarty
7e4d56677d 8145990: Move sun.misc math support classes to jdk.internal.math
Reviewed-by: bpb, darcy
2015-12-22 12:17:25 +00:00
Alexander Scherbatiy
77fff4497e 8133039: Provide public API to sun.swing.UIAction#isEnabled(Object)
Reviewed-by: serb, azvegint
2015-12-22 05:34:49 +04:00
David Buck
cbba70caa3 Merge 2015-12-21 21:14:19 +01:00
Claes Redestad
5f1918e76e 8145680: Remove unnecessary explicit initialization of volatile variables in java.base
Reviewed-by: alanb, chegar, jfranck, shade
2015-12-21 20:54:00 +01:00
Roger Riggs
197207b152 8138696: java.lang.ref.Cleaner - an easy to use alternative to finalization
Reviewed-by: mchung, mr, chegar, plevart, kbarrett, dholmes
2015-12-21 11:34:14 -05:00
Daniel Fuchs
72bed9c5df 8145686: SimpleConsoleLogger and LogRecord should take advantage of StackWalker to skip classes implementing System.Logger
Methods defined on classes implementing System.Logger will be skipped when looking for the calling method.

Reviewed-by: mchung
2015-12-21 13:30:58 +01:00
Athijegannathan Sundararajan
4ab55ae7c1 8145750: jjs fails to run simple scripts with security manager turned on
Reviewed-by: hannesw, alanb
2015-12-21 09:40:00 +05:30
Claes Redestad
4e062cde34 8144723: MethodHandleImpl.initStatics is no longer needed
Reviewed-by: vlivanov, mhaupt, forax
2015-12-19 02:24:27 +01:00
Xue-Lei Andrew Fan
fd27d80dbd 8049321: Support SHA256WithDSA in JSSE
Reviewed-by: wetmore, mullan
2015-12-18 23:54:51 +00:00
Xue-Lei Andrew Fan
80015b7586 8133070: Hot lock on BulkCipher.isAvailable
Reviewed-by: mullan
2015-12-23 03:51:35 +00:00
Chris Hegarty
7f221493d8 8146000: Remove sun.mics.CompoundEnumeration
Reviewed-by: coffeys, shade
2015-12-22 21:32:29 +00:00
Chris Hegarty
626fc9bc75 8146038: CleanerImpl should not depend on ManagedLocalsThread
Reviewed-by: rriggs
2015-12-22 21:30:48 +00:00
Chris Hegarty
355dac1a4c 8056152: API to create Threads that do not inherit inheritable thread-local initial values
Reviewed-by: alanb, dholmes, mchung, mr, rriggs
2015-12-18 16:06:24 +00:00
Vyom Tewari
719833448a 4823133: RandomAccessFile.length() is not thread-safe
RandomAccessFile.length() is not thread-safe

Reviewed-by: rriggs, dfuchs, martin, dsamersoff
2015-12-18 16:06:26 +05:30
Claes Redestad
01b7a38291 8146526: Improve java.net.URI$Parser startup characteristics
Reviewed-by: chegar, alanb
2016-01-06 20:16:59 +01:00
Brian Burkhalter
ae68be4a75 8146041: java.net.URLConnection.guessContentTypeFromStream() does not recognize TIFF streams
Add detection of TIFF magic numbers.

Reviewed-by: rriggs, chegar
2016-01-06 10:15:37 -08:00
Chris Hegarty
0c7d3be7a8 8146484: Examine sun.misc.MessageUtils
Reviewed-by: alanb, mchung, sherman
2016-01-06 17:40:48 +00:00
Rob McKenna
9c4f76c2e6 8146105: Undo accidential changes to sun/security/ssl/SignatureAndHashAlgorithm.java
Reviewed-by: xuelei
2016-01-06 15:13:23 +00:00
Chris Hegarty
aa0ef2e9f5 8145544: Move sun.misc.VM to jdk.internal.misc
Reviewed-by: alanb, mullan, weijun
2016-01-06 10:01:44 +00:00
Brian Burkhalter
119f59143f 8050499: (ch) NativeSignal.signal fails with error 316 on OS X
Do not throw an exception when ESRCH returned by pthread_kill() on OS X.

Reviewed-by: alanb
2016-01-05 13:57:32 -08:00
Nadeesh TV
e49fa68b05 8146489: @since tag missed
Reviewed-by: lancea, rriggs
2016-01-05 14:33:35 -05:00
Paul Sandoz
5d45834ee3 8145006: Collections.asLifoQueue(null) doesn't throw NPE as specified
Reviewed-by: smarks
2015-12-18 09:59:25 +01:00
Aleksey Shipilev
4e9bef8f92 8145539: (coll) AbstractMap.keySet and .values should not be volatile
Reviewed-by: redestad, plevart, dl, psandoz
2015-12-17 21:14:58 +03:00
Aleksey Shipilev
acc5017a2e 8145428: Optimize StringUTF16 compress/copy methods for C1
Reviewed-by: redestad, psandoz, sherman, rriggs
2015-12-17 20:42:01 +03:00
Laurent Bourgès
8d70fa8891 8145608: PNG writer should permit setting compression level and iDAT chunk maximum size
Reviewed-by: serb, prr
2015-12-16 15:29:57 -08:00
Phil Race
2a51a0bf5e 8146508: 6488522 was committed with incorrect author attribution
Reviewed-by: bpb
2015-12-16 15:22:56 -08:00
Phil Race
20a2e2f7eb 6488522: PNG writer should permit setting compression level and iDAT chunk maximum size
Reviewed-by: serb, prr
2015-12-16 14:36:37 -08:00
Laurent Bourgès
c24ee88e8b 8144718: Pisces / Marlin Strokers may generate invalid curves with huge coordinates and round joins
Reviewed-by: flar, prr
2015-12-16 13:24:19 -08:00
Joel Borggrén-Franck
5c29ca104e 8057804: AnnotatedType interfaces provide no way to get annotations on owner type
Reviewed-by: darcy, redestad
2015-12-16 20:00:03 +01:00
Roger Riggs
570ebc4176 8032510: Add java.time.Duration.dividedBy(Duration)
Reviewed-by: rriggs, scolebourne
2015-12-16 13:00:29 -05:00
Chris Hegarty
bc11b9c8b5 8144479: Remove character coders from sun.misc
Reviewed-by: psandoz, rriggs
2015-12-16 12:17:03 +00:00
Chris Hegarty
6853999d56 8145416: Move sun.misc.ProxyGenerator to java.lang.reflect
Reviewed-by: alanb, mchung, rriggs
2015-12-16 08:42:00 +00:00
Mandy Chung
c7bbc840f5 8145430: Fix typo in StackWalker javadoc
Reviewed-by: dfuchs, darcy
2015-12-15 13:02:01 -08:00
Sebastian Sickelmann
fb053862e5 4906983: java.net.URL constructors throw MalformedURLException in undocumented way
Added some testcases for the corner-cases in question and clarified javadoc

Reviewed-by: chegar, msheppar
2015-12-15 17:35:27 +01:00
Brian Burkhalter
7a0c72ef9c 8143394: PushbackReader throws NullPointerException
Synchronize on lock in close() to avoid NPE from read()-close() race.

Reviewed-by: alanb, dfuchs
2015-12-15 09:02:46 -08:00
Xueming Shen
f98f28d1df 8145343: CorruptEntry.java fails after push for JDK-8145260
Reviewed-by: weijun
2015-12-15 08:54:35 -08:00
Phil Race
e601b5cebe Merge 2015-12-14 14:12:17 -08:00
Laurent Bourgès
56b95fdc2e 8145055: Marlin renderer causes unaligned write accesses
Reviewed-by: flar, prr
2015-12-14 14:08:37 -08:00
Chris Hegarty
12858e2f81 8145214: Remove sun.misc.Request and RequestProcessor
Reviewed-by: alanb, mchung, rriggs
2015-12-14 19:30:13 +00:00
Chris Hegarty
a979586dce 8144995: Move sun.misc.HexDumpEncoder to sun.security.util
Reviewed-by: psandoz, mchung
2015-12-14 19:24:33 +00:00
Phil Race
6447b5bb8b Merge 2015-12-14 10:36:12 -08:00
Xueming Shen
2b91819eec 8145260: To bring j.u.z.ZipFile's native implementation to Java to remove the expensive jni cost and mmap crash risk [2]
Reviewed-by: coffeys
2015-12-14 09:27:15 -08:00
Shinya Yoshida
38302301fd 8144675: Add a filtering collector
Reviewed-by: psandoz, smarks
2015-12-13 15:20:35 +01:00
Tagir Valeev
2a1775f3b1 8145007: Pattern splitAsStream is not late binding as required by the specification
Reviewed-by: chegar, psandoz
2015-12-13 15:10:13 +01:00
Stuart Marks
82c454ff4a 8144952: add wildcards to the Map.ofEntries() method
Reviewed-by: darcy, psandoz, chegar
2015-12-11 17:01:01 -08:00
Brian Burkhalter
a3e2ce543c 8144997: "IIOException: Field data is past end-of-stream" when calling TIFFImageReader.read()
Instead of failing for an IFD entry with bad type or offset, continue with the next entry.

Reviewed-by: prr
2015-12-11 15:07:35 -08:00
Brian Burkhalter
5b1765f25d 8144245: [PIT] javax/imageio/plugins/shared/WriteAfterAbort.java
Reset stream position after abort; change IAEs to NPEs.

Reviewed-by: prr, serb
2015-12-11 11:38:18 -08:00
Volker Simonis
c0929b433d 8145077: AIX: fix harfbuzz support
Reviewed-by: prr
2015-12-11 16:16:55 +01:00
Sean Mullan
6578dc0aa5 8144784: Remove @Deprecated annotation from java.security.acl, javax.security.cert and com.sun.jarsigner packages
Reviewed-by: mchung, weijun, wetmore
2015-12-11 09:34:56 -05:00
Chris Hegarty
61f49a0663 8145390: Remove sun.misc.Queue and replace usages with standard Collections
Reviewed-by: psandoz, mchung, serb
2015-12-15 10:11:04 +00:00
Naveen Kumar
b831ed3c8b 8139572: SimpleDateFormat parse month stand-alone format bug
Reviewed-by: okutsu
2015-12-15 16:42:30 +09:00
Laurent Bourgès
583937011a 8144654: Improve Marlin logging
Reviewed-by: prr, flar
2015-12-10 15:58:01 -08:00
Laurent Bourgès
80222f5b67 8144445: Maximum size checking in Marlin ArrayCache utility methods is not optimal
Reviewed-by: prr, flar
2015-12-10 15:52:14 -08:00
Laurent Bourgès
bb10c3f0de 8144446: Automate the Marlin crash test
Reviewed-by: prr, flar
2015-12-10 15:45:18 -08:00
Phil Race
c588dd42dd 8144858: HBShaper.c does not compiler with VS2010
Reviewed-by: serb, simonis
2015-12-10 12:51:08 -08:00
Phil Race
47cd79c08d Merge 2015-12-10 11:46:23 -08:00
Peter Brunet
eb2d3e3a7b 8071334: Investigate JAB changes required to support the version string change
Remove use of java.version property; no longer needed

Reviewed-by: van, alexsch
2015-12-10 12:16:29 -06:00
Prasanta Sadhukhan
946e0bc9cc 8040139: Test closed/javax/print/attribute/Services_getDocFl.java fails with NullpointerException
Reviewed-by: jdv, prr
2015-12-10 16:09:42 +03:00
Avik Niyogi
7d9d3a4699 8139169: [macosx] Action registered for keyboard shortcut is called twice
Reviewed-by: serb, alexsch
2015-12-10 14:21:44 +03:00
Chris Hegarty
edabf4afb3 8145082: Remove sun.misc.Unsafe dependency from sun.nio.cs.StringUTF16
Reviewed-by: psandoz, sherman
2015-12-10 10:04:41 +00:00
Xue-Lei Andrew Fan
e03cf9daf6 8136410: AlgorithmDecomposer is not parsing padding correctly
Reviewed-by: weijun
2015-12-10 06:09:36 +00:00
Phil Race
5999226f52 8137106: EUDC (End User Defined Characters) are not displayed on Windows with Java 8u60+
Reviewed-by: serb, jgodinez
2015-12-09 15:20:39 -08:00
Laurent Bourgès
dcf0684317 8144828: Marlin renderer causes unaligned write accesses
Reviewed-by: prr, flar
2015-12-09 13:59:45 -08:00
Nadeesh TV
7d2c07c70d 8142936: Add java.time.Duration methods for days, hours, minutes, seconds, etc
Reviewed-by: rriggs, scolebourne
2015-12-09 15:27:21 -05:00
Sergey Bylokhov
3144cc4a27 8143909: Behavior of null arguments not specified in javax.sound.midi.spi
The specification change was reviewed by Florian Bomers also

Reviewed-by: amenkov
2015-12-09 18:56:59 +03:00
Ambarish Rapte
f23d71b4f4 8144915: TextField throws NPE
Reviewed-by: ssadetsky, serb
2015-12-09 18:12:49 +03:00
Rachna Goel
ee046050d6 8025547: Locale.toString() documentation error
Updated API doc of Locale.toString method.

Reviewed-by: okutsu
2015-12-09 14:20:51 +05:30
Claes Redestad
d37bb2422b 8143127: InvokerBytecodeGenerator emitConst should handle Byte, Short, Character
Reviewed-by: vlivanov, shade, forax
2015-12-09 18:25:36 +01:00
Rob McKenna
6af208a485 8143397: It looks like InetAddress.isReachable(timeout) works incorrectly
Reviewed-by: xuelei, msheppar
2015-12-09 15:16:00 +00:00
Xue-Lei Andrew Fan
30655cc742 8141651: Deadlock in sun.security.ssl.SSLSocketImpl
Reviewed-by: weijun
2015-12-09 10:36:33 +00:00
Stuart Marks
d42e70fc3c 8139232: JEP-269 initial API and skeleton implementations
Reviewed-by: psandoz, rriggs
2015-12-08 13:48:22 -08:00
Xueming Shen
b0e22f9603 8144958: changes by JDK-8142508 seems to have broken jtreg
Reviewed-by: darcy
2015-12-08 16:43:58 -08:00
Xueming Shen
44a8a73eb6 8142508: To bring j.u.z.ZipFile's native implementation to Java to remove the expensive jni cost and mmap crash risk
Reviewed-by: coffeys
2015-12-08 09:25:01 -08:00
Ambarish Rapte
7c018b1a00 8060137: Removing Text from TextField / TextArea is not possible after typing
Reviewed-by: ssadetsky, psadhukhan
2015-12-09 02:41:51 +04:00
Prasanta Sadhukhan
5bfc44dca2 7160052: GlyphVector.setGlyphPosition can throw an exception on valid input
Reviewed-by: jdv, serb
2015-12-08 11:25:47 +03:00
Athijegannathan Sundararajan
4d646ce633 8143404: Remove apple script engine code in jdk repository
Reviewed-by: alanb, mchung
2015-12-08 10:13:57 +05:30
Alejandro Murillo
8fcd92f7ae Merge 2015-12-07 10:05:08 -08:00
Daniel Fuchs
66f1f09adb 8144262: LogRecord.getMillis() method is a convenience API that should not have been deprecated
LogRecord.getMillis() is no longer deprecated. LogRecord.setInstant() check that the instant millis can fit in a long millisecond-since-epoch.

Reviewed-by: lancea, rriggs, smarks
2015-12-07 12:35:37 +01:00
Laurent Bourgès
cdb4a75a00 8144630: Use PrivilegedAction to create Thread in Marlin RendererStats
Reviewed-by: prr, flar
2015-12-05 09:48:43 -08:00
Prasanta Sadhukhan
9c2dc1edf5 8140530: Creating a VolatileImage with size 0, 0 results in no longer working g2d.drawStri
Reviewed-by: flar, serb
2015-12-04 13:52:21 +03:00
Alejandro Murillo
8d7fe09e10 Merge 2015-12-03 22:30:21 -08:00
Rajeev Chamyal
3096b2cc2f 8067660: JFileChooser create new folder fails silently
Reviewed-by: alexsch, psadhukhan
2015-12-04 09:56:50 +04:00
Phil Race
3c2bc66bb7 Merge 2015-12-03 11:56:10 -08:00
Alexey Ivanov
6ffba3b398 8134152: Public API for java 8 DataFlavor fields do not have @since tag
Reviewed-by: ssadetsky, alexsch
2015-12-03 15:22:31 +03:00
Michael Haupt
03e64cef7b 8143343: add JEP 274 Javadoc tests to JavaDocExamplesTest
Reviewed-by: sundar
2015-12-03 15:36:20 +01:00
Michael Haupt
d66865cb0f 8072844: Use more efficient LambdaForm type representation
Reviewed-by: sundar, redestad
2015-12-03 15:34:39 +01:00
Sergey Bylokhov
59accc606b 8131754: AquaTreeUI.getCollapsedIcon() issue reported in java beans tests with a modular build
Reviewed-by: malenkov, alexsch
2015-12-03 12:27:02 +05:30
Hamlin Li
d3f047f9cf 8144214: Some log messages will be discarded when VM is bootstrapping
Use logp instead of log.

Reviewed-by: dfuchs
2015-12-02 19:27:16 -08:00
Masayoshi Okutsu
00cf15a96c 8141243: Unexpected timezone returned after parsing a date
Reviewed-by: naoto, peytoia
2015-12-03 15:34:08 +09:00
Phil Race
26a709b671 Merge 2015-12-02 16:45:03 -08:00
Phil Race
ab52dbb30c Merge 2015-12-02 16:37:55 -08:00
Stuart Marks
2b8f5ec785 8143858: typo in Timer.purge() doc
Reviewed-by: darcy
2015-12-02 14:18:26 -08:00
Jiri Vanek
854c765186 8144071: ImageIO does not reset stream if an exception is thrown
Reset the I/O stream in a finally block

Reviewed-by: andrew
2015-12-02 21:23:59 +00:00
Vyom Tewari
dc93a924ee 6856817: Poor performance of Writer#append with CharBuffer
Poor performance of Writer#append with CharBuffer

Reviewed-by: rriggs, dfuchs, sherman, shade
2015-12-02 21:32:40 +01:00
Phil Race
c410a92fed Merge 2015-12-02 11:22:27 -08:00
Phil Race
7e996b873c 8144526: Remove Marlin logging use of deleted internal API
Reviewed-by: flar
2015-12-02 10:47:21 -08:00