Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » access restriction on JVM 1.5 org.w3c jars
access restriction on JVM 1.5 org.w3c jars [message #246829] Tue, 14 August 2007 14:27 Go to next message
Eclipse UserFriend
Originally posted by: alexandre.magillem.com

Hi all, I've already posted this question in the platform newsgroup but
this seems a better place for it.

Since I have switched to Eclipse Europa, the org.w3c.dom.traversal jar
is not accessible anymore. To access it, I must explicitly change the
Error/Warnings preference (Forbidden Reference) from Error to Warning
(or Ignore).

Am I really accessing a restricted API ? As far as I understand, the
APIs in the org.w3c.dom.traversal package are public APIs.

Isn't there a problem in Eclipse 3.3 with the access rules definition
off this jar ? I don't know where these access rules are defined, but
with Eclipse 3.2, there are no such access rules defined on the JVM.

Thanks for your answers.

Regards.
Christophe
Re: access restriction on JVM 1.5 org.w3c jars [message #246845 is a reply to message #246829] Wed, 15 August 2007 10:35 Go to previous messageGo to next message
Eclipse UserFriend
Access rules were added to "execution environments" in Europa (3.3) based on
standard specifications that describe what packages will be available at
runtime. Looking at the access rules, it appears that the J2SE-1.3
environment does not provide access to org.w3c.dom, but J2SE-1.4 does. What
execution environment is on your build path? Perhaps you need to upgraded to
1.4?

You can see the access rules on the environment on the project's "Java Build
Path" properties page. Look at the libraries tab, and expand the jars inside
the JRE System Library. The rules appear on each jar.

Darin Wright

"Christophe Alexandre" <alexandre@magillem.com> wrote in message
news:f9ss66$bq4$1@build.eclipse.org...
> Hi all, I've already posted this question in the platform newsgroup but
> this seems a better place for it.
>
> Since I have switched to Eclipse Europa, the org.w3c.dom.traversal jar is
> not accessible anymore. To access it, I must explicitly change the
> Error/Warnings preference (Forbidden Reference) from Error to Warning (or
> Ignore).
>
> Am I really accessing a restricted API ? As far as I understand, the APIs
> in the org.w3c.dom.traversal package are public APIs.
>
> Isn't there a problem in Eclipse 3.3 with the access rules definition off
> this jar ? I don't know where these access rules are defined, but with
> Eclipse 3.2, there are no such access rules defined on the JVM.
>
> Thanks for your answers.
>
> Regards.
> Christophe
Re: access restriction on JVM 1.5 org.w3c jars [message #246850 is a reply to message #246845] Wed, 15 August 2007 11:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexandre.magillem.com

I'm using J2SE-1.5 on OS X (10.4.10).
For the org.w3c.dom jars, the access rules are:

Accessible: org/w3c/dom/*
Accessible: org/w3c/dom/bootstrap/*
Accessible: org/w3c/dom/events/*
Accessible: org/w3c/dom/ls/*

but not:
org/w3c/dom/traversal/*

Regards.
Christophe

Darin Wright a écrit :
> Access rules were added to "execution environments" in Europa (3.3) based on
> standard specifications that describe what packages will be available at
> runtime. Looking at the access rules, it appears that the J2SE-1.3
> environment does not provide access to org.w3c.dom, but J2SE-1.4 does. What
> execution environment is on your build path? Perhaps you need to upgraded to
> 1.4?
>
> You can see the access rules on the environment on the project's "Java Build
> Path" properties page. Look at the libraries tab, and expand the jars inside
> the JRE System Library. The rules appear on each jar.
>
> Darin Wright
>
> "Christophe Alexandre" <alexandre@magillem.com> wrote in message
> news:f9ss66$bq4$1@build.eclipse.org...
>> Hi all, I've already posted this question in the platform newsgroup but
>> this seems a better place for it.
>>
>> Since I have switched to Eclipse Europa, the org.w3c.dom.traversal jar is
>> not accessible anymore. To access it, I must explicitly change the
>> Error/Warnings preference (Forbidden Reference) from Error to Warning (or
>> Ignore).
>>
>> Am I really accessing a restricted API ? As far as I understand, the APIs
>> in the org.w3c.dom.traversal package are public APIs.
>>
>> Isn't there a problem in Eclipse 3.3 with the access rules definition off
>> this jar ? I don't know where these access rules are defined, but with
>> Eclipse 3.2, there are no such access rules defined on the JVM.
>>
>> Thanks for your answers.
>>
>> Regards.
>> Christophe
>
>
Re: access restriction on JVM 1.5 org.w3c jars [message #247143 is a reply to message #246850] Fri, 31 August 2007 05:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexandre.magillem.com

Hi all,
I'm renewing this question-problem to ask if I should open a bug track
on this issue ?

Regards.
Christophe

Christophe Alexandre a écrit :
> I'm using J2SE-1.5 on OS X (10.4.10).
> For the org.w3c.dom jars, the access rules are:
>
> Accessible: org/w3c/dom/*
> Accessible: org/w3c/dom/bootstrap/*
> Accessible: org/w3c/dom/events/*
> Accessible: org/w3c/dom/ls/*
>
> but not:
> org/w3c/dom/traversal/*
>
> Regards.
> Christophe
>
> Darin Wright a écrit :
>> Access rules were added to "execution environments" in Europa (3.3)
>> based on standard specifications that describe what packages will be
>> available at runtime. Looking at the access rules, it appears that the
>> J2SE-1.3 environment does not provide access to org.w3c.dom, but
>> J2SE-1.4 does. What execution environment is on your build path?
>> Perhaps you need to upgraded to 1.4?
>>
>> You can see the access rules on the environment on the project's "Java
>> Build Path" properties page. Look at the libraries tab, and expand the
>> jars inside the JRE System Library. The rules appear on each jar.
>>
>> Darin Wright
>>
>> "Christophe Alexandre" <alexandre@magillem.com> wrote in message
>> news:f9ss66$bq4$1@build.eclipse.org...
>>> Hi all, I've already posted this question in the platform newsgroup
>>> but this seems a better place for it.
>>>
>>> Since I have switched to Eclipse Europa, the org.w3c.dom.traversal
>>> jar is not accessible anymore. To access it, I must explicitly change
>>> the Error/Warnings preference (Forbidden Reference) from Error to
>>> Warning (or Ignore).
>>>
>>> Am I really accessing a restricted API ? As far as I understand, the
>>> APIs in the org.w3c.dom.traversal package are public APIs.
>>>
>>> Isn't there a problem in Eclipse 3.3 with the access rules definition
>>> off this jar ? I don't know where these access rules are defined, but
>>> with Eclipse 3.2, there are no such access rules defined on the JVM.
>>>
>>> Thanks for your answers.
>>>
>>> Regards.
>>> Christophe
>>
>>
Re: access restriction on JVM 1.5 org.w3c jars [message #247452 is a reply to message #247143] Wed, 05 September 2007 11:20 Go to previous message
Eclipse UserFriend
Yes - and I see you have opened a bug. Thanks,

Darin

"Christophe Alexandre" <alexandre@magillem.com> wrote in message
news:fb8n84$6ee$1@build.eclipse.org...
> Hi all,
> I'm renewing this question-problem to ask if I should open a bug track on
> this issue ?
>
> Regards.
> Christophe
>
> Christophe Alexandre a
Previous Topic:content assist problem
Next Topic:tools.jar
Goto Forum:
  


Current Time: Tue May 13 10:58:05 EDT 2025

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

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

Back to the top