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 juneau...@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-unsubscr...@netbeans.apache.org > For additional commands, e-mail: netcat-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >