Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created September 17, 2019 19:30
Show Gist options
  • Save MasterDuke17/bbdc0c8592a8cc2f171851cd69a10532 to your computer and use it in GitHub Desktop.
Save MasterDuke17/bbdc0c8592a8cc2f171851cd69a10532 to your computer and use it in GitHub Desktop.
avac -cp '/home/dan/Source/perl6/nqp/3rdparty/asm/asm-4.1.jar:/home/dan/Source/perl6/nqp/3rdparty/asm/asm-tree-4.1.jar:/home/dan/Source/perl6/nqp/3rdparty/jline/jline-1.0.jar:/home/dan/Source/perl6/nqp/3rdparty/jna/jna-4.0.0.jar' -g -d bin -encoding UTF8 src/vm/jvm/runtime/org/perl6/nqp/io/*.java src/vm/jvm/runtime/org/perl6/nqp/jast2bc/*.java src/vm/jvm/runtime/org/perl6/nqp/runtime/*.java src/vm/jvm/runtime/org/perl6/nqp/sixmodel/*.java src/vm/jvm/runtime/org/perl6/nqp/sixmodel/reprs/*.java src/vm/jvm/runtime/org/perl6/nqp/tools/*.java
src/vm/jvm/runtime/org/perl6/nqp/io/AsyncProcessHandle.java:7: error: cannot find symbol
import java.lang.ProcessHandle;
^
symbol: class ProcessHandle
location: package java.lang
src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java:14: error: cannot find symbol
import java.lang.ProcessHandle;
^
symbol: class ProcessHandle
location: package java.lang
src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java:83: error: package org.perl6.nqp.truffle.adapters does not exist
import org.perl6.nqp.truffle.adapters.TruffleCompilerGen;
^
src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java:84: error: package org.perl6.nqp.truffle does not exist
import org.perl6.nqp.truffle.ByteCodeRunnerGen;
^
src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java:148: warning: Unsafe is internal proprietary API and may be removed in a future release
import sun.misc.Unsafe;
^
src/vm/jvm/runtime/org/perl6/nqp/sixmodel/reprs/P6OpaqueBaseInstance.java:9: warning: Unsafe is internal proprietary API and may be removed in a future release
import sun.misc.Unsafe;
^
src/vm/jvm/runtime/org/perl6/nqp/io/AsyncProcessHandle.java:258: error: cannot find symbol
result = proc.toHandle().pid();
^
symbol: method toHandle()
location: variable proc of type Process
src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java:164: warning: Unsafe is internal proprietary API and may be removed in a future release
Field theUnsafe = Unsafe.class.getDeclaredField("theUnsafe");
^
src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java:166: warning: Unsafe is internal proprietary API and may be removed in a future release
Unsafe u = (Unsafe)theUnsafe.get(null);
^
src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java:166: warning: Unsafe is internal proprietary API and may be removed in a future release
Unsafe u = (Unsafe)theUnsafe.get(null);
^
src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java:5730: error: cannot find symbol
ProcessHandle ph = ProcessHandle.current();
^
symbol: class ProcessHandle
location: class Ops
src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java:5730: error: cannot find symbol
ProcessHandle ph = ProcessHandle.current();
^
symbol: variable ProcessHandle
location: class Ops
src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java:5741: error: cannot find symbol
ProcessHandle ph = ProcessHandle.current();
^
symbol: class ProcessHandle
location: class Ops
src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java:5741: error: cannot find symbol
ProcessHandle ph = ProcessHandle.current();
^
symbol: variable ProcessHandle
location: class Ops
src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java:7357: error: cannot find symbol
(new TruffleCompilerGen()).run(node, tc);
^
symbol: class TruffleCompilerGen
location: class Ops
src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java:7371: error: cannot find symbol
(new ByteCodeRunnerGen()).runByteCode(file);
^
symbol: class ByteCodeRunnerGen
location: class Ops
src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java:7376: error: cannot find symbol
(new TruffleCompilerGen()).writeByteCode(tast, output, tc);
^
symbol: class TruffleCompilerGen
location: class Ops
src/vm/jvm/runtime/org/perl6/nqp/sixmodel/reprs/P6OpaqueBaseInstance.java:112: warning: Unsafe is internal proprietary API and may be removed in a future release
private Unsafe unsafe;
^
src/vm/jvm/runtime/org/perl6/nqp/sixmodel/reprs/P6OpaqueBaseInstance.java:119: warning: Unsafe is internal proprietary API and may be removed in a future release
Field unsafeField = Unsafe.class.getDeclaredField("theUnsafe");
^
src/vm/jvm/runtime/org/perl6/nqp/sixmodel/reprs/P6OpaqueBaseInstance.java:121: warning: Unsafe is internal proprietary API and may be removed in a future release
unsafe = (Unsafe)unsafeField.get(null);
^
Note: src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
12 errors
8 warnings
make: *** [Makefile:682: nqp-runtime.jar] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment