Not being able to add more than one ZIP file with JARs to Jet instance's classpath [HZ-4712] #26320
Labels
Module: User Code Namespaces
Source: Internal
PR or issue was opened by an employee
Team: Core
to-jira
Type: Defect
Milestone
Describe the bug
In a test we need to add more than one ZIP file with client specific JARs, it is impossible after this change, which sets resource ID to null. Before this change last path segment ("filename") was used as resource ID.
Expected behavior
More than one ZIP files wtih JARs being added to Jet instance's classpath.
To Reproduce
Steps to reproduce the behavior:
Or you can use the code directly from here.
Actual behavior
java.lang.IllegalArgumentException: Resource with id:null already exists
Additional context
Stacktrace:
The text was updated successfully, but these errors were encountered: