File tree Expand file tree Collapse file tree 12 files changed +13
-17
lines changed
src/main/java/net/codetojoy
src/main/java/net/codetojoy
egg__10_sc_nested_scopes_thread_dump
src/main/java/net/codetojoy
egg__10b_sc_nested_experiment
src/main/java/net/codetojoy Expand file tree Collapse file tree 12 files changed +13
-17
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ cd $MY_HOME/egg_7_sc_deadline
2828cd $MY_HOME /egg_8_sc_custom_invoke_some
2929./clean.sh && ./compile.sh
3030
31- exit 0
32-
3331cd $MY_HOME /egg_9_sc_fan_in/client
3432./clean.sh && ./compile.sh
3533
@@ -42,6 +40,8 @@ cd $MY_HOME/egg__10_sc_nested_scopes_thread_dump
4240cd $MY_HOME /egg__10b_sc_nested_experiment
4341./clean.sh && ./compile.sh
4442
43+ exit 0
44+
4545cd $MY_HOME /egg__11_sc_utility
4646./clean.sh && ./compile.sh
4747
Original file line number Diff line number Diff line change @@ -10,9 +10,8 @@ TARGET_DIR=$ROOT_DIR/my_build/main
1010
1111mkdir -p $TARGET_DIR
1212
13- javac --release 19 --enable-preview \
13+ javac --release 21 --enable-preview \
1414-cp $CLASSPATH \
15- --add-modules jdk.incubator.concurrent \
1615-d $TARGET_DIR ` find $SRC_DIR -name " *.java" `
1716
1817echo " compile ok"
Original file line number Diff line number Diff line change 66import java .net .*;
77import java .util .stream .IntStream ;
88
9- import jdk . incubator .concurrent .*;
9+ import java . util .concurrent .*;
1010
1111public class Runner {
1212 private static final String LOG_PREFIX = "TRACER Runner " ;
Original file line number Diff line number Diff line change @@ -10,9 +10,8 @@ TARGET_DIR=$ROOT_DIR/my_build/main
1010
1111mkdir -p $TARGET_DIR
1212
13- javac --release 19 --enable-preview \
13+ javac --release 21 --enable-preview \
1414-cp $CLASSPATH \
15- --add-modules jdk.incubator.concurrent \
1615-d $TARGET_DIR ` find $SRC_DIR -name " *.java" `
1716
1817echo " compile ok"
Original file line number Diff line number Diff line change 88import java .util .concurrent .atomic .AtomicBoolean ;
99import java .util .stream .IntStream ;
1010
11- import jdk . incubator .concurrent .*;
11+ import java . util .concurrent .*;
1212
1313// see fan-in here: https://openjdk.java.net/jeps/428
1414// javadoc here: https://download.java.net/java/early_access/jdk19/docs/api/jdk.incubator.concurrent/jdk/incubator/concurrent/package-summary.html
Original file line number Diff line number Diff line change @@ -10,9 +10,8 @@ TARGET_DIR=$ROOT_DIR/my_build/main
1010
1111mkdir -p $TARGET_DIR
1212
13- javac --release 19 --enable-preview \
13+ javac --release 21 --enable-preview \
1414-cp $CLASSPATH \
15- --add-modules jdk.incubator.concurrent \
1615-d $TARGET_DIR ` find $SRC_DIR -name " *.java" `
1716
1817echo " compile ok"
Original file line number Diff line number Diff line change 22// note: I no longer own this domain
33package net .codetojoy ;
44
5- import jdk . incubator .concurrent .StructuredTaskScope ;
5+ import java . util .concurrent .StructuredTaskScope ;
66
77class BarWorker {
88
Original file line number Diff line number Diff line change 22// note: I no longer own this domain
33package net .codetojoy ;
44
5- import jdk . incubator .concurrent .StructuredTaskScope ;
5+ import java . util .concurrent .StructuredTaskScope ;
66
77class FooWorker {
88 Void spawn (String name ) {
Original file line number Diff line number Diff line change 22// note: I no longer own this domain
33package net .codetojoy ;
44
5- import jdk . incubator .concurrent .StructuredTaskScope ;
5+ import java . util .concurrent .StructuredTaskScope ;
66
77import java .time .Instant ;
88import java .io .*;
Original file line number Diff line number Diff line change @@ -10,9 +10,8 @@ TARGET_DIR=$ROOT_DIR/my_build/main
1010
1111mkdir -p $TARGET_DIR
1212
13- javac --release 19 --enable-preview \
13+ javac --release 21 --enable-preview \
1414-cp $CLASSPATH \
15- --add-modules jdk.incubator.concurrent \
1615-d $TARGET_DIR ` find $SRC_DIR -name " *.java" `
1716
1817echo " compile ok"
You can’t perform that action at this time.
0 commit comments