Toad World® Forums

Toad 13.1: Object name not fetched when compiling a Java source


#1

Hi Quest,

just a minor cosmetic issue, but it seems Java object names aren’t correctly fetched after compilation: Copy+paste some Java source into an Editor and compile it. The tab caption goes from “New x” to nada, “Java Source” icon is displayed, though.

Example:

create or replace and resolve java source named "TestClass" 
as 
public class TestClass {
  static {
    System.out.println("Hello World!");
  }
}

Versions:
Windows 10 Pro
Toad for Oracle Base 13.1.0.78
Oracle Client installation 12.2.0.1
Connected to DB 12.2


#2

Another minor: The formatter always puts the first line of the actual java code in the same line as “as”. The same test class form above when I open it in SB:

create or replace and resolve java source named "TestClass"
as public class TestClass {
  static {
    System.out.println("Hello World!");
  }
}

#3

Tab caption bug logged and fixed. Fix is in place for next beta build.