Toad World® Forums

Java compile F9 ORA-24344: success with compilation error

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

It's something about this part. If you take this out, there is no error. I don't know java well enough to tell you what's wrong with it.

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.

Oh, I understand now. I don't know the details, but it seems to work fine in the current 13.2 beta.

I'm not sure at the moment if there is a workaround for 13.1, but I'll make a reminder for myself to try to find out tomorrow.

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.