Here is an update of 1.8 to u172. Contains many upstream bug fixes and security fixes which can be mined from u144-u172 release notes here:
http://www.oracle.com/technetwork/java/javase/8u-relnotes-2225394.html Tested on amd64. Needs to be thrown in bulk builds on both amd64 and i386. - Many patches for clang 6.0 were already resolved upstream through the use of -std=gnu++98 - Includes alternate fix for memTracker placement new on read-only memory committed upstream - Includes build fix for unsafe.o SIGSEGV reported by Mike Belopuhov In order to keep the diff reasonable, I removed the parts for deleting all those patches. Remove them using the following command before building: rm \ patch-hotspot_src_cpu_x86_vm_interp_masm_x86_64_cpp \ patch-hotspot_src_cpu_x86_vm_interpreterRT_x86_64_cpp \ patch-hotspot_src_cpu_x86_vm_vtableStubs_x86_64_cpp \ patch-hotspot_src_os_bsd_vm_os_bsd_cpp \ patch-hotspot_src_os_cpu_bsd_x86_vm_os_bsd_x86_cpp \ patch-hotspot_src_share_vm_code_compiledIC_cpp \ patch-hotspot_src_share_vm_code_exceptionHandlerTable_cpp \ patch-hotspot_src_share_vm_code_nmethod_cpp \ patch-hotspot_src_share_vm_compiler_disassembler_cpp \ patch-hotspot_src_share_vm_gc_implementation_concurrentMarkSweep_concurrentMarkSweepGeneration_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_concurrentMark_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_concurrentMark_inline_hpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1AllocRegion_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1BiasedArray_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1BlockOffsetTable_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1CardCounts_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1CodeCacheRemSet_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1CollectedHeap_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1CollectorPolicy_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1GCPhaseTimes_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1HRPrinter_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1OopClosures_inline_hpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1RemSetSummary_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1RemSet_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1StringDedupQueue_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1StringDedupStat_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1StringDedupTable_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_heapRegionManager_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_heapRegionRemSet_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_heapRegionSet_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_heapRegion_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_satbQueue_cpp \ patch-hotspot_src_share_vm_gc_implementation_parallelScavenge_psMarkSweep_cpp \ patch-hotspot_src_share_vm_gc_implementation_parallelScavenge_psParallelCompact_cpp \ patch-hotspot_src_share_vm_gc_implementation_shared_mutableNUMASpace_cpp \ patch-hotspot_src_share_vm_gc_implementation_shared_parGCAllocBuffer_cpp \ patch-hotspot_src_share_vm_memory_genCollectedHeap_cpp \ patch-hotspot_src_share_vm_memory_generation_cpp \ patch-hotspot_src_share_vm_memory_referenceProcessor_cpp \ patch-hotspot_src_share_vm_memory_tenuredGeneration_cpp \ patch-hotspot_src_share_vm_memory_universe_cpp \ patch-hotspot_src_share_vm_oops_constantPool_cpp \ patch-hotspot_src_share_vm_oops_cpCache_cpp \ patch-hotspot_src_share_vm_oops_markOop_cpp \ patch-hotspot_src_share_vm_oops_objArrayKlass_cpp \ patch-hotspot_src_share_vm_oops_oop_cpp \ patch-hotspot_src_share_vm_opto_type_hpp \ patch-hotspot_src_share_vm_prims_methodHandles_cpp \ patch-hotspot_src_share_vm_prims_perf_cpp \ patch-hotspot_src_share_vm_prims_unsafe_cpp \ patch-hotspot_src_share_vm_prims_whitebox_cpp \ patch-hotspot_src_share_vm_runtime_safepoint_cpp \ patch-hotspot_src_share_vm_services_threadService_cpp \ patch-hotspot_src_share_vm_utilities_ostream_cpp \ patch-hotspot_src_share_vm_utilities_vmError_hpp \ patch-jdk_src_share_native_com_sun_java_util_jar_pack_jni_cpp \ patch-hotspot_src_cpu_x86_vm_vtableStubs_x86_32_cpp \ patch-hotspot_src_share_vm_classfile_dictionary_hpp \ patch-hotspot_src_share_vm_compiler_compileBroker_cpp \ patch-hotspot_src_share_vm_gc_implementation_g1_collectionSetChooser_hpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1Allocator_hpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1BlockOffsetTable_inline_hpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1CardCounts_hpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1CollectedHeap_inline_hpp \ patch-hotspot_src_share_vm_gc_implementation_g1_g1ErgoVerbose_hpp \ patch-hotspot_src_share_vm_gc_implementation_g1_heapRegionManager_inline_hpp \ patch-hotspot_src_share_vm_gc_implementation_g1_heapRegion_hpp \ patch-hotspot_src_share_vm_gc_implementation_g1_heapRegion_inline_hpp \ patch-hotspot_src_share_vm_memory_cardTableModRefBS_hpp \ patch-hotspot_src_share_vm_memory_generation_hpp \ patch-hotspot_src_share_vm_memory_threadLocalAllocBuffer_inline_hpp \ patch-hotspot_src_share_vm_services_memTracker_cpp \ patch-hotspot_src_share_vm_trace_traceStream_hpp
Index: Makefile =================================================================== RCS file: /cvs/ports/devel/jdk/1.8/Makefile,v retrieving revision 1.33 diff -u -p -u -p -r1.33 Makefile --- Makefile 11 Apr 2018 12:26:56 -0000 1.33 +++ Makefile 29 May 2018 20:01:40 -0000 @@ -5,17 +5,16 @@ USE_WXNEEDED= Yes COMMENT-main= OpenJDK Software Development Kit v${V} COMMENT-jre= OpenJDK Runtime Environment v${V} -U= 144 +U= 172 V= 1.8.0.${U} -B= b01 +B= b11 PKGNAME= jdk-${V} PKGNAME-main= jdk-${V} PKGNAME-jre= jre-${V} EPOCH= 0 -REVISION= 0 DIST_SUBDIR= jdk -DISTNAME= openjdk-8u144b01-bsd-port-20170828 +DISTNAME= openjdk-8u172b11-bsd-port-20180529 BOOTJDK_DATE= 20180306 EXTRACT_SUFX= .tar.xz DISTFILES= ${DISTNAME}${EXTRACT_SUFX} Index: distinfo =================================================================== RCS file: /cvs/ports/devel/jdk/1.8/distinfo,v retrieving revision 1.11 diff -u -p -u -p -r1.11 distinfo --- distinfo 7 Mar 2018 11:04:24 -0000 1.11 +++ distinfo 29 May 2018 20:01:40 -0000 @@ -1,8 +1,8 @@ SHA256 (jdk/apache-ant-1.9.7-bin.tar.gz) = HQuAj+gszpvMFn+Nu3x+icHX91NMDZxkv2Fex8Pmv+U= -SHA256 (jdk/openjdk-8u144b01-bsd-port-20170828.tar.xz) = kYDLEePRUwUzVd568mL9f7U1JUafEVQZN4m3+QtVVXE= +SHA256 (jdk/openjdk-8u172b11-bsd-port-20180529.tar.xz) = iBdiMkMWggu9gYSboMR1XekV8nJPbFt/iQ2dP57R/3E= SHA256 (jdk/openjdk8-bootjdk-amd64-20180306.tar.gz) = JwOC10rJz/6n18yPsjrJ6s4SxRkDLmb23ry1IGQDa+w= SHA256 (jdk/openjdk8-bootjdk-i386-20180306.tar.gz) = VlCppv2vaWQ1anOiKWsia6XoIkMO0ALNMv3haw8/gGg= SIZE (jdk/apache-ant-1.9.7-bin.tar.gz) = 5601575 -SIZE (jdk/openjdk-8u144b01-bsd-port-20170828.tar.xz) = 55246152 +SIZE (jdk/openjdk-8u172b11-bsd-port-20180529.tar.xz) = 55511348 SIZE (jdk/openjdk8-bootjdk-amd64-20180306.tar.gz) = 77543690 SIZE (jdk/openjdk8-bootjdk-i386-20180306.tar.gz) = 76277731 Index: pkg/PLIST-jre =================================================================== RCS file: /cvs/ports/devel/jdk/1.8/pkg/PLIST-jre,v retrieving revision 1.5 diff -u -p -u -p -r1.5 PLIST-jre --- pkg/PLIST-jre 10 Mar 2017 02:21:22 -0000 1.5 +++ pkg/PLIST-jre 29 May 2018 20:01:40 -0000 @@ -115,12 +115,10 @@ ${JREHOME}/lib/psfontj2d.properties ${JREHOME}/lib/resources.jar ${JREHOME}/lib/rt.jar ${JREHOME}/lib/security/ -${JREHOME}/lib/security/US_export_policy.jar ${JREHOME}/lib/security/blacklisted.certs ${JREHOME}/lib/security/cacerts ${JREHOME}/lib/security/java.policy ${JREHOME}/lib/security/java.security -${JREHOME}/lib/security/local_policy.jar ${JREHOME}/lib/sound.properties ${JREHOME}/lib/tzdb.dat @mandir ${JREHOME}/man/ Index: pkg/PLIST-main =================================================================== RCS file: /cvs/ports/devel/jdk/1.8/pkg/PLIST-main,v retrieving revision 1.5 diff -u -p -u -p -r1.5 PLIST-main --- pkg/PLIST-main 10 Mar 2017 02:21:22 -0000 1.5 +++ pkg/PLIST-main 29 May 2018 20:01:40 -0000 @@ -527,12 +527,17 @@ ${JDKHOME}/jre/lib/psfontj2d.properties ${JDKHOME}/jre/lib/resources.jar ${JDKHOME}/jre/lib/rt.jar ${JDKHOME}/jre/lib/security/ -${JDKHOME}/jre/lib/security/US_export_policy.jar ${JDKHOME}/jre/lib/security/blacklisted.certs ${JDKHOME}/jre/lib/security/cacerts ${JDKHOME}/jre/lib/security/java.policy ${JDKHOME}/jre/lib/security/java.security -${JDKHOME}/jre/lib/security/local_policy.jar +${JDKHOME}/jre/lib/security/policy/ +${JDKHOME}/jre/lib/security/policy/limited/ +${JDKHOME}/jre/lib/security/policy/limited/US_export_policy.jar +${JDKHOME}/jre/lib/security/policy/limited/local_policy.jar +${JDKHOME}/jre/lib/security/policy/unlimited/ +${JDKHOME}/jre/lib/security/policy/unlimited/US_export_policy.jar +${JDKHOME}/jre/lib/security/policy/unlimited/local_policy.jar ${JDKHOME}/jre/lib/sound.properties ${JDKHOME}/jre/lib/tzdb.dat ${JDKHOME}/lib/ @@ -792,4 +797,11 @@ ${JDKHOME}/sample/try-with-resources/src ${JDKHOME}/sample/try-with-resources/src/Unzip.java ${JDKHOME}/sample/try-with-resources/src/ZipCat.java ${JDKHOME}/src.zip +${JREHOME}/lib/security/policy/ +${JREHOME}/lib/security/policy/limited/ +${JREHOME}/lib/security/policy/limited/US_export_policy.jar +${JREHOME}/lib/security/policy/limited/local_policy.jar +${JREHOME}/lib/security/policy/unlimited/ +${JREHOME}/lib/security/policy/unlimited/US_export_policy.jar +${JREHOME}/lib/security/policy/unlimited/local_policy.jar share/doc/pkg-readmes/${FULLPKGNAME}