build on java 1.5 broken as of commit feea254223e19.. wmeissner, Even betterer
fix for JRUBY-4308 ...
-----------------------------------------------------------------------------------------------------
Key: JRUBY-4316
URL: http://jira.codehaus.org/browse/JRUBY-4316
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.5
Environment: MacOS 10.5.8
Reporter: Stephen Bannasch
Priority: Critical
The following commit broke building JRuby with Java 1.5.
{code}
commit feea254223e193dfa8cdd6812760409a90f39cf8
Author: Wayne Meissner <[email protected]>
Date: Sat Dec 5 17:55:13 2009 +1000
Even betterer fix for JRUBY-4308 - add InputStream and OutputStream
adapters to ChannelStream, so they can share the read/write buffer, and u
{code}
These code blocks in src/org/jruby/util/io/ChannelStream.java are failing
{code}
} catch (BadDescriptorException ex) {
throw new IOException(ex);
}
{code}
and generating these errors running ant:
{code}
[apt]
/Users/stephen/dev/test/jruby-git/src/org/jruby/util/io/ChannelStream.java:1430:
cannot find symbol
[apt] symbol : constructor
IOException(org.jruby.util.io.BadDescriptorException)
[apt] location: class java.io.IOException
[apt] throw new IOException(ex);
[apt] ^
[apt]
/Users/stephen/dev/test/jruby-git/src/org/jruby/util/io/ChannelStream.java:1476:
cannot find symbol
[apt] symbol : constructor
IOException(org.jruby.util.io.BadDescriptorException)
[apt] location: class java.io.IOException
[apt] throw new IOException(ex);
[apt] ^
[apt]
/Users/stephen/dev/test/jruby-git/src/org/jruby/util/io/ChannelStream.java:1496:
cannot find symbol
[apt] symbol : constructor
IOException(org.jruby.util.io.BadDescriptorException)
[apt] location: class java.io.IOException
[apt] throw new IOException(ex);
[apt] ^
[apt]
/Users/stephen/dev/test/jruby-git/src/org/jruby/util/io/ChannelStream.java:1551:
cannot find symbol
[apt] symbol : constructor
IOException(org.jruby.util.io.BadDescriptorException)
[apt] location: class java.io.IOException
[apt] throw new IOException(ex);
[apt] ^
[apt]
/Users/stephen/dev/test/jruby-git/src/org/jruby/util/io/ChannelStream.java:1563:
cannot find symbol
[apt] symbol : constructor
IOException(org.jruby.util.io.BadDescriptorException)
[apt] location: class java.io.IOException
[apt] throw new IOException(ex);
[apt] ^
[apt]
/Users/stephen/dev/test/jruby-git/src/org/jruby/util/io/ChannelStream.java:1574:
cannot find symbol
[apt] symbol : constructor
IOException(org.jruby.util.io.BadDescriptorException)
[apt] location: class java.io.IOException
[apt] throw new IOException(ex);
[apt] ^
[apt] Note: Some input files use unchecked or unsafe operations.
[apt] Note: Recompile with -Xlint:unchecked for details.
[apt] 6 errors
{code}
The errors do not occur building under Java 1.6
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email