/hg/icedtea7: 2 new changesets
andrew at icedtea.classpath.org
andrew at icedtea.classpath.org
Thu Oct 16 20:54:41 UTC 2014
changeset 819e7184aa19 in /hg/icedtea7
details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=819e7184aa19
author: Andrew John Hughes <gnu_andrew at member.fsf.org>
date: Thu Oct 16 01:47:14 2014 +0100
Add 2.5.3 release notes.
2014-10-15 Andrew John Hughes <gnu.andrew at member.fsf.org>
* NEWS: Add 2.5.3 release notes.
changeset 2b88a80cab70 in /hg/icedtea7
details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=2b88a80cab70
author: Andrew John Hughes <gnu_andrew at member.fsf.org>
date: Thu Oct 16 21:36:25 2014 +0100
Bump to icedtea-2.6pre09.
PR2003: --disable-system-gtk option broken by refactoring in PR1736
PR2009: Checksum of policy JAR files changes on every build
PR2025: LCMS_CFLAGS & LCMS_LIBS should not be used unless SYSTEM_LCMS is enabled
RH1015432: java-1.7.0-openjdk: Fails on PPC with StackOverflowError (revised comprehensive fix)
S4792059: test/java/io/pathNames/GeneralSolaris.java fails on symbolic links
S6545422: [TESTBUG] NativeErrors.java uses wrong path name in exec
S6642881: Improve performance of Class.getClassLoader()
S6653795: C2 intrinsic for Unsafe.getAddress performs pointer sign extension on 32-bit systems
S6883953: java -client -XX:ValueMapInitialSize=0 crashes
S7010989: Duplicate closure of file descriptors leads to unexpected and incorrect closure of sockets
S7047033: (smartcardio) Card.disconnect(boolean reset) does not reset when reset is true
S7058832: com/sun/net/httpserver/bugs/B6373555.java failing intermittently
S7087021: TEST: com/sun/crypto/provider/Mac/MacClone.java failed on Solaris sparc 5.10
S7122142: (ann) Race condition between isAnnotationPresent and getAnnotations
S7142035: assert in j.l.instrument agents during shutdown when daemon thread is running
S7158636: InterfaceAddress.getBroadcast() returns invalid broadcast address on WLAN
S7160837: DigestOutputStream does not turn off digest calculation when "close()" is called
S7169142: CookieHandler does not work with localhost
S7185456: (ann) Optimize Annotation handling in java/sun.reflect.* code for small number of annotations
S7195480: javax.smartcardio does not detect cards on Mac OS X
S7197159: accept different kvno if there no match
S8001105: findVirtual of Object[].clone produces internal error
S8001108: an attempt to use "<init>" as a method name should elicit NoSuchMethodException
S8001109: arity mismatch on a call to spreader method handle should elicit IllegalArgumentException
S8001472: api/java_awt/Window/indexTGF_* tests fail because expected colors aren't equal
S8005232: (JEP-149) Class Instance size reduction
S8009258: TEST_BUG:java/io/pathNames/GeneralWin32.java fails intermittently
S8011646: SEGV in compiled code with loop predication
S8012026: [macosx] Component.getMousePosition() does not work in an applet on MacOS
S8012625: Incorrect handling of HTTP/1.1 " Expect: 100-continue " in HttpURLConnection
S8012637: Adjust CipherInputStream class to work in AEAD/GCM mode
S8012941: JSR 292: too deep inlining might crash compiler because of stack overflow
S8013836: getFirstDayOfWeek reports wrong day for pt-BR locale
S8015256: Better class accessibility
S8015421: NegativeArraySizeException occurs in ChunkedOutputStream() with Integer.MAX_VALUE
S8015586: [macosx] Test closed/java/awt/print/PrinterJob/PrintToDir.java fails on MacOSX
S8015628: Test Failure in closed/java/io/pathNames/GeneralSolaris.java
S8016545: java.beans.XMLEncoder.writeObject output is wrong
S8017212: File.createTempFile requires unnecessary "read" permission
S8019324: assert(_f2 == 0 || _f2 == f2) failed: illegal field change
S8019623: Lack of synchronization in AppContext.getAppContext()
S8021372: NetworkInterface.getNetworkInterfaces() returns duplicate hardware address
S8021804: Certpath validation fails if validity period of root cert does not include validity period of intermediate cert
S8022070: Compilation error in stubGenerator_sparc.cpp with some compilers
S8022229: Intermittent test failures in sun/tools/jstatd
S8022721: TEST_BUG: AnnotationTypeDeadlockTest.java throws java.lang.IllegalStateException: unexpected condition
S8022783: Optimize C2 optimizations
S8024061: Exception thrown when drag and drop between two components is executed quickly
S8024283: 10 nashorn tests fail with similar stack trace InternalError with cause being NoClassDefFoundError
S8024616: JSR292: lazily initialize core NamedFunctions used for bootstrapping
S8025051: Update resource files for TimeZone display names
S8025644: java/util/stream/test/org/openjdk/tests/java/util/stream/ToArrayOpTest.java fails with TestData): failure java.lang.AssertionError: expected [true] but found [false]
S8025917: JDK demo applets not running with >=7u40 or (JDK 8 and JDK 9)
S8026792: HOTSPOT: licensee reports a JDK8 build failure after 8005849/8005008 fixes integrated.
S8027359: XML parser returns incorrect parsing results
S8028159: C2: compiler stack overflow during inlining of @ForceInline methods
S8028192: Use of PKCS11-NSS provider in FIPS mode broken
S8028280: ParkEvent leak when running modified runThese which only loads classes
S8028616: Htmleditorkit parser doesn't handle leading slash (/)
S8028617: Dvorak keyboard mapping not honored when ctrl key pressed
S8028623: SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters.
S8028627: Unsynchronized code path from javax.crypto.Cipher to the WeakHashMap used by JceSecurity to store codebase mappings
S8028631: Improve the test coverage to the pathname handling on unix-like platforms
S8028726: (prefs) Check src/solaris/native/java/util/FileSystemPreferences.c for JNI pending exceptions
S8029153: [TESTBUG] test/compiler/7141637/SpreadNullArg.java fails because it expects NullPointerException
S8029190: VM_Version::determine_features() asserts on Fujitsu Sparc64 CPUs
S8029302: Performance regression in Math.pow intrinsic
S8029607: Type of Service (TOS) cannot be set in IPv6 header
S8029837: NPE seen in XMLDocumentFragmentScannerImpl.setProperty since 7u40b33
S8031290: Adjust call to getisax() for additional words returned
S8031502: JSR292: IncompatibleClassChangeError in LambdaForm for CharSequence.toString() method handle type converter
S8032078: [macosx] CPlatformWindow.setWindowState throws RuntimeException, if windowState=ICONIFIED|MAXIMIZED_BOTH
S8032585: JSR292: IllegalAccessError when attempting to invoke protected method from different package
S8032669: Mouse release not being delivered to Swing component in 7u45
S8032788: ImageIcon constructor throws an NPE and hangs when passed a null String parameter
S8032808: Support Solaris SO_FLOW_SLA socket option
S8032872: [macosx] Cannot select from JComboBox in a JWindow
S8032874: ArrayIndexOutOfBoundsException in JTable while clearing data in JTable
S8032878: Editable combos in table do not behave as expected
S8032909: XSLT string-length returns incorrect length when string includes complementary chars
S8033113: wsimport fails on WSDL:header parameter name customization
S8033278: Missed access checks for Lookup.unreflect* after 8032585
S8033696: "assert(thread != NULL) failed: just checking" due to Thread::current() and JNI pthread interaction
S8034200: Test java/net/CookieHandler/LocalHostCookie.java fails after fix of JDK-7169142
S8035162: Service printing service
S8035613: With active Securitymanager JAXBContext.newInstance fails
S8035781: Improve equality for annotations
S8036022: D3D: rendering with XOR composite causes InternalError.
S8036709: Java 7 jarsigner displays warning about cert policy tree
S8036805: Correct linker method lookup.
S8036810: Correct linker field lookup
S8036819: JAB: mneumonics not read for textboxes
S8036823: Stack trace sometimes shows 'locked' instead of 'waiting to lock'
S8036861: Application can't be loaded fine,the save dialog can't show up.
S8036863: Update jdk7 testlibrary to match jdk8 in hotspot
S8036936: Use local locales
S8036981: JAXB not preserving formatting for xsd:any Mixed content
S8036983: JAB:Multiselection Ctrl+CursorUp/Down and ActivateDescenderPropertyChanged event
S8037066: Secure transport layer
S8037477: Reproducible hang of JAWS and webstart application with JAB 2.0.4
S8037846: Ensure streaming of input cipher streams
S8038000: java.awt.image.RasterFormatException: Incorrect scanline stride
S8038274: update 8u fix for 8028073 now that 8028280 is backported to 8u
S8038364: Use certificate exceptions correctly
S8038899: Safer safepoints
S8038903: More native monitor monitoring
S8038908: Make Signature more robust
S8038913: Bolster XML support
S8038925: Java with G1 crashes in dump_instance_fields using jmap or jcmd without fullgc
S8039050: Crash in C2 compiler at Node::rematerialize
S8039097: Some tests fail with NPE since 7u60 b12
S8039298: assert(base == NULL || t_adr->isa_rawptr() || ! phase->type(base)->higher_equal(TypePtr::NULL_PTR))
S8039319: (smartcardio) Card.transmitControlCommand() does not work on Mac OS X
S8039396: NPE when writing a class descriptor object to a custom ObjectOutputStream
S8039509: Wrap sockets more thoroughly
S8039520: More atomicity of atomic updates
S8039533: Higher resolution resolvers
S8040168: Set hotspot version to hs24.66 and build to b01 for 7u66
S8040617: [macosx] Large JTable cell results in a OutOfMemoryException
S8041132: Increment hsx 24.66 build to b02 for 7u66-b09
S8041408: Increment hsx 24.55 build to b04 for 7u55-b34
S8041451: com.sun.jndi.ldap.Connection:ReadTimeout should abandon ldap request
S8041529: Better parameterization of parameter lists
S8041540: Better use of pages in font processing
S8041545: Better validation of generated rasters
S8041564: Improved management of logger resources
S8041717: Issue with class file parser
S8041791: String.toLowerCase regression - violates Unicode standard
S8042052: assert(t != NULL) failed: must set before get
S8042059: Various fixes to linux/sparc
S8042582: Test java/awt/KeyboardFocusmanager/ChangeKFMTest/ChangeKFMTest.html fails on Windows x64
S8042590: Running form URL throws NPE
S8042603: 'SafepointPollOffset' was not declared in static member function 'static bool Arguments::check_vm_args_consistency()'
S8042609: Limit splashiness of splash images
S8042797: Avoid strawberries in LogRecord
S8042835: Remove mnemonic character from open, save and open directory JFileChooser's buttons
S8042850: Extra unused entries in ICU ScriptCodes enum
S8042857: 14 stuck threads waiting for notification on LDAPRequest
S8043200: Decrease the preference mode of RC4 in the enabled cipher suite list
S8043205: Incorrect system traps.h include path
S8043206: Fix signed vs. unsigned comparison warning in copy_sparc.hpp
S8043207: Add const to Address argument for Assembler::swap
S8043210: Add _BIG_ENDIAN define on linux/sparc
S8043413: REGRESSION: Hotspot causes segmentation fault in jdk8ux, but not in jdk7ux
S8043507: javax.smartcardio.CardTerminals.list() fails on MacOSX
S8043610: Sorting columns in JFileChooser fails with AppContext NPE
S8044274: Proper property processing
S8044406: JVM crash with JDK8 (build 1.8.0-b132) with G1 GC
S8044602: Increment minor version of HSx for 7u72 and initialize the build number
S8044603: Increment minor version of HSx for 7u71 and initialize the build number
S8044659: Java SecureRandom on SPARC T4 much slower than on x86/Linux
S8044725: Bug in zlib 1.2.5 prevents inflation of some gzipped files (zlib 1.2.8 port)
S8046007: Java app receives javax.print.PrintException: Printer is not accepting job
S8046233: VerifyError on backward branch
S8046287: [TESTBUG] runtime/Thread/TestThreadDumpMonitorContention.java failed error_cnt=12
S8046343: (smartcardio) CardTerminal.connect('direct') does not work on MacOSX
S8046516: Segmentation fault in JVM (easily reproducible)
S8046769: Set T family feature bit on Niagara systems
S8047186: jdk.net.Sockets throws InvocationTargetException instead of original runtime exceptions
S8048080: (smartcardio) javax.smartcardio.Card.openLogicalChannel() dosn't work on MacOSX
S8048110: Using tables in JTextPane leads to infinite loop in FlowLayout.layoutRow
S8048212: Two tests failed with "java.net.SocketException: Bad protocol option" on Windows after 8029607
S8049081: Increment hsx 24.72 build to b02 for 7u72-b03
S8049250: Need a flag to invert the Card.disconnect(reset) argument
S8049343: (tz) Support tzdata2014g
S8049542: C2: assert(size_in_words <= (julong)max_jint) failed: no overflow
S8049684: pstack crashes on java core dump
S8049787: Increment hsx 24.72 build to b03 for 7u72-b04
S8050158: Introduce system property to maintain RC4 preference order
S8050165: linux-sparcv9: NMT detail causes assert((intptr_t*)younger_sp[FP->sp_offset_in_saved_window()] == (intptr_t*)((intptr_t)sp - STACK_BIAS)) failed: younger_sp must be valid
S8050167: linux-sparcv9: hs_err file does not show any stack information
S8050485: super() in a try block in a ctor causes VerifyError
S8051012: Regression in verifier for <init> method call from inside of a branch
S8051359: JPopupMenu creation in headless mode with JDK9b23 causes NPE
S8052162: REGRESSION: sun/java2d/cmm/ColorConvertOp tests fail since 7u71 b01
S8053963: (dc) Use DatagramChannel.receive() instead of read() in connect()
S8054019: Keytool Error publicKey's is not X.509, but X509
S8054530: C2: assert(res == old_res) failed: Inconsistency between old and new
S8054817: File ccache only recognizes Linux and Solaris defaults
S8054883: Segmentation error while running program
S8055176: 7u71 l10n resource file translation update
S8055421: (fs) bad error handling in java.base/unix/native/libnio/fs/UnixNativeDispatcher.c
S8055714: Increment hsx 24.72 build to b04 for 7u72-b11
S8055731: sun/security/smartcardio/TestDirect.java throws java.lang.IndexOutOfBoundsException
S8055949: ByteArrayOutputStream capacity should be maximal array size permitted by VM
S8056156: [TEST_BUG] Test javax/swing/JFileChooser/8046391/bug8046391.java fails in Windows
S8056211: api/java_awt/Event/InputMethodEvent/serial/index.html#Input[serial2002] failure
S8057184: JCK8's api/javax_swing/JDesktopPane/descriptions.html#getset failed with GTKLookAndFeel on Linux and Solaris
S8057564: JVM hangs at getAgentProperties after attaching to VM with lower
S8057813: Alterations to jdk_security3 test target
S8058936: hotspot/test/Makefile should use jtreg script from $JT_HOME/bin/jreg (instead of $JT_HOME/win32/bin/jtreg)
2014-10-16 Andrew John Hughes <gnu.andrew at member.fsf.org>
* Makefile.am,
(CORBA_CHANGESET): Update to icedtea-2.6pre09.
(JAXP_CHANGESET): Likewise.
(JAXWS_CHANGESET): Likewise.
(JDK_CHANGESET): Likewise.
(LANGTOOLS_CHANGESET): Likewise.
(OPENJDK_CHANGESET): Likewise.
(CORBA_SHA256SUM): Likewise.
(JAXP_SHA256SUM): Likewise.
(JAXWS_SHA256SUM): Likewise.
(JDK_SHA256SUM): Likewise.
(LANGTOOLS_SHA256SUM): Likewise.
(OPENJDK_SHA256SUM): Likewise.
* NEWS: Updated.
* configure.ac: Bump to 2.6.0pre09.
* hotspot.map.in: Update to icedtea-2.6.0pre09.
* patches/boot/ecj-diamond.patch:
Add new cases in javax.swing.JDesktopPane and
jdk.net.Sockets.
* patches/boot/ecj-multicatch.patch:
Add new cases in javax.crypto.CipherInputStream
and javax.crypto.CipherOutputStream.
* patches/boot/ecj-stringswitch.patch:
Add new case in
sun.reflect.annotation.AnnotationInvocationHandler.
diffstat:
ChangeLog | 32 +++++++
Makefile.am | 24 ++--
NEWS | 157 ++++++++++++++++++++++++++++++++++-
configure.ac | 2 +-
hotspot.map.in | 2 +-
patches/boot/ecj-diamond.patch | 60 +++++++++++++
patches/boot/ecj-multicatch.patch | 45 ++++++++++
patches/boot/ecj-stringswitch.patch | 21 ++++
8 files changed, 321 insertions(+), 22 deletions(-)
diffs (truncated from 547 to 500 lines):
diff -r 17d957f63b11 -r 2b88a80cab70 ChangeLog
--- a/ChangeLog Wed Sep 17 00:18:09 2014 +0100
+++ b/ChangeLog Thu Oct 16 21:36:25 2014 +0100
@@ -1,3 +1,35 @@
+2014-10-16 Andrew John Hughes <gnu.andrew at member.fsf.org>
+
+ * Makefile.am,
+ (CORBA_CHANGESET): Update to icedtea-2.6pre09.
+ (JAXP_CHANGESET): Likewise.
+ (JAXWS_CHANGESET): Likewise.
+ (JDK_CHANGESET): Likewise.
+ (LANGTOOLS_CHANGESET): Likewise.
+ (OPENJDK_CHANGESET): Likewise.
+ (CORBA_SHA256SUM): Likewise.
+ (JAXP_SHA256SUM): Likewise.
+ (JAXWS_SHA256SUM): Likewise.
+ (JDK_SHA256SUM): Likewise.
+ (LANGTOOLS_SHA256SUM): Likewise.
+ (OPENJDK_SHA256SUM): Likewise.
+ * NEWS: Updated.
+ * configure.ac: Bump to 2.6.0pre09.
+ * hotspot.map.in: Update to icedtea-2.6.0pre09.
+ * patches/boot/ecj-diamond.patch:
+ Add new cases in javax.swing.JDesktopPane and
+ jdk.net.Sockets.
+ * patches/boot/ecj-multicatch.patch:
+ Add new cases in javax.crypto.CipherInputStream
+ and javax.crypto.CipherOutputStream.
+ * patches/boot/ecj-stringswitch.patch:
+ Add new case in
+ sun.reflect.annotation.AnnotationInvocationHandler.
+
+2014-10-15 Andrew John Hughes <gnu.andrew at member.fsf.org>
+
+ * NEWS: Add 2.5.3 release notes.
+
2014-09-16 Andrew John Hughes <gnu.andrew at member.fsf.org>
* Makefile.am:
diff -r 17d957f63b11 -r 2b88a80cab70 Makefile.am
--- a/Makefile.am Wed Sep 17 00:18:09 2014 +0100
+++ b/Makefile.am Thu Oct 16 21:36:25 2014 +0100
@@ -4,19 +4,19 @@
BUILD_VERSION = b02
COMBINED_VERSION = $(JDK_UPDATE_VERSION)-$(BUILD_VERSION)
-CORBA_CHANGESET = a756dcabdae6
-JAXP_CHANGESET = fbc3c0ab4c1d
-JAXWS_CHANGESET = 646981c9ac47
-JDK_CHANGESET = 9702c7936ed8
-LANGTOOLS_CHANGESET = cdf407c97754
-OPENJDK_CHANGESET = df23e3760506
+CORBA_CHANGESET = 4e8ca30ec092
+JAXP_CHANGESET = f59ee5163710
+JAXWS_CHANGESET = 39dd7bed2325
+JDK_CHANGESET = 1ceeb31e72ca
+LANGTOOLS_CHANGESET = 55486a406d9f
+OPENJDK_CHANGESET = 7faf56bdd783
-CORBA_SHA256SUM = 4ff808d8a6a109cbcf5822aa0041579c2c770ad8a72d99270f1eb2f296a3539c
-JAXP_SHA256SUM = 9f1f8370e696212a3d637b2166a04467dcde18d603a8422dba4d85a930d11416
-JAXWS_SHA256SUM = b3503db871796b64c3702793bb99c183c0fb2058f48175b304ae187d90ef377b
-JDK_SHA256SUM = 1df589e5fbfb2d4d51e9864bf341cad2a9e6ac904691ac43ebe0da6c776c320d
-LANGTOOLS_SHA256SUM = c39d278aab303e837f1cdecb3b284af4a7e5524e457e67ca9ccef906c9c6e6a7
-OPENJDK_SHA256SUM = 0621bd1a03618c289e6781e6348419d42af71d03dda6c589be15677928659cd0
+CORBA_SHA256SUM = 8f134db97bde4da9de8c6cd2d3b7a356c29d5c209c4b6a67afac222125438966
+JAXP_SHA256SUM = 1bcdad1094b62c311d207631225ae421ea2e9d19260d74e431260c19247d2c52
+JAXWS_SHA256SUM = c85fed9f2458c12938d2a1c6fee0b302e87231b79d5eabb04aaba6b24ee252cd
+JDK_SHA256SUM = 2e80ff20774b750abfc662ecb54f4c4738e0a38192453c40c2d7ced393ba2a42
+LANGTOOLS_SHA256SUM = 3ef96c11ea2720b3c9e2a0ff7951cb4db2d5e6db45aa6f7762617b1a694e7650
+OPENJDK_SHA256SUM = 301bcd38fa62237e62e9ec2c30a43f36b0c25ad666a8b855ff1d8b0e68d05a2f
DROP_URL = http://icedtea.classpath.org/download/drops
diff -r 17d957f63b11 -r 2b88a80cab70 NEWS
--- a/NEWS Wed Sep 17 00:18:09 2014 +0100
+++ b/NEWS Thu Oct 16 21:36:25 2014 +0100
@@ -15,69 +15,94 @@
New in release 2.6.0 (2014-XX-XX):
* OpenJDK
+ - S4792059: test/java/io/pathNames/GeneralSolaris.java fails on symbolic links
- S4991647: PNGMetadata.getAsTree() sets bitDepth to invalid value
- S5036554: unmarshal error on CORBA alias type in CORBA any
- S6545422: [TESTBUG] NativeErrors.java uses wrong path name in exec
+ - S6642881: Improve performance of Class.getClassLoader()
- S6653795: C2 intrinsic for Unsafe.getAddress performs pointer sign extension on 32-bit systems
+ - S6883953: java -client -XX:ValueMapInitialSize=0 crashes
- S6984762: Invalid close of file descriptor '-1' in findZoneinfoFile
- S6993873: java/awt/Focus/FocusOwnerFrameOnClick/FocusOwnerFrameOnClick.java test indicates ".a frame wasn't focused on click" jdk7 issue on linux
+ - S7010989: Duplicate closure of file descriptors leads to unexpected and incorrect closure of sockets
- S7036518: TEST_BUG: add cygwin support to test/java/nio/charset/coders/CheckSJISMappingProp.sh
- S7047033: (smartcardio) Card.disconnect(boolean reset) does not reset when reset is true
- S7052170: javadoc -charset option generates wrong meta tag
+ - S7058832: com/sun/net/httpserver/bugs/B6373555.java failing intermittently
- S7076487: (sctp) SCTP API classes does not exist in JDK for Mac
- S7084032: test/java/net/Inet6Address/B6558853.java fails on Windows XP/2003 if IPv6
+ - S7087021: TEST: com/sun/crypto/provider/Mac/MacClone.java failed on Solaris sparc 5.10
- S7090324: gclog rotation via external tool
- S7095856: OutputStreamHook doesn't handle null values
- S7094099: DropDown List of JComboBox detached
- S7121403: [TESTBUG] runtime/7051189/Xchecksig.sh fails on 64bit solaris
- - S7122142: (ann) Race condition between isAnnotationPresent and getAnnotations
- S7130140: using horizontal scroll button on mouse causes a message to be printed on stdout
- S7142035: assert in j.l.instrument agents during shutdown when daemon thread is running
- S7152892: some jtreg tests fail with permission denied
- S7153157: ClassValue.get does not return if computeValue calls remove
+ - S7158636: InterfaceAddress.getBroadcast() returns invalid broadcast address on WLAN
- S7160604: Using non-opaque windows - popups are initially not painted correctly
- S7161320: TEST_BUG: java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java fails (Invalid key code)
- S7164841: Improvements to the GC log file rotation
- S7169142: CookieHandler does not work with localhost
- S7172865: PropertyDescriptor fails to work with setter method name if setter is non-void
+ - S7185456: (ann) Optimize Annotation handling in java/sun.reflect.* code for small number of annotations
- S7195480: javax.smartcardio does not detect cards on Mac OS X
- S7199674: (props) user.home property does not return an accessible location in sandboxed environment [macosx]
+ - S8001105: findVirtual of Object[].clone produces internal error
+ - S8001472: api/java_awt/Window/indexTGF_* tests fail because expected colors aren't equal
- S8002148: [TEST_BUG] The four lines printed are not the bold typeface.
+ - S8005232: (JEP-149) Class Instance size reduction
- S8006023: Embedded Builds fail management test because of requirement for UsePerfData being enabled.
+ - S8009258: TEST_BUG:java/io/pathNames/GeneralWin32.java fails intermittently
- S8010738: G1: Output for full GCs with +PrintGCDetails should contain perm gen/meta data size change info
- S8011646: SEGV in compiled code with loop predication
- S8011795: DOM Serializer prints stack traces to System.err
- S8012026: [macosx] Component.getMousePosition() does not work in an applet on MacOS
+ - S8012625: Incorrect handling of HTTP/1.1 " Expect: 100-continue " in HttpURLConnection
+ - S8012941: JSR 292: too deep inlining might crash compiler because of stack overflow
- S8013098: [macosx] localized aqua_xx.properties are not included in rt.jar
- S8015421: NegativeArraySizeException occurs in ChunkedOutputStream() with Integer.MAX_VALUE
+ - S8015586: [macosx] Test closed/java/awt/print/PrinterJob/PrintToDir.java fails on MacOSX
+ - S8015628: Test Failure in closed/java/io/pathNames/GeneralSolaris.java
- S8016545: java.beans.XMLEncoder.writeObject output is wrong
+ - S8017212: File.createTempFile requires unnecessary "read" permission
+ - S8019324: assert(_f2 == 0 || _f2 == f2) failed: illegal field change
- S8019623: Lack of synchronization in AppContext.getAppContext()
- S8019800: Test sun/tools/jcmd/jcmd-f.sh failing after JDK-8017011
- S8019834: InetAddress.getByName hangs for bad IPv6 literals
- S8021372: NetworkInterface.getNetworkInterfaces() returns duplicate hardware address
- S8021804: Certpath validation fails if validity period of root cert does not include validity period of intermediate cert
- S8022070: Compilation error in stubGenerator_sparc.cpp with some compilers
+ - S8022229: Intermittent test failures in sun/tools/jstatd
- S8022531: [TEST_BUG] After double-click on the folder names , there is no 'OK' button in the dialog.
+ - S8022721: TEST_BUG: AnnotationTypeDeadlockTest.java throws java.lang.IllegalStateException: unexpected condition
- S8022836: JVM crashes in JVMTIENVBASE::GET_CURRENT_CONTENDED_MONITOR and GET_OWNED_MONITOR
- S8024061: Exception thrown when drag and drop between two components is executed quickly
- S8024675: java/net/NetworkInterface/UniqueMacAddressesTest.java fails on Windows
- S8024677: [TESTBUG] Move tests for classes in /testlibrary
- S8024932: [TEST_BUG] [macosx] javax/swing/text/StyledEditorKit/8016833/bug8016833.java failed
- S8025051: Update resource files for TimeZone display names
+ - S8025644: java/util/stream/test/org/openjdk/tests/java/util/stream/ToArrayOpTest.java fails with TestData): failure java.lang.AssertionError: expected [true] but found [false]
- S8025710: Proxied HTTPS connections reused by HttpClient can send CONNECT to the server
+ - S8025917: JDK demo applets not running with >=7u40 or (JDK 8 and JDK 9)
- S8026792: HOTSPOT: licensee reports a JDK8 build failure after 8005849/8005008 fixes integrated.
- S8027026: Change keytool -genkeypair to use -keyalg RSA
- S8027348: (process) Enhancement of handling async close of ProcessInputStream
- S8027359: XML parser returns incorrect parsing results
- S8028073: race condition in ObjectMonitor implementation causing deadlocks
- S8028074: InetAddress.getByName fails with UHE "invalid IPv6 address" if host name starts with a-f
- - S8028192: Use of PKCS11-NSS provider in FIPS mode broken
+ - S8028159: C2: compiler stack overflow during inlining of @ForceInline methods
+ - S8028280: ParkEvent leak when running modified runThese which only loads classes
- S8028616: Htmleditorkit parser doesn't handle leading slash (/)
- S8028617: Dvorak keyboard mapping not honored when ctrl key pressed
- S8028623: SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters.
- S8028627: Unsynchronized code path from javax.crypto.Cipher to the WeakHashMap used by JceSecurity to store codebase mappings
- S8028726: (prefs) Check src/solaris/native/java/util/FileSystemPreferences.c for JNI pending exceptions
- S8029073: (corba) New connection reclaimed when number of connection is greater than highwatermark
+ - S8029190: VM_Version::determine_features() asserts on Fujitsu Sparc64 CPUs
+ - S8029302: Performance regression in Math.pow intrinsic
+ - S8029607: Type of Service (TOS) cannot be set in IPv6 header
- S8029837: NPE seen in XMLDocumentFragmentScannerImpl.setProperty since 7u40b33
- S8030114: [parfait] warnings from b119 for jdk.src.share.native.sun.security.smartcardio: JNI exception pending
- S8030192: TESTFAIL: java/util/logging/TestLoggerBundleSync.java failed with NPE
@@ -96,6 +121,7 @@
- S8032466: serviceability/sa/jmap-hashcode/Test8028623.java fails with compilation errors
- S8032669: Mouse release not being delivered to Swing component in 7u45
- S8032788: ImageIcon constructor throws an NPE and hangs when passed a null String parameter
+ - S8032808: Support Solaris SO_FLOW_SLA socket option
- S8032832: Applet/browser deadlocks, when IIS integrated authentication is used
- S8032864: [macosx] sigsegv (0Xb) Being Generated When Starting JDev With Voiceover Running
- S8032872: [macosx] Cannot select from JComboBox in a JWindow
@@ -121,11 +147,13 @@
- S8036709: Java 7 jarsigner displays warning about cert policy tree
- S8036778: new hotspot build - hs24.80-b05
- S8036819: JAB: mneumonics not read for textboxes
+ - S8036823: Stack trace sometimes shows 'locked' instead of 'waiting to lock'
- S8036863: Update jdk7 testlibrary to match jdk8 in hotspot
+ - S8036981: JAXB not preserving formatting for xsd:any Mixed content
- S8036983: JAB:Multiselection Ctrl+CursorUp/Down and ActivateDescenderPropertyChanged event
- S8037477: Reproducible hang of JAWS and webstart application with JAB 2.0.4
- S8037945: Paths.get("").normalize() throws ArrayIndexOutOfBoundsException
- - S8038000: java.awt.image.RasterFormatException: Incorrect scanline stride
+ - S8038274: update 8u fix for 8028073 now that 8028280 is backported to 8u
- S8038440: backport few C2 fixes
- S8038481: CMM Testing: Min/MaxHeapFreeRatio flags should be manageable through the API
- S8038640: new hotspot build - hs24.80-b06
@@ -139,23 +167,29 @@
- S8039298: assert(base == NULL || t_adr->isa_rawptr() || ! phase->type(base)->higher_equal(TypePtr::NULL_PTR))
- S8039319: (smartcardio) Card.transmitControlCommand() does not work on Mac OS X
- S8039368: Remove testcase from npt utf.c
- - S8039396: NPE when writing a class descriptor object to a custom ObjectOutputStream
- S8039891: Remove ppcsflt builds from JPRT
- S8039899: Missing licence headers in test for JDK-8033113
- S8040076: Memory leak: java.awt.List objects allowing multiple selections are not GC-ed.
+ - S8040168: Set hotspot version to hs24.66 and build to b01 for 7u66
+ - S8040617: [macosx] Large JTable cell results in a OutOfMemoryException
- S8040664: Revert temporary fix JDK-8038785
- S8040790: [TEST_BUG] tools/javac/innerClassFile/Driver.sh fails to cleanup files after it
+ - S8041132: Increment hsx 24.66 build to b02 for 7u66-b09
- S8041351: Crash in src/share/vm/opto/loopnode.cpp:3215 - assert(! had_error) failed: bad dominance
+ - S8041408: Increment hsx 24.55 build to b04 for 7u55-b34
- S8041451: com.sun.jndi.ldap.Connection:ReadTimeout should abandon ldap request
- S8041507: Java Access Bridge version strings need to be fixed
- S8041725: Nimbus JList selection colors persist across L&F changes
+ - S8041791: String.toLowerCase regression - violates Unicode standard
- S8041918: BootstrapMethods attribute cannot be empty.
- S8041931: test/sun/net/www/http/HttpClient/B8025710.java fails with cannot find keystore
- S8041990: [macosx] Language specific keys does not work in applets when opened outside the browser
+ - S8042052: assert(t != NULL) failed: must set before get
- S8042059: Various fixes to linux/sparc
- S8042247: Make 7u60 the default jprt release for hs24.80
- S8042250: Misleading command line output for ReservedCodeCacheSize validation
- S8042465: Applet menus not rendering when browser is full screen on Mac
+ - S8042835: Remove mnemonic character from open, save and open directory JFileChooser's buttons
- S8042857: 14 stuck threads waiting for notification on LDAPRequest
- S8042982: Unexpected RuntimeExceptions being thrown by SSLEngine
- S8043129: JAF initialisation in SAAJ clashing with the one in javax.mail
@@ -165,43 +199,150 @@
- S8043207: Add const to Address argument for Assembler::swap
- S8043210: Add _BIG_ENDIAN define on linux/sparc
- S8043354: OptimizePtrCompare too aggressive when allocations are present
+ - S8043413: REGRESSION: Hotspot causes segmentation fault in jdk8ux, but not in jdk7ux
- S8043507: javax.smartcardio.CardTerminals.list() fails on MacOSX
+ - S8043610: Sorting columns in JFileChooser fails with AppContext NPE
- S8043720: (smartcardio) Native memory should be handled more accurately
+ - S8044406: JVM crash with JDK8 (build 1.8.0-b132) with G1 GC
+ - S8044602: Increment minor version of HSx for 7u72 and initialize the build number
+ - S8044603: Increment minor version of HSx for 7u71 and initialize the build number
- S8044614: [macosx] Focus issue with 2 applets in firefox
- S8044659: Java SecureRandom on SPARC T4 much slower than on x86/Linux
+ - S8044725: Bug in zlib 1.2.5 prevents inflation of some gzipped files (zlib 1.2.8 port)
+ - S8046007: Java app receives javax.print.PrintException: Printer is not accepting job
- S8046024: JDI shared memory transport failed with "Observed abandoned IP mutex"
+ - S8046233: VerifyError on backward branch
- S8046269: Build broken : THIS_FILE : undeclared identifier
+ - S8046287: [TESTBUG] runtime/Thread/TestThreadDumpMonitorContention.java failed error_cnt=12
- S8046343: (smartcardio) CardTerminal.connect('direct') does not work on MacOSX
- S8046495: KeyEvent can not be accepted in quick mouse clicking
+ - S8046516: Segmentation fault in JVM (easily reproducible)
- S8046559: NPE when changing Windows theme
- S8046769: Set T family feature bit on Niagara systems
+ - S8047186: jdk.net.Sockets throws InvocationTargetException instead of original runtime exceptions
- S8048080: (smartcardio) javax.smartcardio.Card.openLogicalChannel() dosn't work on MacOSX
+ - S8048110: Using tables in JTextPane leads to infinite loop in FlowLayout.layoutRow
+ - S8048212: Two tests failed with "java.net.SocketException: Bad protocol option" on Windows after 8029607
- S8048271: Minor GC times doubled from JDK 6u35 to JDK 7u51
- S8048506: [macosx] javax.swing.PopupFactory issue with null owner
- S8048887: SortingFocusTraversalPolicy throws IllegalArgumentException from the sort method
+ - S8049081: Increment hsx 24.72 build to b02 for 7u72-b03
- S8049250: Need a flag to invert the Card.disconnect(reset) argument
+ - S8049343: (tz) Support tzdata2014g
- S8049514: FEATURE_SECURE_PROCESSING can not be turned off on a validator through SchemaFactory
- S8049542: C2: assert(size_in_words <= (julong)max_jint) failed: no overflow
+ - S8049684: pstack crashes on java core dump
+ - S8049787: Increment hsx 24.72 build to b03 for 7u72-b04
+ - S8050158: Introduce system property to maintain RC4 preference order
- S8050165: linux-sparcv9: NMT detail causes assert((intptr_t*)younger_sp[FP->sp_offset_in_saved_window()] == (intptr_t*)((intptr_t)sp - STACK_BIAS)) failed: younger_sp must be valid
- S8050167: linux-sparcv9: hs_err file does not show any stack information
- S8050386: javac, follow-up of fix for JDK-8049305
+ - S8050485: super() in a try block in a ctor causes VerifyError
- S8051004: javac, incorrect bug id in tests for JDK-8050386
+ - S8051359: JPopupMenu creation in headless mode with JDK9b23 causes NPE
- S8051844: BootstrapMethods attribute cannot be empty again
- S8052159: TEST_BUG: javax/swing/JTextField/8036819/bug8036819.java fails to compile
+ - S8054019: Keytool Error publicKey's is not X.509, but X509
+ - S8054530: C2: assert(res == old_res) failed: Inconsistency between old and new
+ - S8054817: File ccache only recognizes Linux and Solaris defaults
- S8054841: (process) ProcessBuilder leaks native memory
-* Backports
- - S4963723, RH1131221: Implement SHA-224
- - S7044060, RH1131221: Need to support NSA Suite B Cryptography algorithms
- - S8006935, RH1131221: Need to take care of long secret keys in HMAC/PRF compuation
+ - S8054883: Segmentation error while running program
+ - S8055421: (fs) bad error handling in java.base/unix/native/libnio/fs/UnixNativeDispatcher.c
+ - S8055714: Increment hsx 24.72 build to b04 for 7u72-b11
+ - S8055731: sun/security/smartcardio/TestDirect.java throws java.lang.IndexOutOfBoundsException
+ - S8055949: ByteArrayOutputStream capacity should be maximal array size permitted by VM
+ - S8056156: [TEST_BUG] Test javax/swing/JFileChooser/8046391/bug8046391.java fails in Windows
+ - S8056211: api/java_awt/Event/InputMethodEvent/serial/index.html#Input[serial2002] failure
+ - S8057184: JCK8's api/javax_swing/JDesktopPane/descriptions.html#getset failed with GTKLookAndFeel on Linux and Solaris
+ - S8057564: JVM hangs at getAgentProperties after attaching to VM with lower
+ - S8057813: Alterations to jdk_security3 test target
+ - S8058936: hotspot/test/Makefile should use jtreg script from $JT_HOME/bin/jreg (instead of $JT_HOME/win32/bin/jtreg)
* Bug fixes
- PR1786: Allow x86 build to occur on x86_64 using a previously built x86_64 build
- PR1846: Build fails when using IcedTea7 as bootstrap JDK with native ecj
- PR1847: Synchronise javac.in with IcedTea6
+
+New in release 2.5.3 (2014-10-14):
+
+* Security fixes
+ - S8015256: Better class accessibility
+ - S8022783, CVE-2014-6504: Optimize C2 optimizations
+ - S8035162: Service printing service
+ - S8035781: Improve equality for annotations
+ - S8036805: Correct linker method lookup.
+ - S8036810: Correct linker field lookup
+ - S8036936: Use local locales
+ - S8037066, CVE-2014-6457: Secure transport layer
+ - S8037846, CVE-2014-6558: Ensure streaming of input cipher streams
+ - S8038364: Use certificate exceptions correctly
+ - S8038899: Safer safepoints
+ - S8038903: More native monitor monitoring
+ - S8038908: Make Signature more robust
+ - S8038913: Bolster XML support
+ - S8039509, CVE-2014-6512: Wrap sockets more thoroughly
+ - S8039533, CVE-2014-6517: Higher resolution resolvers
+ - S8041529: Better parameterization of parameter lists
+ - S8041540, CVE-2014-6511: Better use of pages in font processing
+ - S8041545: Better validation of generated rasters
+ - S8041564, CVE-2014-6506: Improved management of logger resources
+ - S8041717, CVE-2014-6519: Issue with class file parser
+ - S8042609, CVE-2014-6513: Limit splashiness of splash images
+ - S8042797, CVE-2014-6502: Avoid strawberries in LogRecord
+ - S8044274, CVE-2014-6531: Proper property processing
+* Backports
+ - S4963723, RH1131221: Implement SHA-224
+ - S7044060, RH1131221: Need to support NSA Suite B Cryptography algorithms
+ - S7122142: (ann) Race condition between isAnnotationPresent and getAnnotations
+ - S7160837: DigestOutputStream does not turn off digest calculation when "close()" is called
+ - S8006935, RH1131221: Need to take care of long secret keys in HMAC/PRF compuation
+ - S8012637: Adjust CipherInputStream class to work in AEAD/GCM mode
+ - S8028192: Use of PKCS11-NSS provider in FIPS mode broken
+ - S8038000: java.awt.image.RasterFormatException: Incorrect scanline stride
+ - S8039396: NPE when writing a class descriptor object to a custom ObjectOutputStream
+ - S8042603: 'SafepointPollOffset' was not declared in static member function 'static bool Arguments::check_vm_args_consistency()'
+ - S8042850: Extra unused entries in ICU ScriptCodes enum
+ - S8052162: REGRESSION: sun/java2d/cmm/ColorConvertOp tests fail since 7u71 b01
+ - S8053963: (dc) Use DatagramChannel.receive() instead of read() in connect()
+ - S8055176: 7u71 l10n resource file translation update
+* Bug fixes
- PR1988: C++ Interpreter should no longer be used on ppc64
- PR1989: Make jdk_generic_profile.sh handle missing programs better and be more verbose
- PR1992, RH735336: Support retrieving proxy settings on GNOME 3.12.2
- PR2000: Synchronise HEAD tarball paths with release branch paths
- PR2002: Fix references to hotspot.map following PR2000
+ - PR2003: --disable-system-gtk option broken by refactoring in PR1736
+ - PR2009: Checksum of policy JAR files changes on every build
+ - PR2014: Use version from hotspot.map to create tarball filename
+ - PR2015: Update hotspot.map documentation in INSTALL
+ - PR2025: LCMS_CFLAGS & LCMS_LIBS should not be used unless SYSTEM_LCMS is enabled
+ - RH1015432: java-1.7.0-openjdk: Fails on PPC with StackOverflowError (revised comprehensive fix)
+* CACAO
+ - PR2030, G453612, CA172: ARM hardfloat support for CACAO
+* AArch64 port
+ - AArch64 C2 instruct for smull
+ - Add frame anchor fences.
+ - Add MacroAssembler::maybe_isb()
+ - Add missing instruction synchronization barriers and cache flushes.
+ - Add support for a few simple intrinsics
+ - Add support for builtin crc32 instructions
+ - Add support for Neon implementation of CRC32
+ - All address constants are 48 bits in size.
+ - array load must only read 32 bits
+ - Define uabs(). Use it everywhere an absolute value is wanted.
+ - Fast string comparison
+ - Fast String.equals()
+ - Fix register usage in generate_verify_oop().
+ - Fix thinko in Atomic::xchg_ptr.
+ - Fix typo in fsqrts
+ - Improve C1 performance improvements in ic_cache checks
+ - Performance improvement and ease of use changes pulled from upstream
+ - Remove obsolete C1 patching code.
+ - Replace hotspot jtreg test suite with tests from jdk7u
+ - S8024648: 7141246 breaks Zero port
+ - Save intermediate state before removing C1 patching code.
+ - Unwind native AArch64 frames.
+ - Use 2- and 3-instruction immediate form of movoop and mov_metadata in C2-generated code.
+ - Various concurrency fixes.
New in release 2.5.2 (2014-08-29):
diff -r 17d957f63b11 -r 2b88a80cab70 configure.ac
--- a/configure.ac Wed Sep 17 00:18:09 2014 +0100
+++ b/configure.ac Thu Oct 16 21:36:25 2014 +0100
@@ -1,4 +1,4 @@
-AC_INIT([icedtea], [2.6.0pre08], [distro-pkg-dev at openjdk.java.net])
+AC_INIT([icedtea], [2.6.0pre09], [distro-pkg-dev at openjdk.java.net])
AM_INIT_AUTOMAKE([1.9 tar-pax foreign])
AM_MAINTAINER_MODE([enable])
AC_CONFIG_FILES([Makefile])
diff -r 17d957f63b11 -r 2b88a80cab70 hotspot.map.in
--- a/hotspot.map.in Wed Sep 17 00:18:09 2014 +0100
+++ b/hotspot.map.in Thu Oct 16 21:36:25 2014 +0100
@@ -1,3 +1,3 @@
# version type(drop/hg) url changeset sha256sum
-default drop http://icedtea.classpath.org/download/drops/icedtea7/@ICEDTEA_RELEASE@ 6d5ec408f4ca 569f1529b900fc52435da4aa2f06f5697fe61459ed2962fc39a21e392d431206
+default drop http://icedtea.classpath.org/download/drops/icedtea7/@ICEDTEA_RELEASE@ 4722cfd15c83 34c7a74382accfe66b6ff4d9868bb61daa4baa195e4aaa3cbf32f9ec9ecea31a
aarch64 hg http://hg.openjdk.java.net/aarch64-port/jdk7u/hotspot f50993b6c38d 64c2d0bfa71d6eecf18ab28fd64d5bd79af096f77548d80de7953c306fd9c22c
diff -r 17d957f63b11 -r 2b88a80cab70 patches/boot/ecj-diamond.patch
--- a/patches/boot/ecj-diamond.patch Wed Sep 17 00:18:09 2014 +0100
+++ b/patches/boot/ecj-diamond.patch Thu Oct 16 21:36:25 2014 +0100
@@ -7214,3 +7214,63 @@
List<Thread> threads = new ArrayList<Thread>();
for (int i = 0; i < threadCount; i++) {
RandomCollector r = new RandomCollector();
+diff -Nru openjdk-boot.orig/jdk/src/share/classes/javax/swing/JDesktopPane.java openjdk-boot/jdk/src/share/classes/javax/swing/JDesktopPane.java
+--- openjdk-boot.orig/jdk/src/share/classes/javax/swing/JDesktopPane.java 2014-10-16 16:01:29.000000000 +0100
++++ openjdk-boot/jdk/src/share/classes/javax/swing/JDesktopPane.java 2014-10-16 16:53:18.417845002 +0100
+@@ -267,7 +267,7 @@
+
+ private static Collection<JInternalFrame> getAllFrames(Container parent) {
+ int i, count;
+- Collection<JInternalFrame> results = new LinkedHashSet<>();
++ Collection<JInternalFrame> results = new LinkedHashSet<JInternalFrame>();
+ count = parent.getComponentCount();
+ for (i = 0; i < count; i++) {
+ Component next = parent.getComponent(i);
+diff -Nru openjdk-boot.orig/jdk/src/share/classes/jdk/net/Sockets.java openjdk-boot/jdk/src/share/classes/jdk/net/Sockets.java
+--- openjdk-boot.orig/jdk/src/share/classes/jdk/net/Sockets.java 2014-10-16 20:15:06.087116645 +0100
++++ openjdk-boot/jdk/src/share/classes/jdk/net/Sockets.java 2014-10-16 20:18:48.586149429 +0100
+@@ -58,7 +58,7 @@
+ public class Sockets {
+
+ private final static HashMap<Class<?>,Set<SocketOption<?>>>
+- options = new HashMap<>();
++ options = new HashMap<Class<?>,Set<SocketOption<?>>>();
+
+ static {
+ initOptionSets();
+@@ -351,7 +351,7 @@
+
+ // Socket
+
+- Set<SocketOption<?>> set = new HashSet<>();
++ Set<SocketOption<?>> set = new HashSet<SocketOption<?>>();
+ set.add(StandardSocketOptions.SO_KEEPALIVE);
+ set.add(StandardSocketOptions.SO_SNDBUF);
+ set.add(StandardSocketOptions.SO_RCVBUF);
+@@ -367,7 +367,7 @@
+
+ // ServerSocket
+
+- set = new HashSet<>();
++ set = new HashSet<SocketOption<?>>();
+ set.add(StandardSocketOptions.SO_RCVBUF);
+ set.add(StandardSocketOptions.SO_REUSEADDR);
+ set = Collections.unmodifiableSet(set);
+@@ -375,7 +375,7 @@
+
+ // DatagramSocket
+
+- set = new HashSet<>();
++ set = new HashSet<SocketOption<?>>();
+ set.add(StandardSocketOptions.SO_SNDBUF);
+ set.add(StandardSocketOptions.SO_RCVBUF);
+ set.add(StandardSocketOptions.SO_REUSEADDR);
+@@ -388,7 +388,7 @@
+
+ // MulticastSocket
+
+- set = new HashSet<>();
++ set = new HashSet<SocketOption<?>>();
+ set.add(StandardSocketOptions.SO_SNDBUF);
+ set.add(StandardSocketOptions.SO_RCVBUF);
+ set.add(StandardSocketOptions.SO_REUSEADDR);
diff -r 17d957f63b11 -r 2b88a80cab70 patches/boot/ecj-multicatch.patch
--- a/patches/boot/ecj-multicatch.patch Wed Sep 17 00:18:09 2014 +0100
+++ b/patches/boot/ecj-multicatch.patch Thu Oct 16 21:36:25 2014 +0100
@@ -584,3 +584,48 @@
throw (SSLHandshakeException) new SSLHandshakeException(
"Could not generate secret").initCause(e);
}
+diff -Nru openjdk-boot.orig/jdk/src/share/classes/javax/crypto/CipherInputStream.java openjdk-boot/jdk/src/share/classes/javax/crypto/CipherInputStream.java
+--- openjdk-boot.orig/jdk/src/share/classes/javax/crypto/CipherInputStream.java 2014-10-14 19:58:01.679349189 +0100
++++ openjdk-boot/jdk/src/share/classes/javax/crypto/CipherInputStream.java 2014-10-14 19:58:59.096156147 +0100
+@@ -110,7 +110,10 @@
+ done = true;
+ try {
+ obuffer = cipher.doFinal();
+- } catch (IllegalBlockSizeException | BadPaddingException e) {
++ } catch (IllegalBlockSizeException e) {
++ obuffer = null;
++ throw new IOException(e);
++ } catch (BadPaddingException e) {
+ obuffer = null;
+ throw new IOException(e);
+ }
+@@ -314,7 +317,14 @@
+ cipher.doFinal();
+ }
+ }
+- catch (BadPaddingException | IllegalBlockSizeException ex) {
++ catch (BadPaddingException ex) {
++ /* If no data has been read from the stream to be en/decrypted,
++ we supress any exceptions, and close quietly. */
++ if (read) {
++ throw new IOException(ex);
++ }
More information about the distro-pkg-dev
mailing list