Page 1 of 1

New Java 8u211 - calculated icons do not show any more

PostPosted: Fri Apr 26, 2019 2:23 pm
by Bernd.N
We use calculated fields to generate icons that we can show in lists (table views), with functions e.g.:

Code: Select all
function tr_clcs_confirmed_icon()
{
   if (tr_confirmed_by_id === null)
   {
      return null;
   }
   else {

      return '<html> <img src = "media:///check_008000_16.png"></html>';   
   }
}


Those calculated fields show up as icons like this:
icons.jpg
icons.jpg (45.17 KiB) Viewed 3470 times


Three users who installed the latest Java 8u211 reported that all icons are gone after the update, showing me this screenshot:
no_icons.jpg
no_icons.jpg (14.3 KiB) Viewed 3470 times


Did someone experience the same, or did I miss an important note that Java Version 211 does not support such icons any more?

As we use such icons a lot, we would be in heavy waters when that is not working any more.
We use Servoy 7.4.8

Re: New Java 8u211 - calculated icons do not show any more

PostPosted: Fri Apr 26, 2019 2:32 pm
by patrick
Bad news is that sounds like this: https://support.servoy.com/browse/SVY-13657

Re: New Java 8u211 - calculated icons do not show any more

PostPosted: Fri Apr 26, 2019 2:46 pm
by Bernd.N
Thank you for the very fast answer!
Johan wrote in JIRA: "What you can try is to use the bootstrapper in standalone mode then it should work."

Does someone know why the bootstrapper will solve this?
We had an issue with the bootstrapper which resulted in not using it any more.

Now as Oracle charges money for Java, the interesting question will also be if they feel obligated to fix bugs like that... and under which reaction time frame... :wink:

Our current solution is to not install Java 211, hopefully we are not the only one affected and Oracle will have it fixed in Java 221.

Re: New Java 8u211 - calculated icons do not show any more

PostPosted: Fri Apr 26, 2019 3:55 pm
by patrick
The standalone bootstrapper does not involve java webstart at all, so any problems arising from it will not affect a Servoy client instance.

Re: New Java 8u211 - calculated icons do not show any more

PostPosted: Fri Apr 26, 2019 4:05 pm
by lwjwillemsen
Wow, they (Oracle) backported this bug from Java 9 to Java 8u211. :twisted:
This bug was fixed (and tested ok by us) in Java 10.

Regards,