Community
Participate
Working Groups
Ecore's OCLStandardLibraryImpl.init() issues a getResource(..., true) for the OCLstdlib URI which is an 'http:...' and for which a WWW existence would be very surprising. Therefore as commented, the normal case is for an UnknownHostException or NoSuchFileException to be thrown so that the hard coded library is activated. Surely, it is sufficient to do getResource(..., false) to see if the user has registered an OCLstdlib in the global package registry? Heaven help a user who does so and doesn't fully empathize all the consistency constraints. In the unlikely event that a resource is found it can then be loaded and exception handling only invoked if that resource loading has problems.
The new library has a pre-compiled auto-generated Java implementation. The use of an http access will only occur if the user specifies their own Standard Library for remnote loading.
Closing all bugs resolved in Indigo.