jdk7 b58, VM doesn't smell good

John Rose John.Rose at Sun.COM
Mon May 11 21:43:00 PDT 2009


I'm looking at your AbstractVisitor code in detail, and there's one  
possible bug in it.

The inner class Main0$1 is package-private (per inner class spec)  
which means that AbstractVisitor should not be able to access the  
'visit' methods, even though they are public.  Therefore, you do need  
the setAccessible(true) step.

It does smell bad that the system objects by throwing NPEs at you.   
Working on that....

-- John



More information about the mlvm-dev mailing list