Eclipse refuses to start the CORBA naming service example because the
parameters of the main method are declared as final
This patch makes them no longer final.
2005-10-25 Audrius Meskauskas <[EMAIL PROTECTED]>
* gnu/classpath/examples/CORBA/NamingService/Demo.java (main):
Make arguments not final.
Index: examples/gnu/classpath/examples/CORBA/NamingService/Demo.java
===================================================================
RCS file:
/cvsroot/classpath/classpath/examples/gnu/classpath/examples/CORBA/NamingService/Demo.java,v
retrieving revision 1.2
diff -u -r1.2 Demo.java
--- examples/gnu/classpath/examples/CORBA/NamingService/Demo.java 2 Jul
2005 20:32:08 -0000 1.2
+++ examples/gnu/classpath/examples/CORBA/NamingService/Demo.java 25 Oct
2005 13:03:14 -0000
@@ -73,7 +73,7 @@
*/
public class Demo
{
- public static void main(final String[] args)
+ public static void main(String[] an_args)
{
// We create the following naming graph:
// <ROOT CONTEXT>
@@ -90,6 +90,8 @@
System.out.println("Starting the GNU Classpath " +
"built-in transient naming service"
);
+
+ final String[] args = an_args;
new Thread()
{
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches