Skip to Main Content
HCL Domino 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

Status Under Consideration
Workspace Domino Designer
Categories LotusScript
Created by Guest
Created on Mar 4, 2021

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

e.g.

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


If we append something else on the Java code for getVersion

e.g.

public String getVersion() {

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

into

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.

  • Attach files
  • Guest
    Reply
    |
    May 7, 2021

    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.