Re: JDK 12 enters Rampdown Phase Two

2019-02-19 Thread Dalibor Topic

Thank you, Jaikiran - that's great!

On 19.02.2019 04:46, Jaikiran Pai wrote:

Hi Dalibor,

It took me a while to get back to this, but I just gave this a try.
Jacoco has released 0.8.3 version with this fix to support Java 13 and I
gave it a try against the original project which was running into this
issue. I can now confirm that this now works fine with Jacoco 0.8.3 and
Java 13 (even the latest EA 8 build).

-Jaikiran

On 23/01/19 7:00 PM, Jaikiran Pai wrote:

Hi Dalibor,

On 23/01/19 2:51 PM, Dalibor Topic wrote:


On 23.01.2019 08:56, Jaikiran Pai wrote:

Our Ant testsuite against this EA version of JDK 13 has passed fine on
Linux. However, one of our other projects within the Ant umbrella has
shown an issue with the Jacoco library usage (which internally uses ASM
library). Narrowing this down to a simple standalone Java program has
shown that this version of Java isn't compatible with ASM 7.0. It runs
into:


java.lang.IllegalArgumentException: Unsupported class file major
version 57
  at org.objectweb.asm.ClassReader.(ClassReader.java:184)
  at org.objectweb.asm.ClassReader.(ClassReader.java:166)
  at org.objectweb.asm.ClassReader.(ClassReader.java:152)


while trying to instrument a class compiled with that JDK 13 EA build. I
haven't yet had a chance to see if there's a newer version of ASM which
works against this version, but my quick checks haven't shown any newer
versions.

Hi Jaikiran,

the changes for experimental support of JDK 13 bytecode have just gone
into jacoco, per https://github.com/jacoco/jacoco/pull/835 .


Thank you for pointing me to that commit, I'll give that snapshot
version a try against our project and see how it goes, over the next few
days.

-Jaikiran


--
Oracle 
Dalibor Topic | Principal Product Manager
Phone: +494089091214  | Mobile: +491737185961


ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | D-22761 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Nederland, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher

Green Oracle  Oracle is committed to
developing practices and products that help protect the environment

-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: JDK 12 enters Rampdown Phase Two

2019-02-18 Thread Jaikiran Pai
Hi Dalibor,

It took me a while to get back to this, but I just gave this a try.
Jacoco has released 0.8.3 version with this fix to support Java 13 and I
gave it a try against the original project which was running into this
issue. I can now confirm that this now works fine with Jacoco 0.8.3 and
Java 13 (even the latest EA 8 build).

-Jaikiran

On 23/01/19 7:00 PM, Jaikiran Pai wrote:
> Hi Dalibor,
>
> On 23/01/19 2:51 PM, Dalibor Topic wrote:
>>
>> On 23.01.2019 08:56, Jaikiran Pai wrote:
>>> Our Ant testsuite against this EA version of JDK 13 has passed fine on
>>> Linux. However, one of our other projects within the Ant umbrella has
>>> shown an issue with the Jacoco library usage (which internally uses ASM
>>> library). Narrowing this down to a simple standalone Java program has
>>> shown that this version of Java isn't compatible with ASM 7.0. It runs
>>> into:
>>>
>>>
>>> java.lang.IllegalArgumentException: Unsupported class file major
>>> version 57
>>>  at org.objectweb.asm.ClassReader.(ClassReader.java:184)
>>>  at org.objectweb.asm.ClassReader.(ClassReader.java:166)
>>>  at org.objectweb.asm.ClassReader.(ClassReader.java:152)
>>>
>>>
>>> while trying to instrument a class compiled with that JDK 13 EA build. I
>>> haven't yet had a chance to see if there's a newer version of ASM which
>>> works against this version, but my quick checks haven't shown any newer
>>> versions.
>> Hi Jaikiran,
>>
>> the changes for experimental support of JDK 13 bytecode have just gone
>> into jacoco, per https://github.com/jacoco/jacoco/pull/835 .
>>
> Thank you for pointing me to that commit, I'll give that snapshot
> version a try against our project and see how it goes, over the next few
> days.
>
> -Jaikiran

-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: JDK 12 enters Rampdown Phase Two

2019-01-23 Thread Jaikiran Pai


Hi Dalibor,

On 23/01/19 2:51 PM, Dalibor Topic wrote:
> 
> 
> On 23.01.2019 08:56, Jaikiran Pai wrote:
>> Our Ant testsuite against this EA version of JDK 13 has passed fine on
>> Linux. However, one of our other projects within the Ant umbrella has
>> shown an issue with the Jacoco library usage (which internally uses ASM
>> library). Narrowing this down to a simple standalone Java program has
>> shown that this version of Java isn't compatible with ASM 7.0. It runs
>> into:
>>
>>
>> java.lang.IllegalArgumentException: Unsupported class file major
>> version 57
>>  at org.objectweb.asm.ClassReader.(ClassReader.java:184)
>>  at org.objectweb.asm.ClassReader.(ClassReader.java:166)
>>  at org.objectweb.asm.ClassReader.(ClassReader.java:152)
>>
>>
>> while trying to instrument a class compiled with that JDK 13 EA build. I
>> haven't yet had a chance to see if there's a newer version of ASM which
>> works against this version, but my quick checks haven't shown any newer
>> versions.
> 
> Hi Jaikiran,
> 
> the changes for experimental support of JDK 13 bytecode have just gone
> into jacoco, per https://github.com/jacoco/jacoco/pull/835 .
> 
Thank you for pointing me to that commit, I'll give that snapshot
version a try against our project and see how it goes, over the next few
days.

-Jaikiran

-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: JDK 12 enters Rampdown Phase Two

2019-01-23 Thread Dalibor Topic




On 23.01.2019 08:56, Jaikiran Pai wrote:

Our Ant testsuite against this EA version of JDK 13 has passed fine on
Linux. However, one of our other projects within the Ant umbrella has
shown an issue with the Jacoco library usage (which internally uses ASM
library). Narrowing this down to a simple standalone Java program has
shown that this version of Java isn't compatible with ASM 7.0. It runs into:


java.lang.IllegalArgumentException: Unsupported class file major version 57
     at org.objectweb.asm.ClassReader.(ClassReader.java:184)
     at org.objectweb.asm.ClassReader.(ClassReader.java:166)
     at org.objectweb.asm.ClassReader.(ClassReader.java:152)


while trying to instrument a class compiled with that JDK 13 EA build. I
haven't yet had a chance to see if there's a newer version of ASM which
works against this version, but my quick checks haven't shown any newer
versions.


Hi Jaikiran,

the changes for experimental support of JDK 13 bytecode have just gone 
into jacoco, per https://github.com/jacoco/jacoco/pull/835 .


cheers,
dalibor topic

--
Oracle 
Dalibor Topic | Principal Product Manager
Phone: +494089091214  | Mobile: +491737185961


ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | D-22761 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Nederland, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher

Green Oracle  Oracle is committed to
developing practices and products that help protect the environment

-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: JDK 12 enters Rampdown Phase Two

2019-01-22 Thread Jaikiran Pai
Hi Rory,

On 21/01/19 4:45 PM, Rory O'Donnell wrote:
>  Hi Stefan/Jaikiran,
>
> **OpenJDK builds *- JDK 12 Early Access build 28 **is now available
> **at : - jdk.java.net/12/*
>
Our testsuite on Linux with this EA version of of JDK 12 has passed fine
without issues. Haven't had a chance to test on Windows yet.


>  
> **OpenJDK builds *- JDK 13 Early Access build 4 is **now available
> **at : - jdk.java.net/13/*


Our Ant testsuite against this EA version of JDK 13 has passed fine on
Linux. However, one of our other projects within the Ant umbrella has
shown an issue with the Jacoco library usage (which internally uses ASM
library). Narrowing this down to a simple standalone Java program has
shown that this version of Java isn't compatible with ASM 7.0. It runs into:


java.lang.IllegalArgumentException: Unsupported class file major version 57
    at org.objectweb.asm.ClassReader.(ClassReader.java:184)
    at org.objectweb.asm.ClassReader.(ClassReader.java:166)
    at org.objectweb.asm.ClassReader.(ClassReader.java:152)


while trying to instrument a class compiled with that JDK 13 EA build. I
haven't yet had a chance to see if there's a newer version of ASM which
works against this version, but my quick checks haven't shown any newer
versions.


-Jaikiran



-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



JDK 12 enters Rampdown Phase Two

2019-01-21 Thread Rory O'Donnell

 Hi Stefan/Jaikiran,

**OpenJDK builds *- JDK 12 Early Access build 28 **is now available **at 
: - jdk.java.net/12/*


 * Per the JDK 12 schedule [1], we are now in Rampdown Phase Two.
 o For more details , see Mark Reinhold's email to jdk-dev mailing
   list [2]
 o The overall feature set is frozen, no further JEPs will be
   targeted to this release.
 o Per the JDK Release Process [3] we now turn our focusto P1 and
   P2 bugs.

**OpenJDK builds *- JDK 13 Early Access build 4 is **now available **at 
: - jdk.java.net/13/*


 * These early-access, open-source builds are provided under the
 o GNU General Public License, version 2, with the Classpath
   Exception .
 * Release Notes:
 o http://jdk.java.net/13/release-notes
 * Changes in this build
   


Blog Updates from Java SE Product Management since last email.

 * Oracle Java SE Releases FAQ [3]
 * Oracle Java SE Support Roadmap [4]


Rgds,Rory

[1] http://openjdk.java.net/projects/jdk/12/#Schedule
[2] http://mail.openjdk.java.net/pipermail/jdk-dev/2019-January/002537.html
[3] https://blogs.oracle.com/java-platform-group/oracle-java-se-releases-faq
[4] https://www.oracle.com/technetwork/java/java-se-support-roadmap.html

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