-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
A call to PerlLanguageProvider.executePerlCode runs successfully but does not return or throw an exception. Instead it terminates the program. (Sorry, I do not know how to identify the PerlOnJava revision. Changelog has v5.42.3)
public static void main(String[] args) {
// exiftool -ver
String newargs[] = new String[]{
"/C/F/Projects/PerlOnJava/Image-ExifTool-13.50/exiftool",
"-ver"};
CompilerOptions parsedArgs = ArgumentParser.parseArguments(newargs);
if (parsedArgs.code == null) {
System.err.println("No code provided. Use -e <code> or specify a filename.");
System.exit(1);
}
try {
PerlLanguageProvider.executePerlCode(parsedArgs, true);////does not return.
Output:
JAVA_HOME="/usr/lib/jvm/java-21-openjdk-amd64"
cd /C/F/Projects/PerlOnJava; ./gradlew --configure-on-demand -x check run --debug-jvm
Configuration on demand is an incubating feature.
Reusing configuration cache.
Task :processResources UP-TO-DATE
Task :compileJava
Task :classes
Task :run
Listening for transport dt_socket at address: 5005
13.50
BUILD SUCCESSFUL in 1m 7s
3 actionable tasks: 2 executed, 1 up-to-date
Configuration cache entry reused.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels