- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
  P3                     
     - 
    1.0
 
- 
        1.0beta2
 - 
        x86
 - 
        windows_nt
 - 
        Verified
 
                    Paul Pyyvaara <###@###.###>
All platforms: When you try to run a program with a class with multiple final strings
that are the same, receive following error message:
Can't find class <class name>
Steps to reproduce:
Compile the attached code.
run java FinalStringTest
class FinalStringTest
{
public final static String string1 = "The same string";
public final static String string2 = "The same string";
public static void main(String args[])
{
if (string1.equals(string2))
System.out.println("They compare");
else
System.out.println("They don't compare");
}
}
            
All platforms: When you try to run a program with a class with multiple final strings
that are the same, receive following error message:
Can't find class <class name>
Steps to reproduce:
Compile the attached code.
run java FinalStringTest
class FinalStringTest
{
public final static String string1 = "The same string";
public final static String string2 = "The same string";
public static void main(String args[])
{
if (string1.equals(string2))
System.out.println("They compare");
else
System.out.println("They don't compare");
}
}