catap / jaql

Jaql is a query language designed for Javascript Object Notation (JSON), a data format that has become popular because of its simplicity and modeling flexibility. Jaql is primarily used to analyze large-scale semi-structured data. Core features include user extensibility and parallelism. In addition to modeling semi-structured data, JSON simplifies extensibility. Hadoop's Map-Reduce is used for parallelism.
2 stars 0 forks source link

Class resolution depends on order of jars #78

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a class called A
2. Create a class called B that derives from A
3. Create a jars for A and B
4. Call jaql, listing B.jar,A.jar as the additional jars (in that order)
5. Call B to produce the error

What is the expected output? What do you see instead?

This is a regression. The union of all classes supplied on the command 
line should be resolved from jaql. In this case, the call to B should 
work. The problem with this regression is that user scripts that 
previously specified multiple jars, in particular when the list of jars 
included inter-dependencies (such as the example above), now fail.

Original issue reported on code.google.com by vuk.erce...@gmail.com on 20 Apr 2010 at 12:48

GoogleCodeExporter commented 8 years ago
The fix has been checked in and unit tests added. Refer to 
src/test/com/ibm/jaql/util/TestClassLoader.java along with sample jars A.jar, 
B.jar.

Original comment by vuk.erce...@gmail.com on 20 Apr 2010 at 12:51