Hi Jruby and community,
I am getting NPE in Constantine Platform.getPackageName() using JRuby
1.6.4
and would like to vote for the fixed Platform from
GitHub - jnr/jnr-constants: Java Native Runtime constants.
If i drag in the fixed up C replacing the bundled everything just works.
THis was previously discussed at Com.kenai code in jrubycomplete - JRuby - Ruby-Forum
Thanks Wayne for the fix and everyone else for JR.
mP
Is there a bug for this? If not, could you file one? Perhaps we could
pull it in for 1.6.5 if there’s not much impact doing so.
Thanks!
On Thu, Aug 25, 2011 at 12:20 AM, Miroslav Pokorny
Interesting, because platform.getPlatform did not work for me when i
took
jnr-constants and created a new jruby-complete.jar. I have a fix with
unit
tests for constantine, but I don’t have a nice and clean test case for
jruby
(it involves a java class embedding jruby, an external script, and a
packaging in one-jar). Charlie, do you want a nice neat jruby testcase?
At
the very least, I could throw something informal together and put it on
github. I was trying to put something together that would fit into the
jruby-complete sanity tests.
Before submitting my code, I suppose I could grab the tip of
jnr-constants
again and see if it has been fixed in the last 2 weeks. This is not for
my
day job, so it’ll have to wait until tonight.
–rt
On Aug 25, 2011 8:12 AM, “Charles Oliver N.” [email protected]
wrote:
Is there a bug for this? If not, could you file one? Perhaps we could
pull it in for 1.6.5 if there’s not much impact doing so.
Thanks!
On Thu, Aug 25, 2011 at 12:20 AM, Miroslav Pokorny
Sorry, jruby dudes, err… community, duty called this evening and my
day
job went way after dark. I’ll get both the com.kenai.constantine code
and
the jruby embedding in onejar example packaged up and posted somewhere
this
weekend.
–rt
On Thu, Aug 25, 2011 at 8:36 AM, Charles Oliver N.
[email protected]wrote:
unit
jnr-constants
pull it in for 1.6.5 if there’s not much impact doing so.
To unsubscribe from this list, please visit:
–
-------- __@
----- `<,
---- ()/ ()
robert tomb
[email protected]
twitter: @bikeonastick
612.709.0940
Hiho
I have lodged the bug i originally described. Could you bundle C source
inside the official jruby-src download. Personally itmakes no sense to
me
that they are NOT both included.
Thanx R in advance.
tya
MP
Charlie:
I have a pretty basic test harness for the
com.kenai.constantine.Platform
issue in jruby. I created a github project for it
In the project, I have a good and a bad version of jruby-complete. You
can
create your own jrubycomplete.jar, dump it in the thirdParty directory
and
just run an ant build. Just make sure there’s only one
jruby-complete*.jar
in there (hence my reason for calling my stashed versions of the files
.bad
and .fix. Look at the README, I have (as stated above) good and bad jars
in
there and the build file includes targets to move them into place and
build.
Anyway, send me a message if you have any questions. I have my fixes for
com.kenai.constantine.Platform (+ unit tests) in a local git repo. Any
suggestions as to whom I should submit those?
–rt
Whatever you can provide will help…just looking for an issue/bug to
start tracking exactly what it is that needs to be fixed/updated.
Thanks!