Commit 8a14e6e1 by Ranjit Mathew Committed by Ranjit Mathew

More testsuite adjustments for PR java/19870.

	* testsuite/libjava.lang/PR19870_2.java: New testcase.
	* testsuite/libjava.lang/PR19870_2.out: Expected output for the
	new testcase.
	* testsuite/libjava.jacks/jacks.xfail: Remove
	8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.

From-SVN: r103165
parent 355a9e43
2005-08-16 Ranjit Mathew <rmathew@hotmail.com>
More testsuite adjustments for PR java/19870.
* testsuite/libjava.lang/PR19870_2.java: New testcase.
* testsuite/libjava.lang/PR19870_2.out: Expected output for the
new testcase.
* testsuite/libjava.jacks/jacks.xfail: Remove
8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
2005-08-16 Tom Tromey <tromey@redhat.com> 2005-08-16 Tom Tromey <tromey@redhat.com>
* gnu/xml/xpath/XPathParser.y: Removed. * gnu/xml/xpath/XPathParser.y: Removed.
......
...@@ -174,6 +174,7 @@ ...@@ -174,6 +174,7 @@
15.12.3-explicit-constructor-4 15.12.3-explicit-constructor-4
15.12.3-explicit-constructor-5 15.12.3-explicit-constructor-5
15.12.3-explicit-constructor-7 15.12.3-explicit-constructor-7
15.12.3-explicit-constructor-9
15.12.3-runtime-mode-1 15.12.3-runtime-mode-1
15.12.3-runtime-mode-2 15.12.3-runtime-mode-2
15.12.3-runtime-mode-3 15.12.3-runtime-mode-3
...@@ -608,7 +609,6 @@ ...@@ -608,7 +609,6 @@
8.5-inheritance-3 8.5-inheritance-3
8.5-inheritance-6 8.5-inheritance-6
8.5.2-accessible-static-member-usage-3 8.5.2-accessible-static-member-usage-3
8.5.2-non-static-member-usage-2
8.5.2-non-static-member-usage-4 8.5.2-non-static-member-usage-4
8.5.2-non-static-member-usage-5 8.5.2-non-static-member-usage-5
8.6-abrupt-1 8.6-abrupt-1
......
// PR19870: Test synthetic accessor generation for private static methods
// accessed across nested class boundaries.
public class PR19870_2
{
static class A
{
private static void foo( )
{
System.out.println( "1");
}
private static void bar( int x)
{
System.out.println( x);
snafu( );
PR19870_2.snafu( );
}
}
static class B
{
private static void foo( )
{
A.foo( );
}
}
private static void snafu( )
{
System.out.println( "3");
}
public static void main( String[] args)
{
A.foo( );
A.bar( 2);
B.foo( );
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment