Ok its fixed in r2095; the problem was only an issue when building in Java5
with a java5 target. An explicit cast was required to fix the issue.
Paul
On 6/12/07, Thijs Triemstra | Collab <[EMAIL PROTECTED]> wrote:
Same error here, the trunk doesn't build with mac osx / java 1.5:
compile_core_compatibility:
[javac] Compiling 7 source files to /Users/thijstriemstra/
software/red5/trunk/bin
[javac] /Users/thijstriemstra/software/red5/trunk/src/org/red5/
server/jmx/JMXAgent.java:168: incompatible types
[javac] found : java.lang.Object
[javac] required: javax.management.ObjectName
[javac] for (ObjectName oname : mbs.queryNames(
[javac] ^
[javac] Note: /Users/thijstriemstra/software/red5/trunk/src/org/
red5/server/jmx/JMXAgent.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
BUILD FAILED
Thijs
On Jun 12, 2007, at 5:00 PM, Klaus wrote:
> I did try the latest.. Revison 2094 ;-)
>
> My point was that it seemed that the problem came after rev. 2089..
>
> Mondain wrote:
>> It is possible i made a mistake in that revision.. :) Use the latest
>> revision instead.
>>
>> On 6/12/07, *Klaus* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>>
>> If I checkout "src/org/red5/server/jmx/JMXAgent.java" version
>> 2089, I
>> don't get a compile error.
>>
>>
>> Klaus wrote:
>>> Hi,
>>>
>>> I'm getting this when I try to start red5 rev 2094 .
>>>
>>> compile_core_compatibility:
>>> [javac] Compiling 143 source files to
>> /usr/local/src/red5-test/bin
>>> [javac]
>>> /usr/local/src/red5-test/src/org/red5/server/jmx/JMXAgent.java:168:
>>> incompatible types
>>> [javac] found : java.lang.Object
>>> [javac] required: javax.management.ObjectName
>>> [javac] for (ObjectName oname :
>> mbs.queryNames(
>>>
>> [javac]
>> ^
>>> [javac] Note: Some input files use unchecked or unsafe
>> operations.
>>> [javac] Note: Recompile with -Xlint:unchecked for details.
>>> [javac] 1 error
>>>
>>> Any clues ?
>>>
>>> _______________________________________________
>>> Red5 mailing list
>>> [email protected] <mailto:[email protected]>
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>
>>>
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> [email protected] <mailto:[email protected]>
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>>
>>
>> --
>> It is difficult to free fools from the chains they revere. - Voltaire
>> ---------------------------------------------------------------------
>> ---
>>
>> _______________________________________________
>> Red5 mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
--
It is difficult to free fools from the chains they revere. - Voltaire
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org