
we can be more standard in invoking main() - get the package and name of
source file for class...

--------

postfix [] !!!
running a Java source file - only calls main() if it's the last class defined

----------------

generated classes requiring circularity... have to deal with this somehow.

------------

Do a find . -name '*.class' and remove the gen'd class trash...

----------------

Move XThis, JThis to optional packages

--------------
I think this is fixed?

Fields.x=5; abuses auto-alloc

maybe static vs instance shouldn't eval in corresp. namespace

-----------

Reflect resolveJavaMethod and resolveJavaField need to work relative to
a base type...  so that casts and later super() references can work...
get this working for typed vars first, then add something for inline casts...
maybe a new wrapper type?

B b=new B();
A a = b;
print( a.a );
print( ((A)b).a );

----------------------------------

re enable checkmethodmodifiers
re enable checkvamodifiers

=======================================================
AFTER 1.3.0 release
=======================================================

scriptedObject() { getFoo() { return "foo"; } return this; }
so = scriptedObject();
print(so.foo); // rather than "print(so.getFoo());"

-------------------------------------------------------

cach constructors as we do methods

-------------------------------------------------------

scripted method selection doesn't do extended bsh conversions...

foo( boolean b ) { }
bm=this.namespace.getMethod( "foo", new Class [] { Boolean.TYPE } );
print(bm);
bm=this.namespace.getMethod( "foo", new Class [] { Boolean.class } );
print(bm);

-------------------------------------------------------

eval anonymous block with arguments?
-------------------------------------------------------

Allow reload of commands

-------------------------------------------------------------
postfix array decl
int a [] = new int[5];

-------------------------------------------------------------

get focus on console in desktop?
-------------------------------------------------------------

TokenMgrError needs to extend Exception or ParseError... or be completely
hidden by rethrowing so that line numbers show up all the time in bshservlet

-------------------------------------------------------------
When we can't find a method signature print all of the "close" method sigs ;)
(easy ... do it at least for of the same name)
-------------------------------------------------------------

load and save commands don't have access to added classpath
need to get the classloader through the classmanager..
e.g. classmanager.getClassLoaderFor( className );

-------------------------------------------------------------

fix re-evaluation of method signatures after classloader change
(create a test case and verify that this is a realistic issue)

-------------------------------------------------------------

Primitive / object mismatch related stuff.
The problem is that we'd only want to throw errors on typed variables...
but in the places we check we don't necessarily have the type info.
This would be easier to deal if we wrapped everything... alternatives?

int i = a;
String s = "";
if ( i == s ) should throw exception unless wrapper type

undefined doesn't test as null... should throw exception
except for explicit case of testing for void
if ( lXXXXconf != null )
    cat( l4jconf );

-------------------------------------------------------------

i.set()
then eval variable declaration
resets the value to default
Should it? 

Should var delcarations reset an existing value?

-------------------------------------------------------------

