re PR java/27908 (VMSecureRandom generateSeed infinite loop? (Regression))
2007-09-04 Andrew Haley <aph@redhat.com> PR java/27908 * testsuite/libjava.lang/PR27908.java ({run1,run2,run3}.isRunning): New Method. (main): Fix race condition. From-SVN: r128094
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
class Foo
|
||||
{
|
||||
Class bar()
|
||||
{
|
||||
return gnu.classpath.VMStackWalker.getCallingClass();
|
||||
}
|
||||
}
|
||||
|
||||
public class WalkerTest
|
||||
{
|
||||
public static void main(String[] argv)
|
||||
{
|
||||
System.out.println(new Foo().bar());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user