Just upgraded to the latest Toad and when compiling Java using F9 I no longer get errors in the Errors pane at the bottom off the window.
Can't find any options that would change this. Any suggestions?
Paste this into a SQL pane, press F9.
CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED "Test" AS
public class Test {
static S proc(String str) throws Exception
{
}
}
/
13.1.0.78
[Error] Compilation (1: 1): ORA-24344: success with compilation error
12.6.0.53
[Error] (0: 0): Test:2: cannot find symbol
[Error] (0: 0): symbol : class S
[Error] (0: 0): location: class Test
[Error] (0: 0): static S proc(String str) throws Exception
[Error] (0: 0): 1 error
Sorry, should have been clearer. I know there's a bug in the Java, I wrote it as an example to show my problem. My issue is Toad no longer displays the error in the Error pane, it only shows the generic "Success with compilation error" message.
If there is something you can do to make this show up in 13.1, I'm don't know what it is. The developer for this area of Toad is out this week and next.
Since you are on 13.1, you can also install the 13.2 beta if you wish, and it should work there.
If the brackets don't all match up, the result is a compile time error. The fix to this compile error is to add a leading round bracket after the println to make the error go away: int x = 10; System.
Regards,
Rachel Gomez