Skip to content

Ignore JVM warnings #48

Description

@schneems

I'm trying to compile some assets with sprockets (I'm the current maintainer) and i'm getting warnings about _JAVA_OPTIONS being picked up in my compiled output:

  1) Failure:
TestClosureCompressor#test_compress_javascript [test/test_closure_compressor.rb:15]:
--- expected
+++ actual
@@ -1,2 +1,3 @@
-"function foo(){return!0};
+"Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m
+function foo(){return!0};
 "

Have you seen this before? Any idea how to disable or seperate out that warning from the compiled output?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions