Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2018 07:54:49 +0000
From:      =?utf-8?B?VGltbyBWw7Zsa2Vy?= <timo.voelker@fh-muenster.de>
To:        Michael Osipov <1983-01-06@gmx.net>
Cc:        "freebsd-java@freebsd.org" <freebsd-java@freebsd.org>
Subject:   Re: SCTP do not work with OpenJDK8
Message-ID:  <84C95B6E-58F1-4FB4-A272-10DBF03202E0@fh-muenster.de>
In-Reply-To: <a10f417c-2110-8ea7-a543-1afe802db5d9@gmx.net>
References:  <FD5A4D7B-42E6-4239-80BF-886876AE58DB@fh-muenster.de> <a10f417c-2110-8ea7-a543-1afe802db5d9@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
> On 2. Aug 2018, at 20:58, Michael Osipov <1983-01-06@gmx.net> wrote:
> 
> Am 2018-07-31 um 15:55 schrieb Timo Völker:
>> Hi,
>> I found an issue with SCTP support in OpenJDK8 for FreeBSD. In my example
>> https://github.com/msvoelker/java-sctp/
>> it happened that OpenJDK8 calls sendmsg with an buffer address != NULL and a buffer length of 0, which is an invalid argument for FreeBSD. I found the code lines in the function Java_sun_nio_ch_sctp_SctpChannelImpl_send0 of
>> jdk/src/solaris/native/sun/nio/ch/sctp/SctpChannelImpl.c
>> Besides that, I changed two ifdef statements for FreeBSD. I attach my patch file at the end. If I copy this patch file to the files directory of the OpenJDK8 port, I'm able to install OpenJDK and to run the example application.
>> sudo cp patch-jdk-src-solaris-native-sun-nio-ch-sctp-SctpChannelImpl.c /usr/ports/java/openjdk8/files
>> cd /usr/ports/java/openjdk8
>> sudo make install
>> I just saw that hwh found this issue already for OpenJDK7.
>> https://lists.freebsd.org/pipermail/freebsd-java/2010-September/008906.html
> 
> Nice patch,
> 
> can you file an issue with Bugzilla, so this won't get lost?
> 
> Michael
> 

Hi Michael,

OK, I just did.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230321

Timo
[-- Attachment #2 --]
0	*H
010	+0	*H
00	%ف0
	*H
010	UDE1+0)U
"T-Systems Enterprise Services GmbH10UT-Systems Trust Center1%0#UT-TeleSec GlobalRoot Class 20
160222133822Z
310222235959Z010	UDE1E0CU
<Verein zur Foerderung eines Deutschen Forschungsnetzes e. V.10UDFN-PKI1-0+U$DFN-Verein Certification Authority 20"0
	*H
0
`fAsMg9Z`GNWKVlUvFEc>pԫT#7(	]Ę7 fxJ2)y T_Jx4twMYZ/l<5e
2mZjKb84YE6Ixjm[k<q;gz6N)=Q\4
u9i%=+;U*^3	1FkYt0p0U0U2&JJK0U#0Y 6y"kaҸ,˂J0U003U ,0*0
+!,0
+!,0g0LUE0C0A?=;http://pki0336.telesec.de/rl/TeleSec_GlobalRoot_Class_2.crl0+z0x0,+0 http://ocsp0336.telesec.de/ocspr0H+0<http://pki0336.telesec.de/crt/TeleSec_GlobalRoot_Class_2.cer0
	*H
>eV-;qOں)!F.8y8tv]bL3j2,LG`Utk,ykMPf0"rM>[ϙR9.D~i;u;"lGG4}=wMOY>GJXoB.M<I&6,"͋xU;DRiТSW{$Jer900c,=0
	*H
010	UDE1E0CU
<Verein zur Foerderung eines Deutschen Forschungsnetzes e. V.10UDFN-PKI1-0+U$DFN-Verein Certification Authority 20
160524113840Z
310222235959Z010	UDE1E0CU
<Verein zur Foerderung eines Deutschen Forschungsnetzes e. V.10UDFN-PKI1%0#UDFN-Verein Global Issuing CA0"0
	*H
0
;yGi9٢0r)_KhLk{-n:WQ6pmc.@уLf=di囤rh9QyӮ/]cqK9zBi@p翞MGH_e*I-?T/:W~xJA}S_ȳ*0$?MR6$eǖs$hYv~
x<K7S:8Gmd=<ZEJʀ|LL00U00U0)U "0 0
+!,0
+!,0Uk:S୲2	;t0U#02&JJK0U00@><:http://cdp1.pca.dfn.de/global-root-g2-ca/pub/crl/cacrl.crl0@><:http://cdp2.pca.dfn.de/global-root-g2-ca/pub/crl/cacrl.crl0+003+0'http://ocsp.pca.dfn.de/OCSP-Server/OCSP0J+0>http://cdp1.pca.dfn.de/global-root-g2-ca/pub/cacert/cacert.crt0J+0>http://cdp2.pca.dfn.de/global-root-g2-ca/pub/cacert/cacert.crt0
	*H
xENU	j>xh5?k8w,>̨͠3$b6LxnPn`OR1CFubnfQB1gPI9˟ʆHK+f8W-L_>\)9l{F8ܰ?q3Hc%%<z{Wn8︠/[Kl=w3Sv&%Ao/|~`]AaI)ب-uJU4"00Πv0
	*H
010	UDE1E0CU
<Verein zur Foerderung eines Deutschen Forschungsnetzes e. V.10UDFN-PKI1%0#UDFN-Verein Global Issuing CA0
170710101820Z
200709101820Z0z10	UDE1 0U
Fachhochschule Muenster1200U)Fachbereich Elektrotechnik und Informatik10UTimo Voelker0"0
	*H
0
.xNhZ\ˌ29aR7pv@|dw{((ӌ8E%8"ŀu_CSYᤃͭ+V\*ûԿo(2͵-EҧPPK#$ӽ&-QuT5hȂ-پ6;=5	 <<k.c9ggbUuH7rz,:J'@rţcEWyE.=V0R0@U 9070+!,0+!,0
+!,0	U00U0U%0++0U㉯ToLs(/ygKM0U#0k:S୲2	;t0&U0timo.voelker@fh-muenster.de0U00?=;9http://cdp1.pca.dfn.de/dfn-ca-global-g2/pub/crl/cacrl.crl0?=;9http://cdp2.pca.dfn.de/dfn-ca-global-g2/pub/crl/cacrl.crl0+003+0'http://ocsp.pca.dfn.de/OCSP-Server/OCSP0I+0=http://cdp1.pca.dfn.de/dfn-ca-global-g2/pub/cacert/cacert.crt0I+0=http://cdp2.pca.dfn.de/dfn-ca-global-g2/pub/cacert/cacert.crt0
	*H
FߋFBM7DNs{Ihu1@;{K&f'c{=,0h-:i)WXK[k>R*˥0).gD{YP[Dzw$lp',tz!!sq|mr|\HL юFPRFXDѭAlt.CKB0U@cG?$
Z-ea?|a1qſr+ʉIq100010	UDE1E0CU
<Verein zur Foerderung eines Deutschen Forschungsnetzes e. V.10UDFN-PKI1%0#UDFN-Verein Global Issuing CAv0	+0	*H
	1	*H
0	*H
	1
180803075449Z0#	*H
	1e:QdQOPEŒ0	+710010	UDE1E0CU
<Verein zur Foerderung eines Deutschen Forschungsnetzes e. V.10UDFN-PKI1%0#UDFN-Verein Global Issuing CAv0*H
	1010	UDE1E0CU
<Verein zur Foerderung eines Deutschen Forschungsnetzes e. V.10UDFN-PKI1%0#UDFN-Verein Global Issuing CAv0
	*H
3
K=Bc88<$rٻi&(y7w?#0ޙPG2qziLY8@sZ8I6yHƖ24{fW>肕MŠ5eYpRyGß'~Q;+dkEAمYjփhYG1&v[Wnl:}3Ǜb"[EN\Dt5MЮ"]ܙi~K

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84C95B6E-58F1-4FB4-A272-10DBF03202E0>