-
Bug
-
Resolution: Fixed
-
P4
-
9
'/save all' does not save startup snippets
To reproduce:
-> int a
| Added variable a of type int
-> class A {}
| Added class A
-> /save all src.repl
-> /list all
s1 : import java.util.*;
s2 : import java.io.*;
s3 : import java.math.*;
s4 : import java.net.*;
s5 : import java.util.concurrent.*;
s6 : import java.util.prefs.*;
s7 : import java.util.regex.*;
s8 : void printf(String format, Object... args) { System.out.printf(format, args); }
1 : int a;
2 : class A {}
cat src.repl
int a;
class A {}
To reproduce:
-> int a
| Added variable a of type int
-> class A {}
| Added class A
-> /save all src.repl
-> /list all
s1 : import java.util.*;
s2 : import java.io.*;
s3 : import java.math.*;
s4 : import java.net.*;
s5 : import java.util.concurrent.*;
s6 : import java.util.prefs.*;
s7 : import java.util.regex.*;
s8 : void printf(String format, Object... args) { System.out.printf(format, args); }
1 : int a;
2 : class A {}
cat src.repl
int a;
class A {}