Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4164c7aa025b
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 68bf60538ded
Choose a head ref
  • 3 commits
  • 5 files changed
  • 1 contributor

Commits on Jan 19, 2015

  1. Copy the full SHA
    218e869 View commit details
  2. Copy the full SHA
    b4b1ff5 View commit details
  3. Copy the full SHA
    68bf605 View commit details
Showing with 21 additions and 16 deletions.
  1. +3 −2 core/pom.rb
  2. +11 −11 core/pom.xml
  3. +4 −2 core/src/main/java/org/jruby/util/URLResource.java
  4. +2 −1 ext/pom.rb
  5. +1 −0 ext/pom.xml
5 changes: 3 additions & 2 deletions core/pom.rb
Original file line number Diff line number Diff line change
@@ -61,11 +61,12 @@
jar 'com.headius:unsafe-mock', '${unsafe.version}', :scope => 'provided'
jar 'com.headius:jsr292-mock:1.1', :scope => 'provided'

jar 'com.headius:openjdk-truffle:0.6'
jar 'com.oracle:truffle-dsl-processor:0.6', :scope => 'provided'

jar 'bsf:bsf:2.4.0', :scope => 'provided'
jar 'com.jcraft:jzlib:1.1.3'
jar 'com.martiansoftware:nailgun-server:0.9.1'
jar 'com.oracle:truffle:0.6'
jar 'com.oracle:truffle-dsl-processor:0.6', :scope => 'provided'
jar 'junit:junit', :scope => 'test'
jar 'org.apache.ant:ant:${ant.version}', :scope => 'provided'
jar 'org.osgi:org.osgi.core:5.0.0', :scope => 'provided'
22 changes: 11 additions & 11 deletions core/pom.xml
Original file line number Diff line number Diff line change
@@ -177,6 +177,17 @@
<version>1.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.headius</groupId>
<artifactId>openjdk-truffle</artifactId>
<version>0.6</version>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>truffle-dsl-processor</artifactId>
<version>0.6</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>bsf</groupId>
<artifactId>bsf</artifactId>
@@ -193,17 +204,6 @@
<artifactId>nailgun-server</artifactId>
<version>0.9.1</version>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>truffle</artifactId>
<version>0.6</version>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>truffle-dsl-processor</artifactId>
<version>0.6</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
6 changes: 4 additions & 2 deletions core/src/main/java/org/jruby/util/URLResource.java
Original file line number Diff line number Diff line change
@@ -5,6 +5,8 @@
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.nio.channels.Channel;
import java.nio.channels.Channels;
@@ -156,8 +158,8 @@ public static FileResource createClassloaderURI(Ruby runtime, String pathname) {
}
try
{
pathname = new NormalizedFile("/" + pathname).getCanonicalPath().substring(1);
} catch (IOException e) {
pathname = new URI(pathname.replaceFirst("^/*", "/")).normalize().getPath().replaceAll("^/([.][.]/)*", "");
} catch (URISyntaxException e) {
pathname = pathname.replaceAll("^[.]?/+", "");
}
URL url = cl.getResource(pathname);
3 changes: 2 additions & 1 deletion ext/pom.rb
Original file line number Diff line number Diff line change
@@ -11,7 +11,8 @@
'tesla.dump.readonly' => true )

modules [ 'readline',
'ripper' ]
'ripper',
'truffle' ]

plugin( :deploy,
'skip' => 'true' )
1 change: 1 addition & 0 deletions ext/pom.xml
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@
<modules>
<module>readline</module>
<module>ripper</module>
<module>truffle</module>
</modules>
<properties>
<tesla.dump.readonly>true</tesla.dump.readonly>