Revision: 8518
http://svn.sourceforge.net/gate/?rev=8518&view=rev
Author: ian_roberts
Date: 2007-04-04 04:35:07 -0700 (Wed, 04 Apr 2007)
Log Message:
-----------
When loading language resources from a SerialDataStore, now attempts to resolve
their classes and those they reference through the GATE classloader if the
normal ObjectInputStream resolution method (use the class loader of the class
that called readObject) fails to find the class. This means that if you save
an LR that has an (annotation with a) feature whose type is a class defined in
a plugin then GATE will now be able to reload that LR in the GUI successfully.
Previously the load threw a ClassNotFoundException.
Note that we try the normal resolution behaviour first, so any code that worked
before will not notice any difference.
Modified Paths:
--------------
gate/trunk/src/gate/persist/SerialDataStore.java
Added Paths:
-----------
gate/trunk/src/gate/persist/GateAwareObjectInputStream.java
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs