-
Notifications
You must be signed in to change notification settings - Fork 864
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Context(org.mozilla.javascript.ContextFactory) is not public in org.mozilla.javascript.Context; cannot be accessed from outside package #145
Comments
I see that the constructor: On Fri, Feb 20, 2015 at 5:17 PM, Steve Owens [email protected]
greg brail | apigee https://apigee.com/ | twitter @gbrail |
Argh, sorry. I see that the constructor:
is "protected" so this error doesn't make sense to me. Plus the code in If you have something that we can test to reproduce this, or information On Fri, Feb 20, 2015 at 5:17 PM, Steve Owens [email protected]
greg brail | apigee https://apigee.com/ | twitter @gbrail |
The class I posted (partially above) should be adequate to reproduce the issue. It would need to be added to a Maven project and then you would need to use maven to compile. Like I said, when I run the unit tests that instantiate this class in the debugger they execute flawlessly, but when I run them during a maven command such as maven install, the code in the class doesn't even compile. I will try to get you a project that reproduces the issue later. |
So depending on how Rhino is loaded the subject error may or may not occur. If I run the code from eclipse it works but when I run in maven it doesn't work. The complete error is as follows:
The code in question is:
I have marked line 19 with 19>>> that is not part of the code listing.
The text was updated successfully, but these errors were encountered: