You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Rory O'Donnell <ro...@oracle.com> on 2018/11/09 10:57:10 UTC

JDK 12 , JDK 8u202 & Project Panama Early-Access builds available

Hi Mark,

*JDK 12 Early Access build 19 is available at : - jdk.java.net/12/*

  * These early-access, open-source builds are provided under the GNU
    General Public License, version 2, with the Classpath Exception
    <http://openjdk.java.net/legal/gplv2+ce.html>.

  * Release Notes updates since last email
      o Build 18 – JDK-8211883: Disable anon and NULL cipher suites
          + Crypto Roadmap
            <https://java.com/en/jre-jdk-cryptoroadmap.html> Updated
      o Build 17 – JDK-8211806: TLS 1.3 handshake server name indication
        is missing on a session resume
      o Build 16 – JDK-8211866: TLS 1.3 CertificateRequest message
        sometimes offers disallowed signature algorithms
      o Build 17 – JDK-8195793 : Remove GTE CyberTrust Global Root
      o Build 16 - JDK-8191053 : Provide a mechanism to make system's
        security manager immutable

  * JEPs proposed for JDK 12 so far:
      o JEP 230 - Microbenchmark Suite <https://openjdk.java.net/jeps/230>
  * JEPs targeted to JDK 12, so far
      o 325: Switch Expressions (Preview) <http://openjdk.java.net/jeps/325>
      o 326: Raw String Literals (Preview)
        <http://openjdk.java.net/jeps/326>
      o 340: One AArch64 Port, Not Two <http://openjdk.java.net/jeps/340>
      o 341: Default CDS Archives <http://openjdk.java.net/jeps/341>

*JDK 8u202 Early Access build 03 is available at : - 
**http://jdk.java.net/8/*

  * JDK 8u202 timeline is available [1]
      o GA is scheduled for January 2019

*Project Panama Early-Access build 0 ***is available at : - 
http://jdk.java.net/panama/
**

  * Early access builds from Project Panama
    <https://openjdk.java.net/projects/panama/>
  * Early-access builds are provided under the GNU General Public
    License, version 2, with the Classpath Exception
    <http://openjdk.java.net/legal/gplv2+ce.html>.
  * Feedback - Please send feedback via e-mail to
    panama-dev@openjdk.java.net <ma...@openjdk.java.net>.
  * To send e-mail to this address you must first subscribe to the
    mailing list
    <http://mail.openjdk.java.net/mailman/listinfo/panama-dev>.

*Crypto Roadmap Updated [2]
*


Rgds,Rory

[1] http://openjdk.java.net/projects/jdk8u/releases/8u202.html
[2] https://java.com/en/jre-jdk-cryptoroadmap.html

-- 
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland


Re: JDK 12 , JDK 8u202 & Project Panama Early-Access builds available

Posted by Rory O'Donnell <ro...@oracle.com>.
Thanks for the update Mark!

On 09/11/2018 14:05, Mark Thomas wrote:
> On 09/11/2018 10:57, Rory O'Donnell wrote:
>> Hi Mark,
>>
>> *JDK 12 Early Access build 19 is available at : - jdk.java.net/12/*
> Built Tomcat 9.0.x and an all the unit tests. All passed.
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
-- 
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: JDK 12 , JDK 8u202 & Project Panama Early-Access builds available

Posted by Mark Thomas <ma...@apache.org>.
On 09/11/2018 10:57, Rory O'Donnell wrote:
> Hi Mark,
> 
> *JDK 12 Early Access build 19 is available at : - jdk.java.net/12/*

Built Tomcat 9.0.x and an all the unit tests. All passed.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: JDK 12 , JDK 8u202 & Project Panama Early-Access builds available

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

All,

On 11/9/18 07:38, Mark Thomas wrote:
> On 09/11/2018 10:57, Rory O'Donnell wrote:
> 
> <snip/>
> 
>> *Project Panama Early-Access build 0 ***is available at : - 
>> http://jdk.java.net/panama/
> 
> This looks interesting. If I am reading the information correctly,
> it could reduce the scope of Tomcat Native or even remove it
> completely (assuming we dropped the APR connector).

Yeah, it looks like Java finally decided to implement .NET's "IJW"[1].

Only about a hundred years too late. :(

- -chris

[1] https://www.codeproject.com/Articles/2234/Using-IJW-in-Managed-C
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvnOvAACgkQHPApP6U8
pFiX0hAAhsenry6/s5hBfKjlAGuxckCwQy567wULgPSGtq287t8VKxmWidA5/SX0
kiyo4Nla3wFJhiKPEBpo/t2V8LIOaWuQf56whAGaetWgDkINtpNBQRzOFZN4TnFC
7xO4RztZJCKTbtsoWzMePnJB3GZ//SlOAkqbjZHevv1rsBTsyk6iuqykK8YNZTPg
Cv0VOeFUL5XHAt8r9VpOIwNdYl1JCu/pdX/LuFUI5/9cFQN3qD98g5ueS/7T6Ep6
dsh5v1D9yknHZ7RqzEpnbko5x/nqkW+uH4pQ6yiGrn8V02eZ/p4fCZ7VkU/IF2C0
e5TcvYvVHHqcv3VbHTwoGRWyp1hM7YYmA0iUyYKuHaGdt6GAK8XPbMgA2BqXpZlF
2xQ2fSmtCJd1d9gPiRFxKxdyLguU9uHExLA7HL0YJSa71z7my6Ju+nGsYNUCDmOO
luPv5EXrf4bA1MN6dyhVvdQrf8BPtvnPySTPQ48tqPQAfEXMLZ++YCpmB7v5LGm2
Z/z0YfL89Dgi9dlpL/UWFc9QAGcDugYcu6lGQZ6jaD+4buyXrruUtYxMvHSPBoMo
GoUfpFk4il00BS/J1JeH/djPiIkdqqtnmEnVkLMrk94PbmNZgB+moBtSdVNqVao7
qHrPRHj1oyocZOBCQx+nob6GWiuB7MRq1fzIQenuw0Aty7kqKfg=
=GVki
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


RE: JDK 12 , JDK 8u202 & Project Panama Early-Access builds available

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Mark Thomas [mailto:markt@apache.org] 
> Subject: Re: JDK 12 , JDK 8u202 & Project Panama Early-Access builds
available

> I tried using a different header file with (hopefully) more functionality:

> /opt/java/openjdk-12-panama-b0/bin/jextract  \
>     -I include \
>     -I /usr/lib/gcc/x86_64-linux-gnu/7.3.0/include \
>     -I /usr/include/linux \
>     -t org.openssl \
>     include/openssl/crypto.h

> and I get:

> /usr/include/linux/time.h:10:8: error: redefinition of 'timespec'
> /usr/include/linux/time.h:10:8: error: redefinition of 'timespec'

> It isn't immediately obvious to me where timespec is redefined - else
> I'd tweak the relevant header file.

These are the two usual places that declare the timespec struct:
    /usr/include/time.h
    /usr/include/linux/time.h

Unfortunately, they use different tags to see if timespec has already been
declared, so the conflict is probably coming from those.  If you put this:

#define _LINUX_TIME_H

somewhere early in the source code, it should prevent the inclusion of
linux/time.h, which you probably don't want anyway.

  - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.


Re: JDK 12 , JDK 8u202 & Project Panama Early-Access builds available

Posted by Mark Thomas <ma...@apache.org>.
On 10/11/2018 11:00, Mark Thomas wrote:

<snip/>

> Thanks to some off-list help from Chuck, I have been able to make some
> progress on this. The following:
> 
> /opt/java/openjdk-12-panama-b0/bin/jextract \
>     -I include \
>     -I /usr/lib/gcc/x86_64-linux-gnu/7.3.0/include \
>     -I /usr/include/linux \
>      include/openssl/rand.h
> 
> creates rand.h.jar
> 
> Next up is figuring out how to use this jar and testing how portable it is.

Hmm. What is produced is just a set of interfaces with some constants. I
can't see anything that results in a call to native code. I'm not sure
if this is something I've done wrong, a limitation of the early release
or something else.

I tried using a different header file with (hopefully) more functionality:

/opt/java/openjdk-12-panama-b0/bin/jextract  \
    -I include \
    -I /usr/lib/gcc/x86_64-linux-gnu/7.3.0/include \
    -I /usr/include/linux \
    -t org.openssl \
    include/openssl/crypto.h

and I get:

/usr/include/linux/time.h:10:8: error: redefinition of 'timespec'
/usr/include/linux/time.h:10:8: error: redefinition of 'timespec'

It isn't immediately obvious to me where timespec is redefined - else
I'd tweak the relevant header file.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: JDK 12 , JDK 8u202 & Project Panama Early-Access builds available

Posted by Mark Thomas <ma...@apache.org>.
On 09/11/2018 18:54, Mark Thomas wrote:
> On 09/11/2018 12:38, Mark Thomas wrote:
>> On 09/11/2018 10:57, Rory O'Donnell wrote:
>>
>> <snip/>
>>
>>> *Project Panama Early-Access build 0 ***is available at : -
>>> http://jdk.java.net/panama/
>>
>> This looks interesting. If I am reading the information correctly, it
>> could reduce the scope of Tomcat Native or even remove it completely
>> (assuming we dropped the APR connector).
>>
>> I'm going to try experimenting with it and I'll report back.
> 
> No joy. I suspect my lack of C knowledge is holding me back. I'm trying
> this in an OpenSSL build directory:
> 
> /opt/java/openjdk-12-panama-b0/bin/jextract \
>    -I /usr/include/linux \
>    -I include \
>    include/openssl/rand.h
> 
> and getting
> 
> /usr/include/stdlib.h:97:8: error: unknown type name 'size_t'

Thanks to some off-list help from Chuck, I have been able to make some
progress on this. The following:

/opt/java/openjdk-12-panama-b0/bin/jextract \
    -I include \
    -I /usr/lib/gcc/x86_64-linux-gnu/7.3.0/include \
    -I /usr/include/linux \
     include/openssl/rand.h

creates rand.h.jar

Next up is figuring out how to use this jar and testing how portable it is.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: JDK 12 , JDK 8u202 & Project Panama Early-Access builds available

Posted by Mark Thomas <ma...@apache.org>.
On 09/11/2018 12:38, Mark Thomas wrote:
> On 09/11/2018 10:57, Rory O'Donnell wrote:
> 
> <snip/>
> 
>> *Project Panama Early-Access build 0 ***is available at : -
>> http://jdk.java.net/panama/
> 
> This looks interesting. If I am reading the information correctly, it
> could reduce the scope of Tomcat Native or even remove it completely
> (assuming we dropped the APR connector).
> 
> I'm going to try experimenting with it and I'll report back.

No joy. I suspect my lack of C knowledge is holding me back. I'm trying
this in an OpenSSL build directory:

/opt/java/openjdk-12-panama-b0/bin/jextract \
   -I /usr/include/linux \
   -I include \
   include/openssl/rand.h

and getting

/usr/include/stdlib.h:97:8: error: unknown type name 'size_t'


Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: JDK 12 , JDK 8u202 & Project Panama Early-Access builds available

Posted by Mark Thomas <ma...@apache.org>.
On 09/11/2018 10:57, Rory O'Donnell wrote:

<snip/>

> *Project Panama Early-Access build 0 ***is available at : -
> http://jdk.java.net/panama/

This looks interesting. If I am reading the information correctly, it
could reduce the scope of Tomcat Native or even remove it completely
(assuming we dropped the APR connector).

I'm going to try experimenting with it and I'll report back.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org