This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/src/main/java/org/jruby/Ruby.java b/core/src/main/java/org/jruby/Ruby.java | |
index d21b780e1a..d530c60e84 100644 | |
--- a/core/src/main/java/org/jruby/Ruby.java | |
+++ b/core/src/main/java/org/jruby/Ruby.java | |
@@ -2924,10 +2924,16 @@ public final class Ruby implements Constantizable { | |
Ruby runtime = context.runtime; | |
RubyBinding binding = RubyBinding.newBinding(runtime, context.currentBinding()); | |
+ RubyString eventNameString = runtime.newString(eventName.equals("c_return") ? | |
+ "c-return" : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
system ~/work/release/release/jruby-9.2.10.0 master 1485% ./bin/jruby ../../../snippets/runner --ruby `pwd`/bin/jruby | |
$ /home/enebo/work/release/release/jruby-9.2.10.0/bin/jruby -S gem install rails --version=6.0.2.1 | |
WARNING: An illegal reflective access operation has occurred | |
WARNING: Illegal reflective access by org.jruby.ext.openssl.SecurityHelper (file:/home/enebo/work/release/release/jruby-9.2.10.0/lib/ruby/stdlib/jopenssl.jar) to field java.security.MessageDigest.provider | |
WARNING: Please consider reporting this to the maintainers of org.jruby.ext.openssl.SecurityHelper | |
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations | |
WARNING: All illegal access operations will be denied in a future release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/maven/jruby-dist/src/main/assembly/common.xml b/maven/jruby-dist/src/main/assembly/common.xml | |
index 9ad7764ef0..956553abca 100644 | |
--- a/maven/jruby-dist/src/main/assembly/common.xml | |
+++ b/maven/jruby-dist/src/main/assembly/common.xml | |
@@ -57,6 +57,8 @@ | |
<include>docs/**/*</include> | |
<include>tool/nailgun/*</include> | |
<include>tool/nailgun/**/*.c</include> | |
+ <include>bin/.dev_mode.java_opts</include> | |
+ <include>bin/.jruby.*</include> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
system ~/work/release/release/jruby-9.2.10.0 master 1378% ./bin/jruby ../../../snippets/runner --ruby `pwd`/bin/jruby | |
2020-02-18T09:13:06.973-06:00 [main] WARN FilenoUtil : Native subprocess control requires open access to sun.nio.ch | |
Pass '--add-opens java.base/sun.nio.ch=org.jruby.dist' or '=org.jruby.core' to enable. | |
$ /home/enebo/work/release/release/jruby-9.2.10.0/bin/jruby -S gem install rails --version=6.0.2.1 | |
2020-02-18T09:13:09.116-06:00 [main] WARN FilenoUtil : Native subprocess control requires open access to sun.nio.ch | |
Pass '--add-opens java.base/sun.nio.ch=org.jruby.dist' or '=org.jruby.core' to enable. | |
WARNING: An illegal reflective access operation has occurred | |
WARNING: Illegal reflective access by org.jruby.ext.openssl.SecurityHelper (file:/home/enebo/work/release/release/jruby-9.2.10.0/lib/ruby/stdlib/jopenssl.jar) to constructor java.security.cert.CertificateFactory(java.security.cert.CertificateFactorySpi,java.security.Provider,java.lang.String) | |
WARNING: Please consider reporting this to t |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] --- maven-javadoc-plugin:2.7:jar (attach-javadocs) @ jruby-core --- | |
[INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.7:javadoc' has not be previously called for the project: 'org.jruby:jruby-stdlib:jar:9.2.10.0'. Trying to invoke it... | |
/bin/sh: switchml: line 1: syntax error: unexpected end of file | |
/bin/sh: error importing function definition for `switchml' | |
/bin/sh: _module_raw: line 1: syntax error: unexpected end of file | |
/bin/sh: error importing function definition for `_module_raw' | |
/usr/bin/sh: switchml: line 1: syntax error: unexpected end of file | |
/usr/bin/sh: error importing function definition for `switchml' | |
/usr/bin/sh: _module_raw: line 1: syntax error: unexpected end of file | |
/usr/bin/sh: error importing function definition for `_module_raw' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java_import java.awt.image.BufferedImage | |
java_import javax.swing.JFrame | |
class Mandelbrot < JFrame | |
MAX_ITER = 570; | |
ZOOM = 150.0; | |
def initialize | |
super("Mandelbrot Set") | |
setBounds(100, 100, 800, 600); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java_import java.awt.image.BufferedImage | |
java_import javax.swing.JFrame | |
class Mandelbrot < JFrame | |
MAX_ITER, ZOOM = 1200, 350.0 | |
def initialize | |
super("Mandelbrot Set") | |
setBounds(100, 100, 800, 600) | |
setDefaultCloseOperation(EXIT_ON_CLOSE) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java_import java.awt.image.BufferedImage | |
java_import javax.swing.JFrame | |
class Mandelbrot < JFrame | |
MAX_ITER, ZOOM = 1200, 350.0 | |
def initialize | |
super("Mandelbrot Set") | |
setBounds(100, 100, 800, 600) | |
setDefaultCloseOperation(EXIT_ON_CLOSE) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.Graphics; | |
import java.awt.image.BufferedImage; | |
import javax.swing.JFrame; | |
public class Mandelbrot extends JFrame { | |
private final int MAX_ITER = 570; | |
private final double ZOOM = 150; | |
private BufferedImage image; | |
public Mandelbrot() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
system ~/work/jruby/frogger master # 1183% sh -x ./test.sh | |
+ MAKE_ARCHIVE=-J-XX:ArchiveClassesAtExit=ir.jsa | |
+ READ_ARCHIVE=-J-XX:SharedArchiveFile=ir.jsa | |
+ CACHE=-Xcompile.cache.classes=true | |
+ DONT_CACHE=-Xcompile.cache.classes=true | |
+ DEV=--dev | |
+ COMPILE=-X+C | |
+ GC=-J-XX:+UseParallelGC | |
+ TIME=15 | |
+ java -version |