Bug: command files and java sources

Kuba

Member²
There is a problem in executing command files (*.pdc) which are generated in "compare user objects" action. If there is any java source PL\SQL Developer stops executing with strange exception. Try this for example:

create or replace and compile java source named xx as
public class XX
{
public static void paramIn(java.lang.String param1,
java.lang.String param2) {
java.lang.String x = param1 + " " + param2;
}

public static void paramOut (java.lang.String param1,
java.lang.String param2) {
param1 = "xxx";
}
}
/

Kuba Kr
 
I've come across a similar issue in 5.1.2:

create or replace and compile java source named test1 as
import java.io.*;
public class test1
{
public static void entry()
{
}
}
/

fails in the command window when it sees the "import" line (the semi-colon seems to be the trigger). It works correctly in the SQL window.

Andrew
 
Back
Top