Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » break with org.eclipse.osgi.frameowrk.internal.protocol.MultiplexingURLStreamHan
break with org.eclipse.osgi.frameowrk.internal.protocol.MultiplexingURLStreamHan [message #126933] Tue, 03 March 2009 15:11 Go to next message
Yunan, He is currently offline Yunan, HeFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,

I am running EUT (Eclipse Unit Test) with one JVM implementation. It
breaks in
org.eclipse.osgi.frameowrk.internal.protocol.MultiplexingURL StreamHandler.
The code piece:

Field handlerField = URL.class.getDeclaredField("handler");
handlerField.setAccessible(true);

I checked with standard (J2SE)
(http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html,
http://java.sun.com/javase/6/docs/api/java/net/URL.html) and can not find
a filed named "handler" is required in specification.

I am not sure if it's appropriate to post EUT related problem here.

Your feedback and clarification are really appreciated and helpful. Thanks.

Regards,
Yunan
Re: break with org.eclipse.osgi.frameowrk.internal.protocol.MultiplexingURLStreamHan [message #126947 is a reply to message #126933] Tue, 03 March 2009 17:36 Go to previous messageGo to next message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Hi Yunan,

Which JVM are you using?
That code is very specialized and as you've noticed is using non-documented
behavior to allow us to workaround the way the URLStreamHandlerFactory
operates.
-Simon


"Yunan, He" <yunan.he@intel.com> wrote in message
news:bff4a83a6ac916f0e4a8436088f038e7$1@www.eclipse.org...
> Hi,
> I am running EUT (Eclipse Unit Test) with one JVM implementation. It
> breaks in
> org.eclipse.osgi.frameowrk.internal.protocol.MultiplexingURL StreamHandler.
> The code piece:
>
> Field handlerField = URL.class.getDeclaredField("handler");
> handlerField.setAccessible(true);
>
> I checked with standard (J2SE)
> (http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html,
> http://java.sun.com/javase/6/docs/api/java/net/URL.html) and can not find
> a filed named "handler" is required in specification.
> I am not sure if it's appropriate to post EUT related problem here.
>
> Your feedback and clarification are really appreciated and helpful.
> Thanks.
>
> Regards,
> Yunan
>
>
Re: break with org.eclipse.osgi.frameowrk.internal.protocol.MultiplexingURLStreamHan [message #126973 is a reply to message #126947] Thu, 05 March 2009 02:52 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=266961
It would be good to see if this fixes the problem.

Thanks.
-Simon

"Simon Kaegi" <simon_kaegi@ca.ibm.com> wrote in message
news:gojpr8$eff$1@build.eclipse.org...
> Hi Yunan,
>
> Which JVM are you using?
> That code is very specialized and as you've noticed is using
> non-documented behavior to allow us to workaround the way the
> URLStreamHandlerFactory operates.
> -Simon
>
>
> "Yunan, He" <yunan.he@intel.com> wrote in message
> news:bff4a83a6ac916f0e4a8436088f038e7$1@www.eclipse.org...
>> Hi,
>> I am running EUT (Eclipse Unit Test) with one JVM implementation. It
>> breaks in
>> org.eclipse.osgi.frameowrk.internal.protocol.MultiplexingURL StreamHandler.
>> The code piece:
>>
>> Field handlerField = URL.class.getDeclaredField("handler");
>> handlerField.setAccessible(true);
>>
>> I checked with standard (J2SE)
>> (http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html,
>> http://java.sun.com/javase/6/docs/api/java/net/URL.html) and can not find
>> a filed named "handler" is required in specification.
>> I am not sure if it's appropriate to post EUT related problem here.
>>
>> Your feedback and clarification are really appreciated and helpful.
>> Thanks.
>>
>> Regards,
>> Yunan
>>
>>
>
>
Previous Topic:cannot install XSL Tools with dropins folder
Next Topic:P2 minium set of IU
Goto Forum:
  


Current Time: Fri Apr 26 02:23:00 GMT 2024

Powered by FUDForum. Page generated in 0.02991 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top