VMware Aria

 View Only

Tip: Use Java Classes without Shutter File

  • 1.  Tip: Use Java Classes without Shutter File

    Posted Mar 29, 2023 05:41 AM

    These days I read an interesting old post about the com.vmware.scripting.javascript.allow-native-object property.  wrotes: "This property is used to filter Java classes that are visible to scripts." The following logic shows that when this property is set to true, the ClassShutter has no effect. So I set this property and tested it. As far as I can tell, all classes are accepted when this property is set to true. This is a great thing, because on this way you can save to allow classes exactly, e.g. in test environments. That makes it much easier.

    StefanSchnell_0-1680068337588.png