You are viewing a plain text version of this content. The canonical link for it is here.
Posted to netcat@netbeans.apache.org by Glenn Holmer <ce...@kolabnow.com> on 2018/04/03 21:33:32 UTC

[profiler] Unsupported class file version

I'm getting some strange results when testing profiling points, in the
first test case (stopwatch and reset results).

Source level 8, running under JDK8, works fine.

Running under JDK10, I get what looks like hundreds of messages like
this in the log file:

*** Profiler warning (Tue Apr 03 15:58:52 CDT 2018): Error reading class
java/lang/Object:
Unsupported class file version: 54.0

All the class names are different.

Now here's the odd thing: under JDK10 with source level 8, the test
works anyway: clicking the Guess button in Anagram Game increments the
number of hits on the stopwatch profiling point.

Under JDK10 with source level 10, the test fails (i.e. the number of
hits is not incremented).

Can anybody else verify this?

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."

---------------------------------------------------------------------
To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
For additional commands, e-mail: netcat-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [profiler] Unsupported class file version

Posted by Sven Reimers <sv...@gmail.com>.
Awesome...

Sven

Jan Lahoda <la...@gmail.com> schrieb am Mi., 4. Apr. 2018, 21:19:

> Hi Glenn,
>
> Hopefully will be better with:
> https://github.com/apache/incubator-netbeans/pull/485
>
> Jan
>
> On Wed, Apr 4, 2018 at 3:06 PM, Josh Juneau <ju...@gmail.com> wrote:
>
> > Hi Glenn,
> >
> > I've performed a few tests successfully under JDK10 now.  I've not
> received
> > the "Unsupported class file version" error, as yet.  However, I will let
> > you know if I do encounter it.
> >
> > Thanks
> >
> > Josh Juneau
> > juneau001@gmail.com
> > http://jj-blogger.blogspot.com
> > https://www.apress.com/index.php/author/author/view/id/1866
> >
> >
> > On Tue, Apr 3, 2018 at 4:33 PM, Glenn Holmer <ce...@kolabnow.com> wrote:
> >
> > > I'm getting some strange results when testing profiling points, in the
> > > first test case (stopwatch and reset results).
> > >
> > > Source level 8, running under JDK8, works fine.
> > >
> > > Running under JDK10, I get what looks like hundreds of messages like
> > > this in the log file:
> > >
> > > *** Profiler warning (Tue Apr 03 15:58:52 CDT 2018): Error reading
> class
> > > java/lang/Object:
> > > Unsupported class file version: 54.0
> > >
> > > All the class names are different.
> > >
> > > Now here's the odd thing: under JDK10 with source level 8, the test
> > > works anyway: clicking the Guess button in Anagram Game increments the
> > > number of hits on the stopwatch profiling point.
> > >
> > > Under JDK10 with source level 10, the test fails (i.e. the number of
> > > hits is not incremented).
> > >
> > > Can anybody else verify this?
> > >
> > > --
> > > Glenn Holmer (Linux registered user #16682)
> > > "After the vintage season came the aftermath -- and Cenbe."
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
> > > For additional commands, e-mail: netcat-help@netbeans.apache.org
> > >
> > > For further information about the NetBeans mailing lists, visit:
> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > >
> > >
> >
>

Re: [profiler] Unsupported class file version

Posted by Glenn Holmer <ce...@kolabnow.com>.
On 04/04/2018 02:18 PM, Jan Lahoda wrote:
> Hopefully will be better with:
> https://github.com/apache/incubator-netbeans/pull/485

Indeed it is. The build wasn't available yet, but the PR had been merged
(thanks Geertjan), so I just updated from master and built the source again.

I've now been able to get all the way through the profiler spec under
JDK10 with no show-stopping bugs found. We'll see at Friday's online
meeting whether the rest of the tribe is in agreement!

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."

---------------------------------------------------------------------
To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
For additional commands, e-mail: netcat-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [profiler] Unsupported class file version

Posted by Jan Lahoda <la...@gmail.com>.
Hi Glenn,

Hopefully will be better with:
https://github.com/apache/incubator-netbeans/pull/485

Jan

On Wed, Apr 4, 2018 at 3:06 PM, Josh Juneau <ju...@gmail.com> wrote:

> Hi Glenn,
>
> I've performed a few tests successfully under JDK10 now.  I've not received
> the "Unsupported class file version" error, as yet.  However, I will let
> you know if I do encounter it.
>
> Thanks
>
> Josh Juneau
> juneau001@gmail.com
> http://jj-blogger.blogspot.com
> https://www.apress.com/index.php/author/author/view/id/1866
>
>
> On Tue, Apr 3, 2018 at 4:33 PM, Glenn Holmer <ce...@kolabnow.com> wrote:
>
> > I'm getting some strange results when testing profiling points, in the
> > first test case (stopwatch and reset results).
> >
> > Source level 8, running under JDK8, works fine.
> >
> > Running under JDK10, I get what looks like hundreds of messages like
> > this in the log file:
> >
> > *** Profiler warning (Tue Apr 03 15:58:52 CDT 2018): Error reading class
> > java/lang/Object:
> > Unsupported class file version: 54.0
> >
> > All the class names are different.
> >
> > Now here's the odd thing: under JDK10 with source level 8, the test
> > works anyway: clicking the Guess button in Anagram Game increments the
> > number of hits on the stopwatch profiling point.
> >
> > Under JDK10 with source level 10, the test fails (i.e. the number of
> > hits is not incremented).
> >
> > Can anybody else verify this?
> >
> > --
> > Glenn Holmer (Linux registered user #16682)
> > "After the vintage season came the aftermath -- and Cenbe."
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: netcat-help@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
>

Re: [profiler] Unsupported class file version

Posted by Josh Juneau <ju...@gmail.com>.
Hi Glenn,

I've performed a few tests successfully under JDK10 now.  I've not received
the "Unsupported class file version" error, as yet.  However, I will let
you know if I do encounter it.

Thanks

Josh Juneau
juneau001@gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/index.php/author/author/view/id/1866


On Tue, Apr 3, 2018 at 4:33 PM, Glenn Holmer <ce...@kolabnow.com> wrote:

> I'm getting some strange results when testing profiling points, in the
> first test case (stopwatch and reset results).
>
> Source level 8, running under JDK8, works fine.
>
> Running under JDK10, I get what looks like hundreds of messages like
> this in the log file:
>
> *** Profiler warning (Tue Apr 03 15:58:52 CDT 2018): Error reading class
> java/lang/Object:
> Unsupported class file version: 54.0
>
> All the class names are different.
>
> Now here's the odd thing: under JDK10 with source level 8, the test
> works anyway: clicking the Guess button in Anagram Game increments the
> number of hits on the stopwatch profiling point.
>
> Under JDK10 with source level 10, the test fails (i.e. the number of
> hits is not incremented).
>
> Can anybody else verify this?
>
> --
> Glenn Holmer (Linux registered user #16682)
> "After the vintage season came the aftermath -- and Cenbe."
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: netcat-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>