#dominoforever | Product Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Changes on the Java code called by ScriptLibrary do not reflect immediately

ScriptLibrary written on LotusScript is calling a method from a Java code - getVersion


Print "Java version: " & reader.getVersion()

If we append something else on the Java code for getVersion


public String getVersion() {

return "<" + System.getProperty("java.version") + ">";


return "[" + System.getProperty("java.version") + "]";

the result remains with the previous appended character "<" ">"

e.g. Java version: <1.8.0_242>

Not unless we close all Notes/Designer client and rerun the ScriptLibrary will the result gets updated.

Requesting for swift update/refresh mechanism after making changes on the Java code called by a ScriptLibrary.

  • Guest
  • Mar 4 2021
  • Needs Review
  • Attach files
  • Guest commented
    7 May, 2021 01:40pm

    That's indeed a severe problem of LS2J. Classes do never get unloaded (unless you close the entire client). And the behaviour is even worse if you have two different classes that share the same name. Think of having version 1 of an application in production and version 2 in development: If you use development first then switch to production you'll get development classes running in production - and vice versa.