bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/33813] Enum.valueOf throws java.lang.Error: Unable to acc


From: stephan at cs dot tu-berlin dot de
Subject: [Bug classpath/33813] Enum.valueOf throws java.lang.Error: Unable to access Enum class
Date: 25 Aug 2008 15:02:21 -0000


------- Comment #4 from stephan at cs dot tu-berlin dot de  2008-08-25 15:02 
-------
For the records:

Apparently this was fixed in 0.95 (reported against 0.92)
See the change log of java/lang/Enum.java rev. 1.7:
  "(valueOf): Call new helper method in class to allow field value to
   be read on non-public enum classes."
Note that this fix introduced a todo (XXX) see:
http://cvs.savannah.gnu.org/viewvc/classpath/java/lang/Enum.java?root=classpath&r1=1.6&r2=1.7

I even venture that this breaks once a security manager is used, but I
couldn't easily figure out how to activate a security manager for the JamVM,
so this is just theory, therefor not reopening for now.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33813





reply via email to

[Prev in Thread] Current Thread [Next in Thread]