Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
I am going to attach ebuild.diff. Patch https://overlays.gentoo.org/svn/proj/java/gcj-overlay/dev-java/rhino/files/public-NativeScript.patch Note It seems like a hack. Though, it does not really hurt. Since gcj-4.1.1 ecj throws this error: NativeScript not visible when you compile bsf-2.3.0.
Created an attachment (id=95585) [edit] rhino-1.5.5.ebuild.diff
*** Bug 145768 has been marked as a duplicate of this bug. ***
(In reply to comment #1) > Created an attachment (id=95585) [edit] > rhino-1.5.5.ebuild.diff > I would like to see this patch submitted upstream too because we try to keep as close to upstream as possible.
protected over public seems better. I will test.
Hm, not really. Rhino fails to compile then. Just to complete, the error message: [javac] ---------- [javac] 83. ERROR in /var/tmp/portage/bsf-2.3.0-r3/work/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascript/JsObjectStub.java [javac] (at line 236) [javac] && !(m_object instanceof NativeScript); [javac] ^^^^^^^^^^^^ [javac] The type NativeScript is not visible [javac] ---------- [javac] 84. ERROR in /var/tmp/portage/bsf-2.3.0-r3/work/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascr [javac] ipt/JsObjectStub.java [javac] (at line 245) [javac] return (m_object instanceof NativeScript); [javac] ^^^^^^^^^^^^ [javac] The type NativeScript is not visible [javac] ----------
Fixed in CVS. Thanks for reporting.
Ok, bsf-2.3 which was failing with rhino-1.5 is no longer available. So I recommend to drop this hack again. bsf-2.4 is available and requires rhino-1.6 which hopefully has not such an issue.
OK, patch removed in 1.5.5-r5