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: cf3bae64d643
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cb890b125fad
Choose a head ref

Commits on Apr 17, 2015

  1. Copy the full SHA
    20f4611 View commit details

Commits on Apr 22, 2015

  1. Copy the full SHA
    8fcbcb8 View commit details
  2. Copy the full SHA
    d5f5320 View commit details
  3. [Truffle] Rewrite a good part of RubyFiber and RubyThread.

    * Now a Thread has multipe Fibers and always has a root Fiber.
    * Properly kill Fibers when a thread exits.
    * Share all the logic.
    eregon committed Apr 22, 2015
    Copy the full SHA
    5ccc678 View commit details
  4. Merge pull request #2862 from bjfish/truffle_mri_tests_mvn

    [Truffle] Add MRI test profile to pom files.
    eregon committed Apr 22, 2015
    Copy the full SHA
    b80323e View commit details
  5. Merge pull request #2845 from eregon/truffle-on-demand-freeze-node

    [Truffle] On demand freeze node
    eregon committed Apr 22, 2015
    Copy the full SHA
    a8830c8 View commit details
  6. Add java_method, java_alias, and java_send to interface modules.

    Part of improvements to support #2857. Specs pending.
    headius committed Apr 22, 2015
    Copy the full SHA
    563c402 View commit details
  7. Add java_method, java_alias, and java_send to interface modules.

    Part of improvements to support #2857. Specs pending.
    headius committed Apr 22, 2015
    Copy the full SHA
    f8c4bcd View commit details
  8. Eliminate "base" java class proxy initialization.

    All it did was define the long-defunct __jsend! method, which is
    superceded for many years by java_send.
    headius committed Apr 22, 2015
    2
    Copy the full SHA
    a54f099 View commit details
  9. Copy the full SHA
    2b230b1 View commit details
  10. Copy the full SHA
    1409c2e View commit details
  11. [Truffle] Introdude SafepointManager.pauseThreadAndExecuteLater().

    * Make the deferred action just a boolean parameter.
    * Affect the right thread by chosing which Fiber to affect.
    eregon committed Apr 22, 2015
    Copy the full SHA
    5478943 View commit details
  12. Copy the full SHA
    a9157cb View commit details
  13. Copy the full SHA
    714a84c View commit details
  14. Copy the full SHA
    d574af6 View commit details
  15. [Truffle] Proc#yield

    chrisseaton committed Apr 22, 2015
    Copy the full SHA
    5385f46 View commit details
  16. Copy the full SHA
    bae615c View commit details
  17. Copy the full SHA
    75fe358 View commit details
  18. Copy the full SHA
    795d6a1 View commit details
  19. Copy the full SHA
    ac3e1fe View commit details
  20. Make sure __ENCODING__ is correct for both inline scripts and source …

    …files.
    
    Fixes #2847: JRuby not using UTF-8 for source files.
    nirvdrum committed Apr 22, 2015
    Copy the full SHA
    fa541f4 View commit details
  21. Copy the full SHA
    e6af2c6 View commit details
  22. Copy the full SHA
    4943ce2 View commit details
  23. Copy the full SHA
    c8ef4c3 View commit details
  24. Copy the full SHA
    3465805 View commit details
  25. Copy the full SHA
    8407c9c View commit details
  26. Copy the full SHA
    0b57615 View commit details
  27. Copy the full SHA
    dedc7b4 View commit details
  28. Copy the full SHA
    f8bc99c View commit details
  29. Copy the full SHA
    48fa565 View commit details
  30. Merge branch 'master' into truffle-io

    Conflicts:
    	truffle/src/main/ruby/core/rubinius/common/kernel.rb
    	truffle/src/main/ruby/core/shims.rb
    chrisseaton committed Apr 22, 2015
    Copy the full SHA
    d5c628d View commit details

Commits on Apr 23, 2015

  1. Copy the full SHA
    73345e6 View commit details
  2. [Truffle] $$

    chrisseaton committed Apr 23, 2015
    Copy the full SHA
    52b2a4f View commit details
  3. Copy the full SHA
    e32d9ed View commit details
  4. Copy the full SHA
    a75874b View commit details
  5. Copy the full SHA
    cb890b1 View commit details
Showing with 491 additions and 324 deletions.
  1. +6 −6 core/pom.rb
  2. +6 −6 core/pom.xml
  3. +5 −4 core/src/main/java/org/jruby/Ruby.java
  4. +4 −0 core/src/main/java/org/jruby/java/invokers/StaticMethodInvoker.java
  5. +2 −0 core/src/main/java/org/jruby/java/proxies/JavaInterfaceTemplate.java
  6. +2 −2 core/src/main/java/org/jruby/javasupport/Java.java
  7. +0 −2 core/src/main/java/org/jruby/javasupport/binding/ClassInitializer.java
  8. +0 −22 core/src/main/java/org/jruby/javasupport/binding/Initializer.java
  9. +0 −2 core/src/main/java/org/jruby/javasupport/binding/InterfaceInitializer.java
  10. +0 −1 core/src/main/java/org/jruby/javasupport/proxy/JavaProxyClass.java
  11. +14 −6 core/src/main/java/org/jruby/lexer/GetsLexerSource.java
  12. +2 −2 core/src/main/java/org/jruby/parser/Parser.java
  13. +6 −0 core/src/main/java/org/jruby/runtime/encoding/EncodingService.java
  14. +1 −1 pom.rb
  15. +9 −0 pom.xml
  16. +8 −0 spec/java_integration/interfaces/static_methods_spec.rb
  17. +0 −1 spec/truffle/tags/core/array/hash_tags.txt
  18. +0 −1 spec/truffle/tags/core/array/initialize_tags.txt
  19. +0 −2 spec/truffle/tags/core/array/sort_tags.txt
  20. +1 −0 spec/truffle/tags/core/fixnum/bit_xor_tags.txt
  21. +0 −1 spec/truffle/tags/core/kernel/at_exit_tags.txt
  22. +0 −2 spec/truffle/tags/core/kernel/loop_tags.txt
  23. +0 −12 spec/truffle/tags/core/proc/yield_tags.txt
  24. +6 −0 test/mri/excludes_truffle/TestClass.rb
  25. +2 −0 test/mri/excludes_truffle/TestDelegateClass.rb
  26. +2 −0 test/mri/excludes_truffle/TestFixnum.rb
  27. +35 −0 test/mri/excludes_truffle/TestMarshal.rb
  28. +23 −23 test/mri_truffle.index
  29. +19 −0 test/pom.rb
  30. +28 −0 test/pom.xml
  31. +4 −0 tool/truffle-findbugs-exclude.xml
  32. +2 −2 truffle/src/main/java/org/jruby/truffle/nodes/core/ArrayNodes.java
  33. +7 −4 truffle/src/main/java/org/jruby/truffle/nodes/core/FiberNodes.java
  34. +6 −0 truffle/src/main/java/org/jruby/truffle/nodes/core/FixnumNodes.java
  35. +43 −0 truffle/src/main/java/org/jruby/truffle/nodes/core/IntegerNodes.java
  36. +13 −26 truffle/src/main/java/org/jruby/truffle/nodes/core/KernelNodes.java
  37. +3 −1 truffle/src/main/java/org/jruby/truffle/nodes/core/ModuleNodes.java
  38. +1 −1 truffle/src/main/java/org/jruby/truffle/nodes/core/ProcNodes.java
  39. +7 −14 truffle/src/main/java/org/jruby/truffle/nodes/core/ThreadNodes.java
  40. +16 −41 truffle/src/main/java/org/jruby/truffle/runtime/DebugOperations.java
  41. +2 −10 truffle/src/main/java/org/jruby/truffle/runtime/RubyContext.java
  42. +1 −0 truffle/src/main/java/org/jruby/truffle/runtime/core/CoreLibrary.java
  43. +4 −4 truffle/src/main/java/org/jruby/truffle/runtime/core/RubyBasicObject.java
  44. +75 −34 truffle/src/main/java/org/jruby/truffle/runtime/core/RubyFiber.java
  45. +42 −18 truffle/src/main/java/org/jruby/truffle/runtime/core/RubyThread.java
  46. +4 −13 truffle/src/main/java/org/jruby/truffle/runtime/signal/ProcSignalHandler.java
  47. +12 −8 truffle/src/main/java/org/jruby/truffle/runtime/subsystems/FiberManager.java
  48. +5 −15 truffle/src/main/java/org/jruby/truffle/runtime/subsystems/InstrumentationServerManager.java
  49. +1 −1 truffle/src/main/java/org/jruby/truffle/runtime/subsystems/ObjectSpaceManager.java
  50. +33 −18 truffle/src/main/java/org/jruby/truffle/runtime/subsystems/SafepointManager.java
  51. +15 −10 truffle/src/main/java/org/jruby/truffle/runtime/subsystems/ThreadManager.java
  52. +12 −0 truffle/src/main/ruby/core/rubinius/common/kernel.rb
  53. +0 −8 truffle/src/main/ruby/core/rubinius/common/string.rb
  54. +2 −0 truffle/src/main/ruby/core/shims.rb
12 changes: 6 additions & 6 deletions core/pom.rb
Original file line number Diff line number Diff line change
@@ -41,18 +41,18 @@
jar 'org.ow2.asm:asm-util:${asm.version}'

jar 'com.github.jnr:jnr-netdb:1.1.4'
jar 'com.github.jnr:jnr-enxio:0.8-SNAPSHOT'
jar 'com.github.jnr:jnr-enxio:0.8'
jar 'com.github.jnr:jnr-x86asm:1.0.2'
jar 'com.github.jnr:jnr-unixsocket:0.7-SNAPSHOT'
jar 'com.github.jnr:jnr-posix:3.0.11-SNAPSHOT'
jar 'com.github.jnr:jnr-unixsocket:0.7'
jar 'com.github.jnr:jnr-posix:3.0.11'
jar 'com.github.jnr:jnr-constants:0.8.6'
jar 'com.github.jnr:jnr-ffi:2.0.2'
jar 'com.github.jnr:jffi:${jffi.version}'
jar 'com.github.jnr:jffi:${jffi.version}:native'

jar 'org.jruby.joni:joni:2.1.6-SNAPSHOT'
jar 'org.jruby.extras:bytelist:1.0.13-SNAPSHOT'
jar 'org.jruby.jcodings:jcodings:1.0.13-SNAPSHOT'
jar 'org.jruby.joni:joni:2.1.6'
jar 'org.jruby.extras:bytelist:1.0.13'
jar 'org.jruby.jcodings:jcodings:1.0.13'
jar 'org.jruby:dirgra:0.2'

jar 'com.headius:invokebinder:1.5'
12 changes: 6 additions & 6 deletions core/pom.xml
Original file line number Diff line number Diff line change
@@ -90,7 +90,7 @@
<dependency>
<groupId>com.github.jnr</groupId>
<artifactId>jnr-enxio</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.8</version>
</dependency>
<dependency>
<groupId>com.github.jnr</groupId>
@@ -100,12 +100,12 @@
<dependency>
<groupId>com.github.jnr</groupId>
<artifactId>jnr-unixsocket</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.7</version>
</dependency>
<dependency>
<groupId>com.github.jnr</groupId>
<artifactId>jnr-posix</artifactId>
<version>3.0.11-SNAPSHOT</version>
<version>3.0.11</version>
</dependency>
<dependency>
<groupId>com.github.jnr</groupId>
@@ -131,17 +131,17 @@
<dependency>
<groupId>org.jruby.joni</groupId>
<artifactId>joni</artifactId>
<version>2.1.6-SNAPSHOT</version>
<version>2.1.6</version>
</dependency>
<dependency>
<groupId>org.jruby.extras</groupId>
<artifactId>bytelist</artifactId>
<version>1.0.13-SNAPSHOT</version>
<version>1.0.13</version>
</dependency>
<dependency>
<groupId>org.jruby.jcodings</groupId>
<artifactId>jcodings</artifactId>
<version>1.0.13-SNAPSHOT</version>
<version>1.0.13</version>
</dependency>
<dependency>
<groupId>org.jruby</groupId>
9 changes: 5 additions & 4 deletions core/src/main/java/org/jruby/Ruby.java
Original file line number Diff line number Diff line change
@@ -39,6 +39,7 @@
***** END LICENSE BLOCK *****/
package org.jruby;

import org.jcodings.specific.UTF8Encoding;
import org.jruby.ast.ArrayNode;
import org.jruby.ast.BlockNode;
import org.jruby.ast.CallNode;
@@ -2731,26 +2732,26 @@ private Node parseFileFromMainAndGetAST(InputStream in, String file, DynamicScop
private Node parseFileAndGetAST(InputStream in, String file, DynamicScope scope, int lineNumber, boolean isFromMain) {
ParserConfiguration parserConfig =
new ParserConfiguration(this, lineNumber, false, true, config);
setupSourceEncoding(parserConfig);
setupSourceEncoding(parserConfig, UTF8Encoding.INSTANCE);
return parser.parse(file, in, scope, parserConfig);
}

public Node parseInline(InputStream in, String file, DynamicScope scope) {
addEvalParseToStats();
ParserConfiguration parserConfig =
new ParserConfiguration(this, 0, false, true, false, config);
setupSourceEncoding(parserConfig);
setupSourceEncoding(parserConfig, getEncodingService().getLocaleEncoding());
return parser.parse(file, in, scope, parserConfig);
}

private void setupSourceEncoding(ParserConfiguration parserConfig) {
private void setupSourceEncoding(ParserConfiguration parserConfig, Encoding defaultEncoding) {
if (config.getSourceEncoding() != null) {
if (config.isVerbose()) {
config.getError().println("-K is specified; it is for 1.8 compatibility and may cause odd behavior");
}
parserConfig.setDefaultEncoding(getEncodingService().getEncodingFromString(config.getSourceEncoding()));
} else {
parserConfig.setDefaultEncoding(getEncodingService().getLocaleEncoding());
parserConfig.setDefaultEncoding(defaultEncoding);
}
}

Original file line number Diff line number Diff line change
@@ -21,6 +21,10 @@ public StaticMethodInvoker(RubyClass host, Method method) {
super(host, method);
}

public StaticMethodInvoker(RubyModule host, Method method) {
super(host, method);
}

@Override
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject[] args) {
JavaMethod method = (JavaMethod) findCallable(self, name, args, args.length);
Original file line number Diff line number Diff line change
@@ -37,6 +37,8 @@ public static RubyModule createJavaInterfaceTemplateModule(ThreadContext context
singleton.addReadAttribute(context, "java_class");
singleton.defineAnnotatedMethods(JavaInterfaceTemplate.class);

JavaInterfaceTemplate.defineAnnotatedMethods(Java.JavaProxyClassMethods.class);

return JavaInterfaceTemplate;
}

4 changes: 2 additions & 2 deletions core/src/main/java/org/jruby/javasupport/Java.java
Original file line number Diff line number Diff line change
@@ -677,10 +677,10 @@ public static IRubyObject java_alias(ThreadContext context, IRubyObject clazz, I

private static IRubyObject getRubyMethod(ThreadContext context, IRubyObject clazz, String name, Class... argTypesClasses) {
final Ruby runtime = context.runtime;
if ( ! ( clazz instanceof RubyClass ) ) {
if ( ! ( clazz instanceof RubyModule ) ) {
throw runtime.newTypeError(clazz, runtime.getModule());
}
final RubyClass proxyClass = (RubyClass) clazz;
final RubyModule proxyClass = (RubyModule) clazz;

final Method method = getMethodFromClass(context, clazz, name, argTypesClasses);
final String prettyName = name + CodegenUtils.prettyParams(argTypesClasses);
Original file line number Diff line number Diff line change
@@ -28,8 +28,6 @@ public RubyModule initialize(RubyModule proxy) {

final State state = new State(runtime, superclass);

super.initializeBase(proxy);

proxyClass.setReifiedClass(javaClass);

runtime.getJavaSupport().getUnfinishedProxyClassCache().get(javaClass).set(proxyClass);
22 changes: 0 additions & 22 deletions core/src/main/java/org/jruby/javasupport/binding/Initializer.java
Original file line number Diff line number Diff line change
@@ -381,28 +381,6 @@ private static void setJavaClassFor(final Class<?> javaClass, final RubyModule p

public abstract RubyModule initialize(RubyModule proxy);

public void initializeBase(RubyModule proxy) {
proxy.addMethod("__jsend!", new org.jruby.internal.runtime.methods.JavaMethod.JavaMethodNBlock(proxy, PUBLIC) {
@Override
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject[] args, Block block) {
String callName = args[0].asJavaString();

DynamicMethod method = self.getMetaClass().searchMethod(callName);
int v = method.getArity().getValue();

IRubyObject[] newArgs = new IRubyObject[args.length - 1];
System.arraycopy(args, 1, newArgs, 0, newArgs.length);

if(v < 0 || v == (newArgs.length)) {
return Helpers.invoke(context, self, callName, newArgs, Block.NULL_BLOCK);
} else {
RubyClass superClass = self.getMetaClass().getSuperClass();
return Helpers.invokeAs(context, superClass, self, callName, newArgs, Block.NULL_BLOCK);
}
}
});
}

public static class State {

final Map<String, AssignedName> staticNames;
Original file line number Diff line number Diff line change
@@ -23,8 +23,6 @@ public InterfaceInitializer(Ruby runtime, Class<?> javaClass) {
public RubyModule initialize(RubyModule proxy) {
final State state = new State(runtime, null);

super.initializeBase(proxy);

runtime.getJavaSupport().getUnfinishedProxyClassCache().get(javaClass).set(proxy);

Field[] fields = JavaClass.getDeclaredFields(javaClass);
Original file line number Diff line number Diff line change
@@ -568,7 +568,6 @@ public static RubyObject get(IRubyObject self, IRubyObject obj) {
EXCLUDE_METHODS.add("java_class");
EXCLUDE_METHODS.add("java_object");
EXCLUDE_METHODS.add("__jcreate!");
EXCLUDE_METHODS.add("__jsend!");
}

@JRubyMethod(meta = true)
20 changes: 14 additions & 6 deletions core/src/main/java/org/jruby/lexer/GetsLexerSource.java
Original file line number Diff line number Diff line change
@@ -18,17 +18,25 @@ public class GetsLexerSource extends LexerSource {
private IRubyObject io;
private Encoding encoding;
private int offset;
public GetsLexerSource(String sourceName, int line, IRubyObject io, RubyArray scriptLines) {
// FIXME: Does this source needs SCRIPT_LINES support?

// Main-line Parsing constructor
public GetsLexerSource(String sourceName, int line, IRubyObject io, RubyArray scriptLines, Encoding encoding) {
super(sourceName, line, scriptLines);

this.io = io;
encoding = frobnicateEncoding();
this.encoding = encoding;
}

// FIXME (enebo 21-Apr-15): ripper probably has same problem as main-line parser so this constructor
// may need to be a mix of frobbing the encoding of an incoming object plus defaultEncoding if not.
// But main-line parser should not be asking IO for encoding.
// Ripper constructor
public GetsLexerSource(String sourceName, int line, IRubyObject io, RubyArray scriptLines) {
this(sourceName, line, io, scriptLines, frobnicateEncoding(io));
}

// FIXME: Should be a hard failure likely if no encoding is possible
public final Encoding frobnicateEncoding() {
public static final Encoding frobnicateEncoding(IRubyObject io) {
// Non-ripper IO will not have encoding so we will just use default external
if (!io.respondsTo("encoding")) return io.getRuntime().getDefaultExternalEncoding();

4 changes: 2 additions & 2 deletions core/src/main/java/org/jruby/parser/Parser.java
Original file line number Diff line number Diff line change
@@ -83,7 +83,7 @@ public Node parse(String file, ByteList content, DynamicScope blockScope,
public Node parse(String file, byte[] content, DynamicScope blockScope,
ParserConfiguration configuration) {
RubyArray list = getLines(configuration, runtime, file);
ByteList in = new ByteList(content, runtime.getDefaultExternalEncoding());
ByteList in = new ByteList(content, configuration.getDefaultEncoding());
LexerSource lexerSource = new ByteListLexerSource(file, configuration.getLineNumber(), in, list);
return parse(file, lexerSource, blockScope, configuration);
}
@@ -96,7 +96,7 @@ public Node parse(String file, InputStream content, DynamicScope blockScope,
} else {
RubyArray list = getLines(configuration, runtime, file);
RubyIO io = RubyIO.newIO(runtime, Channels.newChannel(content));
LexerSource lexerSource = new GetsLexerSource(file, configuration.getLineNumber(), io, list);
LexerSource lexerSource = new GetsLexerSource(file, configuration.getLineNumber(), io, list, configuration.getDefaultEncoding());
return parse(file, lexerSource, blockScope, configuration);
}
}
Original file line number Diff line number Diff line change
@@ -137,6 +137,12 @@ public Entry findEncodingOrAliasEntry(byte[] bytes) {

// rb_locale_charmap...mostly
public Encoding getLocaleEncoding() {
final Encoding consoleEncoding = getConsoleEncoding();

if (consoleEncoding != null) {
return consoleEncoding;
}

Entry entry = findEncodingOrAliasEntry(new ByteList(Charset.defaultCharset().name().getBytes()));
return entry == null ? ASCIIEncoding.INSTANCE : entry.getEncoding();
}
2 changes: 1 addition & 1 deletion pom.rb
Original file line number Diff line number Diff line change
@@ -178,7 +178,7 @@
[
'rake', 'exec', 'truffle-specs-language', 'truffle-specs-core',
'truffle-specs-library', 'truffle-specs-language-report',
'truffle-specs-core-report', 'truffle-specs-library-report', 'truffle-test-pe'
'truffle-specs-core-report', 'truffle-specs-library-report', 'truffle-test-pe', 'truffle-mri-tests'
].each do |name|
profile name do

9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -606,6 +606,15 @@
<module>test</module>
</modules>
</profile>
<profile>
<id>truffle-mri-tests</id>
<build>
<defaultGoal>package</defaultGoal>
</build>
<modules>
<module>test</module>
</modules>
</profile>
<profile>
<id>bootstrap</id>
<modules>
8 changes: 8 additions & 0 deletions spec/java_integration/interfaces/static_methods_spec.rb
Original file line number Diff line number Diff line change
@@ -25,5 +25,13 @@
it "binds those methods on the proxy module" do
expect(Java::Java8Interface.message).to eq("hello")
end

it "exposes those methods via java_send" do
expect(Java::Java8Interface.java_send(:message)).to eq("hello")
end

it "exposes those methods via java_method" do
expect(Java::Java8Interface.java_method(:message).call).to eq("hello")
end
end
end
1 change: 0 additions & 1 deletion spec/truffle/tags/core/array/hash_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/array/initialize_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/core/array/sort_tags.txt

This file was deleted.

1 change: 1 addition & 0 deletions spec/truffle/tags/core/fixnum/bit_xor_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Fixnum#^ raises a TypeError and does not call #to_int when defined on an object
1 change: 0 additions & 1 deletion spec/truffle/tags/core/kernel/at_exit_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
fails:Kernel.at_exit allows calling exit inside at_exit handler
slow:Kernel.at_exit runs after all other code
slow:Kernel.at_exit runs in reverse order of registration
slow:Kernel.at_exit allows calling exit inside at_exit handler
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/kernel/loop_tags.txt

This file was deleted.

12 changes: 0 additions & 12 deletions spec/truffle/tags/core/proc/yield_tags.txt

This file was deleted.

6 changes: 6 additions & 0 deletions test/mri/excludes_truffle/TestClass.rb
Original file line number Diff line number Diff line change
@@ -13,3 +13,9 @@
exclude :test_redefine_private_class, "needs investigation"
exclude :test_singleton_class, "needs investigation"
exclude :test_uninitialized, "needs investigation"
exclude :test_cannot_reinitialize_class_with_initialize_copy, "needs investigation"
exclude :test_cloned_class, "needs investigation"
exclude :test_constant_access_from_method_in_cloned_module, "needs investigation"
exclude :test_singleton_class_message, "needs investigation"
exclude :test_singleton_class_of_frozen_object, "needs investigation"
exclude :test_singleton_class_p, "needs investigation"
2 changes: 2 additions & 0 deletions test/mri/excludes_truffle/TestDelegateClass.rb
Original file line number Diff line number Diff line change
@@ -9,3 +9,5 @@
exclude :test_systemcallerror_eq, "needs investigation"
exclude :test_unset_delegate_class, "needs investigation"
exclude :test_unset_simple_delegator, "needs investigation"
exclude :test_dir_in_delegator_class, "needs investigation"
exclude :test_dir_in_simple_delegator, "needs investigation"
2 changes: 2 additions & 0 deletions test/mri/excludes_truffle/TestFixnum.rb
Original file line number Diff line number Diff line change
@@ -2,3 +2,5 @@
exclude :test_pow2, "needs investigation"
exclude :test_power_of_0, "needs investigation"
exclude :test_remainder, "needs investigation"
exclude :test_xor_with_nonintegral_numeric, "needs investigation"
exclude :test_xor_with_rational, "needs investigation"
35 changes: 35 additions & 0 deletions test/mri/excludes_truffle/TestMarshal.rb
Original file line number Diff line number Diff line change
@@ -41,3 +41,38 @@
exclude :test_time_ivar, "needs investigation"
exclude :test_time_subclass, "needs investigation"
exclude :test_true, "needs investigation"
exclude :test_change_class_name , "needs investigation"
exclude :test_change_struct , "needs investigation"
exclude :test_class , "needs investigation"
exclude :test_class_ivar , "needs investigation"
exclude :test_class_nonascii , "needs investigation"
exclude :test_context_switch , "needs investigation"
exclude :test_continuation , "needs investigation"
exclude :test_dump_buffer , "needs investigation"
exclude :test_hash_default , "needs investigation"
exclude :test_inconsistent_struct , "needs investigation"
exclude :test_marshal_cloned_class , "needs investigation"
exclude :test_marshal_complex , "needs investigation"
exclude :test_marshal_dump , "needs investigation"
exclude :test_marshal_dump_excess_encoding , "needs investigation"
exclude :test_marshal_dump_extra_iv , "needs investigation"
exclude :test_marshal_dump_ivar , "needs investigation"
exclude :test_marshal_dump_struct_ivar , "needs investigation"
exclude :test_marshal_encoding_encoding , "needs investigation"
exclude :test_marshal_flonum_reference , "needs investigation"
exclude :test_marshal_load_ivar , "needs investigation"
exclude :test_marshal_load_should_not_taint_classes , "needs investigation"
exclude :test_marshal_private_class , "needs investigation"
exclude :test_marshal_rational , "needs investigation"
exclude :test_marshal_regexp_encoding , "needs investigation"
exclude :test_marshal_respond_to_arity , "needs investigation"
exclude :test_marshal_string_encoding , "needs investigation"
exclude :test_modify_array_during_dump , "needs investigation"
exclude :test_module_ivar , "needs investigation"
exclude :test_pipe , "needs investigation"
exclude :test_regexp2 , "needs investigation"
exclude :test_struct_invalid_members , "needs investigation"
exclude :test_taint , "needs investigation"
exclude :test_taint_each_object , "needs investigation"
exclude :test_too_long_string , "needs investigation"
exclude :test_userdef_encoding , "needs investigation"
Loading