Commit Graph

58 Commits

Author SHA1 Message Date
Denis Istomin
80280a2207 8041793: javap misses newline after printing AnnotationDefault
Reviewed-by: jjg
2017-01-24 17:36:41 -08:00
Denis Istomin
31b1a86ec6 8051768: Inconsistent output for Visible and InvisibleParameterAnnotations
Reviewed-by: jjg
2017-01-24 16:18:24 -08:00
Jan Lahoda
b6e7bcbc6a 8171177: Compiler should issue a warning for incubating modules that are resolved
Javac needs to follow ModuleResolution.DO_NOT_RESOLVE_BY_DEFAULT and ModuleResolution.WARN_INCUBATING

Reviewed-by: jjg
2017-01-20 13:20:42 +01:00
Mandy Chung
920965dad2 8172212: jdeps --require and --check should detect the specified module in the image
Reviewed-by: psandoz, lancea
2017-01-03 17:53:34 -08:00
Mandy Chung
cc3b86f64c 8171418: Remove jdeps internal --include-system-modules option
Reviewed-by: dfuchs, lancea
2016-12-19 12:30:39 -08:00
Maurizio Cimadamore
c4e8276376 8181370: Convert anonymous inner classes into lambdas/method references
Reviewed-by: jjg, rfield, mchung
2016-12-16 15:27:34 +00:00
Alan Bateman
574ac0add6 Merge 2016-12-16 08:17:55 +00:00
Alan Bateman
2381943e61 8170987: Module system implementation refresh (12/2016)
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Srikanth Adayapalam <srikanth.adayapalam@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mcimadamore
2016-12-16 05:47:58 +00:00
Jonathan Gibbons
e4748a6d4c 8170708: javap -m <module> cannot read a module-info.class
Reviewed-by: jlahoda
2016-12-14 18:30:56 -08:00
Mandy Chung
54e787fbd4 8171201: Drop java.compact$N aggregator modules
8171202: Rename jdk.crypto.pkcs11 and jdk.pack200 to end with Java letters

Reviewed-by: alanb, erikj
2016-12-14 10:51:21 -08:00
Li Jiang
34c791a6a4 8169618: JDK9 message drop interim resource updates - OpenJDK
Reviewed-by: rfield, peytoia, joehw, weijun
2016-12-07 05:58:43 -08:00
Alan Bateman
01a366e6dd Merge 2016-12-01 11:16:45 +00:00
Alan Bateman
22e233b2e9 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Bhavesh Patel <bhavesh.x.patel@oracle.com>
Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com>
Reviewed-by: mcimadamore, jjg, mchung, anazarov
2016-12-01 09:02:42 +00:00
Patrick Reinhart
145fd62de7 8169659: (jdeps) missing messages for localization
Reviewed-by: mchung
2016-11-16 13:47:25 -08:00
Jonathan Gibbons
c7374cd58f 8163190: Clarify JavaFileManager use of \"module location\"
Reviewed-by: jlahoda
2016-11-16 12:12:02 -08:00
Mandy Chung
4e5211401e 8169606: jdeps --list-reduced-deps should not show java.base as all modules require it
Reviewed-by: dfuchs
2016-11-12 09:26:08 -08:00
Mandy Chung
40e24f2e56 8168386: Fix jdeps verbose options
Reviewed-by: dfuchs, lancea
2016-11-11 17:32:21 -08:00
Stuart Marks
2380985895 8165646: (jdeprscan) adjust tool output to improve clarity
Reviewed-by: jjg, psandoz
2016-11-01 11:28:16 -07:00
Mandy Chung
97cee45deb 8167057: jdeps option to list modules and internal APIs for @modules for test dev
Reviewed-by: dfuchs
2016-10-31 18:06:03 -07:00
Alan Bateman
4f435e9295 8168789: ModuleReader.list and ModuleFinder.of update
Reviewed-by: mchung
2016-10-28 10:17:56 +01:00
Stuart Marks
1f91f70a58 8167965: (jdeprscan) using --release option with 8 or earlier throws exception
Reviewed-by: mchung
2016-10-13 17:31:01 -07:00
Mandy Chung
440c2fb03c 8167630: jdeps --generate-module-info forgets to close the resource after checking any unnamed package
Reviewed-by: lancea, ksrini
2016-10-12 17:27:54 -07:00
Jonathan Gibbons
6fef223c3f 8159855: Create an SPI for tools
Reviewed-by: mchung
2016-10-07 16:49:39 -07:00
Mandy Chung
b507e409eb 8167014: jdeps: Missing message: warn.skipped.entry
Reviewed-by: alanb, lancea
2016-10-05 18:42:23 -07:00
Mandy Chung
2db14bace5 8166846: jdeps fails to generate module info if there is any class in unnamed package
Reviewed-by: lancea
2016-10-05 18:41:43 -07:00
Stuart Marks
512c42b9ac 8161338: (jdeprscan) remove JEP 293 non-conforming -cp option
8165927: (jdeprscan) com.sun.tools.jdeprscan.Main.instance should be package protected

Reviewed-by: jjg
2016-10-04 18:43:36 -07:00
Mandy Chung
33b751c3d4 8166238: Update jdeps for GNU-style long form options
Reviewed-by: alanb
2016-09-29 21:31:09 -07:00
Srikanth Adayapalam
e179ac0384 8164519: Rendering of supertype_target for annotated extends clause
Eliminate inconsistencies in handling annotated super class.

Reviewed-by: jlahoda
2016-09-27 04:34:09 +05:30
Steve Drach
18b1c7cd8b 8153654: Update jdeps to be multi-release jar aware
Reviewed-by: mchung
2016-09-26 13:39:50 -07:00
Mandy Chung
8120ff3110 8160851: Remove old launcher module-related options
Reviewed-by: jjg, alanb
2016-08-30 17:47:46 -07:00
Stuart Marks
6bcba7521c 8164837: fix jdeprscan TestLoad and TestScan failures on Windows
Reviewed-by: darcy
2016-08-29 13:44:43 -07:00
Jan Lahoda
dc0db76409 8164836: TEST_BUG: adjust scope of the DefinedByAnalyzer in tools/all/RunCodingRules.java
Only enabling the DefinedByAnalyzer on java.compiler and jdk.compiler; removing the @DefinedBy annotations from other modules

Reviewed-by: jjg, ksrini
2016-08-29 20:55:24 +02:00
Stuart Marks
1673e17518 8145464: implement deprecation static analysis tool
Reviewed-by: psandoz, darcy
2016-08-25 17:58:39 -07:00
Srikanth Adayapalam
6c2a33a67b 8162576: Missing doclint check missing for modules
Co-authored-by: Lance Andersen <lance.andersen@oracle.com>
Reviewed-by: jjg, ksrini
2016-08-17 10:34:48 +05:30
Jonathan Gibbons
978417c4c7 8136930: Simplify use of module-system options by custom launchers
8160489: Multiple -Xpatch lines ignored by javac
8156998: javac should support new option -XinheritRuntimeEnvironment

Reviewed-by: jlahoda, ksrini
2016-08-10 15:47:46 -07:00
Jonathan Gibbons
b601617d9c 8162359: javac should use stdout for --help and --version
Reviewed-by: vromero
2016-08-03 16:01:09 -07:00
Steve Drach
e6f3a52942 8143366: Control characters in constant pool strings are not escaped properly
Reviewed-by: jjg
2016-07-29 12:27:08 -07:00
Mandy Chung
de4f424b8c 8160398: (jdeps) Replace a list of JDK 8 internal API for detecting if it's removed in JDK 9 or later
Reviewed-by: dfuchs
2016-07-13 14:41:27 -07:00
Li Jiang
0aeecb0f7d 8159324: JDK9 message drop 10 resource updates
JDK9 message drop resource updates - openjdk

Reviewed-by: rfield, alanb, joehw
2016-06-20 06:13:34 -07:00
Jonathan Gibbons
6f7a85797e 8059631: Use of '#' to represent MethodHandle kind is confusing
Reviewed-by: jrose, mcimadamore
2016-06-17 17:53:00 -07:00
Mandy Chung
b41054bc29 8159524: jdeps -jdkinternals throws NPE when no replacement is known
Reviewed-by: dfuchs
2016-06-17 14:33:54 -07:00
Li Jiang
72dfe407db 8157778: JDK9 preparation message drop resource updates
JDK9 preparation message drop resource updates - openjdk

Reviewed-by: rfield, alanb
2016-05-20 00:03:52 -07:00
Mandy Chung
0bafc010b2 8153042: jdeps should continue to report JDK internal APIs that are removed/renamed in JDK
Reviewed-by: dfuchs
2016-05-20 12:24:02 -07:00
Mandy Chung
479ecdbdaf 8157391: jdeps left JarFile open
Reviewed-by: alanb
2016-05-20 09:47:00 -07:00
Mandy Chung
6db305ee0d 8152502: tools/jdeps/modules/GenModuleInfo.java and TransitiveDeps fails on windows
Reviewed-by: jjg
2016-05-19 17:34:05 -07:00
Mandy Chung
cad01946df 8156575: Add jdeps -addmods, -system, -inverse options
Reviewed-by: dfuchs
2016-05-19 11:01:26 -07:00
Mandy Chung
bbc75367c7 8156680: jdeps implementation refresh
Reviewed-by: dfuchs
2016-05-19 10:55:33 -07:00
Mandy Chung
d027cbbffb 8153481: tools/jdeps/modules/GenModuleInfo.java and ModuleTest.java fails intermittently
Reviewed-by: dfuchs
2016-05-19 10:55:33 -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
Brent Christian
528c1dfc4e 8148187: Remove OS X-specific com.apple.concurrent package
Removed jdk.deploy.osx module (including com.apple.concurrent)

Reviewed-by: alanb, erikj, mchung
2016-03-08 11:37:00 -08:00