Compiler issue with

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiler issue with

Jacques Le Roux
Administrator
FYI, we crossed an issue with
http://svn.apache.org/viewvc/ofbiz/trunk/framework/sql/src/org/ofbiz/sql/Planner.java?view=diff&r1=1076852&r2=1076853&pathrev=1076853
It does not compile with all Java version. So far at least 1.6.0_14 and 1.6.0_17 fail. It's ok with 1.6.0_23 and 1.6.0_24

HTH

Jacques


Reply | Threaded
Open this post in threaded view
|

Re: Compiler issue with

Ashish Vijaywargiya
My recent email on user mailing list:- "FYI - trunk code was failing on
1.6.0_11 version - updated to latest version of jdk(jdk1.6.0_24) and now it
is compiling fine" :-)

--
Ashish

On Tue, Mar 15, 2011 at 9:09 PM, Jacques Le Roux <
[hidden email]> wrote:

> FYI, we crossed an issue with
>
> http://svn.apache.org/viewvc/ofbiz/trunk/framework/sql/src/org/ofbiz/sql/Planner.java?view=diff&r1=1076852&r2=1076853&pathrev=1076853
> It does not compile with all Java version. So far at least 1.6.0_14 and
> 1.6.0_17 fail. It's ok with 1.6.0_23 and 1.6.0_24
>
> HTH
>
> Jacques
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Compiler issue with

Jacques Le Roux
Administrator
Thanks Ashish,

Unfortunately this is on a 64 bits Debian server without access to Internet.
And last but not least jdk1.6.0_22(b04) was installed. I'm sure you are aware of
http://bugs.sun.com/view_bug.do;jsessionid=eda2515610ea5ffffffffb524779629b4d53?bug_id=6916062 :/
So, caught from both side, we simply revert the change below, and downgrade the jdk (in this case to _14, was used in dev)

Jacques

From: "Ashish Vijaywargiya" <[hidden email]>

> My recent email on user mailing list:- "FYI - trunk code was failing on
> 1.6.0_11 version - updated to latest version of jdk(jdk1.6.0_24) and now it
> is compiling fine" :-)
>
> --
> Ashish
>
> On Tue, Mar 15, 2011 at 9:09 PM, Jacques Le Roux <
> [hidden email]> wrote:
>
>> FYI, we crossed an issue with
>>
>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/sql/src/org/ofbiz/sql/Planner.java?view=diff&r1=1076852&r2=1076853&pathrev=1076853
>> It does not compile with all Java version. So far at least 1.6.0_14 and
>> 1.6.0_17 fail. It's ok with 1.6.0_23 and 1.6.0_24
>>
>> HTH
>>
>> Jacques
>>
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: Compiler issue with

David E. Jones-2
In reply to this post by Jacques Le Roux

On a side note, is that class even used anywhere by default? Or, is anyone using it?

-David


On Mar 15, 2011, at 9:39 AM, Jacques Le Roux wrote:

> FYI, we crossed an issue with
> http://svn.apache.org/viewvc/ofbiz/trunk/framework/sql/src/org/ofbiz/sql/Planner.java?view=diff&r1=1076852&r2=1076853&pathrev=1076853
> It does not compile with all Java version. So far at least 1.6.0_14 and 1.6.0_17 fail. It's ok with 1.6.0_23 and 1.6.0_24
>
> HTH
>
> Jacques
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Compiler issue with

Jacques Le Roux
Administrator
David,

I think Adam uses it. Marco mades the change recently in his warnings effort. But I don't see anything in Eclipse nor while building
So I'm reverting this trivial change

Jacques

From: "David E Jones" <[hidden email]>

>
> On a side note, is that class even used anywhere by default? Or, is anyone using it?
>
> -David
>
>
> On Mar 15, 2011, at 9:39 AM, Jacques Le Roux wrote:
>
>> FYI, we crossed an issue with
>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/sql/src/org/ofbiz/sql/Planner.java?view=diff&r1=1076852&r2=1076853&pathrev=1076853
>> It does not compile with all Java version. So far at least 1.6.0_14 and 1.6.0_17 fail. It's ok with 1.6.0_23 and 1.6.0_24
>>
>> HTH
>>
>> Jacques
>>
>>
>