JRuby (please use github issues at http://bugs.jruby.org)
  1. JRuby (please use github issues at http://bugs.jruby.org)
  2. JRUBY-5943

Platform.IS_OPENVMS is unknown in jorg.jruby.ext.posix.util.Platform

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.6.3
    • Fix Version/s: JRuby 1.7.0.pre1
    • Component/s: Ruby 1.9.3
    • Labels:
      None
    • Environment:
      Adding OpenVMS IA64 servers support. J2SE V6.0. JRuby 1.6.3
    • Number of attachments :
      0

      Description

      I am unable to add OpenVMS style file names support in JRuby 1.6.3. I am getting repeated such kind of errors while compiling a modified src/org/jruby/JRubyFile.java:
      [apt]
      /PHV/PHV/JRUBY_VMS/jruby-1.6.3/src/org/jruby/RubyFile.java:1109: cannot
      find symbol
      [apt] symbol : variable IS_OPENVMS
      [apt] location: class org.jruby.ext.posix.util.Platform
      [apt] if (Platform.IS_OPENVMS)
      This is because jnr-posix.jar does not include support for OpenVMS.

      I did download jruby-jnr-posix-1.1.8-0-g3035acd.tar.gz and
      jnr-jnr-constants-0.8.1-0-gd3d4acc.zip but jnr-constants lacks a
      build.xml causing jruby-jnr-posix/build.xml to fail.

      Can you add those two lines in jnr_posix/src/org/jruby/ext/posix/util/Platfrom.java :
      ...
      private static final String OPENVMS = "openvms";
      ...
      public static final boolean IS_OPENVMS = OS_NAME_LC.equals(OPENVMS);
      ...
      and submit a new jnr-posix.jar ?

      Thank you in advance.
      Philippe Vouters

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Philippe Vouters
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: