Andreas Lundblad
e85033c628
8048146: sjavac uses unexpected exit code of -1
...
Changed exit codes for sjavac
Reviewed-by: jlahoda
2016-03-22 13:14:12 +01:00
Jonathan Gibbons
7812306bc0
8152897: refactor ToolBox to allow reduced documented dependencies
...
Reviewed-by: vromero
2016-03-31 15:20:50 -07:00
Alan Bateman
001ebb3a72
8142968: Module System implementation
...
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com>
Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Kumar Srinivasan <kumar.x.srinivasan@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: jjg, jlahoda, vromero, mcimadamore, bpatel, ksrini, darcy, anazarov, dfuchs
2016-03-17 19:04:28 +00:00
Andreas Lundblad
c685f3567f
8061320: Sjavac should prevent using source dir as dest dir
...
Sjavac now makes sure that src and dst dirs do not overlap.
Reviewed-by: jlahoda
2016-03-02 13:12:24 +01:00
Andreas Lundblad
49850dd82f
8147569: Error messages from sjavac server does not always get relayed back to client
...
Refactored how logging works in sjavac.
Reviewed-by: jlahoda
2016-02-29 13:24:01 +01:00
Liam Miller-Cushon
1986f47320
8149160: use StringJoiner in sjavac option handling
...
Concatenation of strings now uses StringJoiner.
Reviewed-by: alundblad, jjg
2016-02-10 14:22:50 +01:00
Andreas Lundblad
5cd3c7cac8
8056989: Sjavac --server option should be optional
...
8147568: NullPointerException in option parsing
Made --server option optional (and background=true implied)
Reviewed-by: jlahoda, erikj
2016-01-24 11:32:38 +01:00
Jonathan Gibbons
aeca638f85
8146727: test tools/sjavac/IncludeExcludePatterns.java fails on Windows
...
Reviewed-by: darcy
2016-01-08 22:24:15 -08:00
Andreas Lundblad
b345518d32
8144226: Sjavac's handling of include/exclude patterns is buggy, redundant and inconsistent
...
Rewrote sjavac include/exclude pattern handling.
Reviewed-by: jlahoda
2016-01-08 17:14:10 +01:00
Vassili Igouchkine
9c33078299
8145342: Some copyright notices are inconsistently and ill formatted
...
Adjusted formatting of copyright notices.
Reviewed-by: darcy, alundblad
2015-12-14 20:18:19 +01:00
Andreas Lundblad
ea92f6bf06
8144009: ToolBox should have a cleanDirectory method
...
Added cleanDirectory method to ToolBox.
Reviewed-by: jjg
2015-11-26 09:33:41 +01:00
Andreas Lundblad
d2d6dd48d4
8139961: Various sjavac tests result in error on Windows (JPRT)
...
Test now closes Stream properly.
Reviewed-by: jlahoda
2015-11-04 12:27:00 +01:00
Andreas Lundblad
922ac5ff90
8141355: PackagePathMismatch.java does not use --state-dir option
...
Added --state-dir to the PackagePathMismatch.java test.
Reviewed-by: jlahoda
2015-11-03 22:55:30 +01:00
Andreas Lundblad
7cf539d35e
8137075: Sjavac tests are leaking file managers
...
Closing sjavac file managers.
Reviewed-by: jjg
2015-11-03 21:29:46 +01:00
Andreas Lundblad
6238d40db4
8135131: Enable thin server mode in Sjavac
...
State tracknig and incremental compilation disabled unless --state-dir is provided.
Reviewed-by: jlahoda
2015-09-21 11:19:10 +02:00
Andreas Lundblad
ab159bb1f7
8129114: Sjavac should stream back compiler output to the client as soon as it becomes available
...
Protocol revised, javac output sent back to client slightly earlier.
Reviewed-by: jlahoda
2015-09-04 13:24:15 +02:00
Andreas Lundblad
8d0ebb66bd
8133671: langtools tests have bad license
...
Dropped classpath exception from copyright notice in tests.
Reviewed-by: jjg
2015-08-26 09:02:02 +02:00
Andreas Lundblad
3672dbcddf
8048318: Refactor sjavac as a thin client
...
Moved compilation logic from client to server.
Reviewed-by: jlahoda
2015-08-25 15:14:41 +02:00
Andreas Lundblad
3a31593507
8054717: SJavac should track changes in the public apis of classpath classes!
...
Added functionality for tracking changes in public APIs of classpath classes.
Reviewed-by: jlahoda, erikj
2015-06-09 15:57:45 +02:00
Alexander Kulyakhtin
b6262441ad
8076543: Add @modules as needed to the langtools tests
...
Reviewed-by: jjg, shurailine
2015-05-21 11:41:04 -07:00
Sonali Goel
b523cb6aaa
8071629: Write new test to test -j switch
...
Reviewed-by: jjg
2015-01-30 14:59:47 -08:00
Sonali Goel
11b1d2cdad
8054689: Split large SJavac.java test source into multiple files
...
Reviewed-by: jjg, jfranck
2014-12-24 11:17:51 -08:00
Chris Hegarty
8bc2b3ff3a
8049367: Modular Run-Time Images
...
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: jlahoda, ksrini
2014-12-03 14:25:46 +00:00
Andreas Lundblad
4a3d559ffb
8062740: Since changeset 2686:030080f03e4f test/tools/sjavac/DependencyCollection.java does no longer compile
...
Added throws IOException to main method.
Reviewed-by: jjg
2014-11-04 09:04:13 +01:00
Jonathan Gibbons
8bd23f1681
8062348: langtools tests should close file manager (group 1)
...
Reviewed-by: darcy
2014-10-29 17:25:23 -07:00
Andreas Lundblad
0545e4b847
8059349: Public API scanning should be implemented in the form of a TaskListener
...
Replaces JavaCompilerWithDeps with a TaskListener.
Reviewed-by: jfranck
2014-10-07 21:21:42 +02:00
Andreas Lundblad
96074068b8
8056258: Analysis of public API does not take super classes into account
...
8048609: simplify sjavac dependence on javac dependency gathering
Replaces Attr-/ResolveWithDeps with TaskListeners
Reviewed-by: jfranck, ohrstrom
2014-10-07 21:15:10 +02:00
Andreas Lundblad
43eb10bcb8
8054500
: Refactor sjavac Main class into ClientMain and ServerMain
...
Restructured Main into ClientMain and ServerMain
Reviewed-by: jfranck
2014-08-28 17:38:40 +02:00
Andreas Lundblad
ce4c456820
8048457: Sjavac should not use portfiles, sockets, etc if background=false
...
8044131: Restructure client / server protocol code
Changes protocol code to use Object input/output streams. Avoids spawning server if background=false. Refactors idleness checks, pooling and port file monitoring.
Reviewed-by: jjg, jfranck
2014-08-13 14:44:59 +02:00
Fredrik Öhrström
c110d6437f
8054465: Add --permit-artifact=bar to sjavac
...
Add --permit-artifact=bar to white-list files that have been written to the destination directory and that sjavac should not delete.
Reviewed-by: jjg, alundblad
2014-08-09 00:56:29 +02:00
Fredrik Öhrström
c8256e4d27
8054474: Add --state-dir=bar to sjavac
...
Add --state-dir=bar to sjavac to control where sjavac stores the javac_state file.
Reviewed-by: jjg, alundblad
2014-08-08 21:26:23 +02:00
Fredrik Öhrström
ce6154a2fa
8054461: Add @file support to sjavac
...
Add @file support to sjavac commandline.
Reviewed-by: jjg, alundblad
2014-08-08 20:47:24 +02:00
Jonathan Gibbons
6ec02aa50b
8046824: class SJavacTestUtil and *Wrapper are redundant and should be removed
...
Reviewed-by: ksrini
2014-07-14 11:46:31 -07:00
Andreas Lundblad
8baafcf7ef
8048594: The sjavac client/server protocol should be hidden behind an interface
...
Reviewed-by: jfranck
2014-06-17 14:01:27 +02:00
Jonathan Gibbons
bd97e7d5ec
8047183: JDK build fails with sjavac enabled
...
Reviewed-by: mcimadamore
2014-06-26 11:31:59 -07:00
Jonathan Gibbons
2613fffb87
8046369: sjavac should not use javac internal API for starting javac
...
Reviewed-by: jfranck, alundblad, ohrstrom
2014-06-16 11:30:31 -07:00
Fredrik Öhrström
ad489d2ce3
8042441: sjavac does not track dependencies
...
Add support for tracking fully qualified references.
Reviewed-by: jjg
2014-05-08 00:22:31 +02:00
Fredrik Öhrström
cb6df44f8e
8042699: sjavac does not track dependencies
...
Using / in some places and . in other places break package comparisons. The fix standardizes on dots.
Reviewed-by: jjg
2014-05-07 23:55:41 +02:00
Andreas Lundblad
06f651942c
8035063: Option handling in sjavac needs to be rewritten
...
Option handling code rewritten. Exclusion / inclusion patterns changed from package to directories.
Reviewed-by: jjg, jfranck
2014-04-22 16:51:10 +02:00
Erik Joelsson
99a38df3ab
8023146: Sjavac test failes in langtools nightly
...
Reviewed-by: mcimadamore, jfranck
2013-08-16 16:00:12 +02:00
Erik Joelsson
fd4983b254
8015145: Smartjavac needs more flexibility with linking to sources
...
Reviewed-by: jjg, ohrstrom
2013-08-15 17:24:35 +02:00
Jonathan Gibbons
7bdddc8471
8006723: sjavac test fails to compile on clean build
...
Reviewed-by: ksrini
2013-01-22 18:43:22 -08:00
Fredrik Öhrström
3d5f55b851
8004658: Add internal smart javac wrapper to solve JEP 139
...
Reviewed-by: jjg
2013-01-18 00:16:21 +01:00