Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading the stubparser #1441

Merged
merged 237 commits into from
Aug 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
237 commits
Select commit Hold shift + click to select a range
a20dd0f
Create test
Bohdankm22 May 30, 2017
894e8d0
Removing test
Bohdankm22 May 30, 2017
4ba561a
Merge branch 'master' of https://github.com/typetools/checker-framework
Bohdankm22 May 30, 2017
b0a2fee
Merge branch 'master' of https://github.com/typetools/checker-framework
Bohdankm22 May 31, 2017
4f9728b
Create test
Bohdankm22 May 31, 2017
0cbe3a1
Delete test
Bohdankm22 Jun 1, 2017
0ba23b3
Merge branch 'master' of https://github.com/Bohdankm22/checker-framework
Bohdankm22 May 31, 2017
4ef98f6
Merge branch 'master' of https://github.com/typetools/checker-framework
Bohdankm22 Jun 2, 2017
171aa23
Merge branch 'master' of https://github.com/typetools/checker-framework
Bohdankm22 Jun 5, 2017
603ab8d
Merge branch 'master' of https://github.com/typetools/checker-framework
Bohdankm22 Jun 6, 2017
84af457
Merge branch 'master' of https://github.com/typetools/checker-framework
Bohdankm22 Jun 7, 2017
d8e9622
Switched dependency of the framework module from the stubparser to ja…
Bohdankm22 Jun 14, 2017
b29ad22
Merge branch 'master' of https://github.com/typetools/checker-framework
Bohdankm22 Jun 15, 2017
7965ddb
Switched dependency of the framework module from the stubparser to ja…
Bohdankm22 Jun 14, 2017
3493303
Merge remote-tracking branch 'origin/javaparser' into javaparser
Bohdankm22 Jun 15, 2017
0756f3f
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Jun 16, 2017
ee87522
- Added javaparser-core.jar library into the checker/lib
Bohdankm22 Jun 16, 2017
a47a39f
Adjusted to the changes added to the JavaParser class of the javapars…
Bohdankm22 Jun 17, 2017
64de4a0
- Updating javaparser-core to the changes made in there.
Bohdankm22 Jun 20, 2017
aa847a9
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Jun 21, 2017
dcaeaa4
- Switching to using StubUnit from IndexUnit (changed in javaparser-c…
Bohdankm22 Jun 21, 2017
bfb473e
Merge branch 'master' of https://github.com/typetools/checker-framework
Bohdankm22 Jun 21, 2017
01b7a09
- Fixed a few TODOs with optional objects checks and raw type problems.
Bohdankm22 Jun 21, 2017
4e74222
- Updated javaparser-core.jar to the newest.
Bohdankm22 Jun 24, 2017
cef667e
Add library to classpath
mernst Jun 24, 2017
0fb258e
- Updated the javaparser-core
Bohdankm22 Jun 26, 2017
80f47d5
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Jun 26, 2017
fd9acc0
Merge branch 'master' of https://github.com/typetools/checker-framework
Bohdankm22 Jun 26, 2017
2dbb747
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Jun 28, 2017
44788e9
Disable JDK 7 tests in this branch, because Stub Parser requires JDK 8
mernst Jun 28, 2017
e01094c
Merge github.com:typetools/checker-framework into javaparser
mernst Jun 28, 2017
fcc9c5f
Add missing element to path
mernst Jun 28, 2017
241438e
Add missing library to checker.jar
mernst Jun 28, 2017
6fbb923
Changed the signature of the methods that annotates the receiver in s…
Bohdankm22 Jun 30, 2017
0e381e6
Updated the javaparser-core.jar lib
Bohdankm22 Jul 3, 2017
f460ac0
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Jul 5, 2017
5954171
Simplified test case
mernst Jul 5, 2017
ad8a243
Merge branch 'javaparser' of github.com:Bohdankm22/checker-framework …
mernst Jul 5, 2017
9abf77b
Fix typo
mernst Jul 5, 2017
06ad1d1
Simplify test case
mernst Jul 5, 2017
5862975
Further simplify test case
mernst Jul 5, 2017
69a39e4
Typo fixes
mernst Jul 5, 2017
2cb28d7
- Fixed the comparing methods names in StubParser.java findElement me…
Bohdankm22 Jul 6, 2017
081a32f
- Updated the javapaser-core.jar
Bohdankm22 Jul 6, 2017
d48b925
- Fixed warning in parseMethod method.
Bohdankm22 Jul 6, 2017
940965d
- Fixed warning in parseConstructor method.
Bohdankm22 Jul 6, 2017
5d8baa0
- Temperary disabled giving warnings on receiver annotations for stat…
Bohdankm22 Jul 6, 2017
d166262
- Temperary added condition to the parseMethod and parseConstructor m…
Bohdankm22 Jul 6, 2017
9380249
- Renamed indeUnit to StubUnit in StubParser.java
Bohdankm22 Jul 6, 2017
9ebf2b1
- Updated to the newest javaparser-core.jar library.
Bohdankm22 Jul 6, 2017
94a3f69
- Updated javaparser-core.jar to the newest version.
Bohdankm22 Jul 6, 2017
c4b0a2d
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Jul 6, 2017
04728fa
- Updated receiver annotations according to Java syntax in guieffect/…
Bohdankm22 Jul 7, 2017
0eee706
- Added newline at the end of the stub file guieffect/jdk.astub
Bohdankm22 Jul 7, 2017
34e4495
- Returning multiple package declarations to the stub file guieffect/…
Bohdankm22 Jul 7, 2017
a256e83
- Done on receiver annotations adjustment in the guieffect/org-eclips…
Bohdankm22 Jul 7, 2017
746cccb
- Fixed typo in the error message.
Bohdankm22 Jul 13, 2017
8c60c3e
- Fixed the issue. According to the manual "Each package declaration …
Bohdankm22 Jul 13, 2017
49591f0
- Updated javaparser-core.jar lib.
Bohdankm22 Jul 13, 2017
0957fdd
- Updated javaparser-core.jar lib.
Bohdankm22 Jul 13, 2017
0167d09
- Implemented visit method for ArrayType in ElementPrinter
Bohdankm22 Jul 14, 2017
9c20e47
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Jul 17, 2017
9d6786c
- Updated javaparser-core.jar library.
Bohdankm22 Jul 17, 2017
63f2009
- Upd javaparser-core.jar lib.
Bohdankm22 Jul 17, 2017
b903c22
Merge branch 'master' of https://github.com/typetools/checker-framework
Bohdankm22 Jul 18, 2017
cf71c17
- Added temporary solution on type annotations in method/constructor …
Bohdankm22 Jul 18, 2017
35b4672
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Jul 19, 2017
d232373
- Updated javapaser-core.jar lib.
Bohdankm22 Jul 19, 2017
7834a8c
- Updated javaparser-core.jar lib.
Bohdankm22 Jul 19, 2017
c775495
Merge github.com:typetools/checker-framework into javaparser
mernst Jul 20, 2017
edc02b4
Improve Stub Parser debugging
mernst Jul 20, 2017
880b2fe
Merge github.com:typetools/checker-framework into javaparser
mernst Jul 20, 2017
e2369c2
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Jul 20, 2017
0839222
- Updated javaparser-core.jar lib
Bohdankm22 Jul 20, 2017
82ba273
- Updated javaparser-core.jar lib with the fix of the issue with pars…
Bohdankm22 Jul 20, 2017
dea0637
- Temporary removed the tests in Split.java.
Bohdankm22 Jul 20, 2017
42250d4
- Adjusted receiver annotations to the proper syntax in regex/jdk.astub.
Bohdankm22 Jul 20, 2017
236d9cf
Better way to skip test (temporarily)
mernst Jul 21, 2017
a05f3a6
Add missing type parameter
mernst Jul 21, 2017
eead426
Add missing type parameter
mernst Jul 21, 2017
3d20e18
Add missing import statemnts
mernst Jul 21, 2017
a195352
- Adjusted receiver annotations to the proper syntax in nullness-stub…
Bohdankm22 Jul 21, 2017
ffd1524
- Removed receiver annotations in nullness-stubfile/stubfil1.astub an…
Bohdankm22 Jul 21, 2017
d2dd803
- Added back receiver annotations in nullness-stubfile/stubfil1.astub…
Bohdankm22 Jul 21, 2017
bc08a2a
Revert "- Added back receiver annotations in nullness-stubfile/stubfi…
Bohdankm22 Jul 22, 2017
ff34e76
- Added skipping receiver parameter when comparing methods. A receive…
Bohdankm22 Jul 24, 2017
13a4625
- Removed receiver annotations in nullness-stubfile/stubfil1.astub an…
Bohdankm22 Jul 24, 2017
2bfc83c
- Updated javaparser-core.jar lib;
Bohdankm22 Jul 24, 2017
08057a4
- Adjusted visit method after added receiver annotations in MethodDec…
Bohdankm22 Jul 24, 2017
ec72c7c
Revert "- Added skipping receiver parameter when comparing methods. A…
Bohdankm22 Jul 24, 2017
611c69a
- Updated javaparser-core.jar after removing receiver from the parame…
Bohdankm22 Jul 24, 2017
a7d2c95
- Adjuster receiver annotations in signature/jdk.astub.
Bohdankm22 Jul 24, 2017
3055e6b
- Added javaparser-core lib to the classpath for -run-tests.
Bohdankm22 Jul 24, 2017
fe1f64a
- Added javaparser-core lib to the classpath for build-tests.
Bohdankm22 Jul 24, 2017
c798c76
- Added dependency on checker/lib/ to the annotationclassloader make …
Bohdankm22 Jul 25, 2017
44e2f8d
- Fixed dependency to the javaparser-core.jar in annotationclassloade…
Bohdankm22 Jul 25, 2017
864854f
- Adjusted receiver annotations in stubfile.astub.
Bohdankm22 Jul 25, 2017
3820854
- Added dependency on javaparser-core.jar in annotationclassloaded ma…
Bohdankm22 Jul 25, 2017
11c228e
- Added dependency on javaparser-core.jar in "jar" target of build.xm…
Bohdankm22 Jul 25, 2017
0c3ba8b
- Adjusted receiver annotations in reflection.astub.
Bohdankm22 Jul 25, 2017
bbff242
- Added package declarations in First.astub and NonN.astub.
Bohdankm22 Jul 25, 2017
b53c62c
- Added package declaration to the Class1.astub.
Bohdankm22 Jul 25, 2017
bf3516a
Merged with javatools master
Bohdankm22 Jul 25, 2017
5a6875b
- Updated the javaparser-core.jar lib.
Bohdankm22 Jul 26, 2017
549cf57
- Merged all classed declarations of the same package in one in the i…
Bohdankm22 Jul 26, 2017
f76531c
- Removed package declarations from stub files in issue824
Bohdankm22 Jul 26, 2017
426f1d8
- Added nullable annotation in generic argument in issue824/Second.java
Bohdankm22 Jul 26, 2017
2bd3d28
- Updated the javaparser-core.jar lib.
Bohdankm22 Jul 26, 2017
a19ff24
- Updated the javaparser-core.jar lib.
Bohdankm22 Jul 27, 2017
d10edd0
Merge branch 'master' of https://github.com/typetools/checker-framework
Bohdankm22 Jul 27, 2017
d107fac
- Updated the javaparser-core.jar lib.
Bohdankm22 Jul 28, 2017
1447057
- Removing package declaration as it not required.
Bohdankm22 Jul 28, 2017
2fc3277
- Adding back removed receiver annotation in the guieffect/jdk.astub.
Bohdankm22 Jul 28, 2017
ff3706e
- Reinstated the test Split in tests/index.
Bohdankm22 Jul 28, 2017
4d3f66d
- Reverted all the changes done in index/Split.java
Bohdankm22 Jul 28, 2017
a5ff1f9
- Ignored the test in Split.java
Bohdankm22 Jul 28, 2017
84932ce
- Added back receiver annotations in stubfile1.astub and stubfile2.astub
Bohdankm22 Jul 28, 2017
83ee560
Add Bohdan Sharipov to list of contributors [ci skip]
mernst Jul 28, 2017
00bcb77
Merge branch 'javaparser' of github.com:Bohdankm22/checker-framework …
mernst Jul 28, 2017
618ae26
Revert "- Added back receiver annotations in stubfile1.astub and stub…
Bohdankm22 Jul 28, 2017
0ed8ee3
- Changed comments in StubParser;
Bohdankm22 Jul 28, 2017
0c7eba5
- Removed modifier public from methods in enum in flow.astub.
Bohdankm22 Jul 28, 2017
8ee2fe3
- Commented enum declaration as the javaparser is still not able to h…
Bohdankm22 Jul 28, 2017
4f36800
- Added support of getting members from nested/inner classes;
Bohdankm22 Jul 29, 2017
0dd0065
- Fixed duplication in the map when super method is already in the child
Bohdankm22 Jul 29, 2017
d5bdbc6
- Replaced concatenation with append for StringBuilder.
Bohdankm22 Jul 29, 2017
3ea4752
Added back warning in parsing constructor after adding receiver type.
Bohdankm22 Jul 29, 2017
0bc585d
Fixed the problem with getting receiver annotations when parsing a co…
Bohdankm22 Jul 29, 2017
6faaeee
- Updated javaparser-core.jar lib.
Bohdankm22 Jul 29, 2017
2937f7e
- Implemented parsing nested/inner classes/interfaces after upgrading…
Bohdankm22 Jul 30, 2017
9fb2301
Merge github.com:typetools/checker-framework into javaparser
mernst Jul 30, 2017
315f122
Fix broken merge
mernst Jul 30, 2017
f1d5de3
Remove unhelpful comments
mernst Jul 30, 2017
dcae414
Reinstate blank line
mernst Jul 30, 2017
a60b353
Reinstate removed command-line argument
mernst Jul 30, 2017
4e52609
- Reinstate removed command-line argument;
Bohdankm22 Jul 30, 2017
4f92ae8
- Merged all the classes of java.awt into after one package declarati…
Bohdankm22 Jul 30, 2017
da55239
- Changed the order of the list of items in the framework/build.xml a…
Bohdankm22 Jul 30, 2017
b50a529
- Removed TODO that is no longer needed.
Bohdankm22 Jul 30, 2017
a863685
- Addressed changes in pull request;
Bohdankm22 Jul 30, 2017
526d240
- Removed debugging msgs from regular builds.
Bohdankm22 Jul 30, 2017
adce995
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Jul 31, 2017
09349f6
- Updated javaparser-core.jar lib;
Bohdankm22 Aug 1, 2017
e7386bf
- Updated javaparser-core.jar lib.
Bohdankm22 Aug 1, 2017
e0b2ae2
- Updated javaparser-core.jar lib and skipped a Test1098.
Bohdankm22 Aug 1, 2017
880d671
- Removed expected errors as it is in typetools/checker-framework
Bohdankm22 Aug 1, 2017
88c64c5
- Removed commented core that is not more needed after upgrading the …
Bohdankm22 Aug 1, 2017
fd34e1b
- Adjusted the doc: changed the stub file format description. Import …
Bohdankm22 Aug 2, 2017
d866419
- Updated the javaparser-core.jar lib.
Bohdankm22 Aug 2, 2017
56b9706
- Updated the javaparser-core.jar lib.
Bohdankm22 Aug 3, 2017
a3bfee5
Merge github.com:typetools/checker-framework
mernst Aug 3, 2017
9cf0bea
Merge github.com:typetools/checker-framework into javaparser
mernst Aug 3, 2017
62897b7
Adapt to upstream change
mernst Aug 3, 2017
cc572bd
Unskip test
mernst Aug 3, 2017
22f1317
- Removed added annotation.
Bohdankm22 Aug 4, 2017
a837a39
Small changes from code review
mernst Aug 4, 2017
f750746
Merge github.com:typetools/checker-framework into javaparser
mernst Aug 4, 2017
4f1dc93
Changelog entry
mernst Aug 4, 2017
c43fdac
Merge github.com:typetools/checker-framework
mernst Aug 4, 2017
52772aa
Merge github.com:typetools/checker-framework into javaparser
mernst Aug 4, 2017
168a48a
- Updated the javaparser-core.jar lib;
Bohdankm22 Aug 4, 2017
d82555c
- Updated the javaparser-core.jar lib.
Bohdankm22 Aug 4, 2017
826bf6c
- Updated the javaparser-core.jar after changes in GenericAdapterVisi…
Bohdankm22 Aug 4, 2017
d7f9c01
- Addressed TODO left previously.
Bohdankm22 Aug 4, 2017
e2cb6fa
- Unignored enum in flow.astub.
Bohdankm22 Aug 5, 2017
48d7798
- removed replace $ from class name as javaparser supports nested/inn…
Bohdankm22 Aug 5, 2017
e6c7051
- added support for enum classes;
Bohdankm22 Aug 5, 2017
1f39dea
- fixed ClassCastException on Enum.
Bohdankm22 Aug 5, 2017
f09ba69
- Handling parsing classes/interfaces separately of parsing enums.
Bohdankm22 Aug 5, 2017
bed1599
- Removed warning on enum parsing.
Bohdankm22 Aug 5, 2017
d7b4a13
- Added javadoc for some methods in StubParser.
Bohdankm22 Aug 5, 2017
5000ebb
- Addressed TODO;
Bohdankm22 Aug 5, 2017
8a254a3
- Removed the check on array brackets after variable name as javapars…
Bohdankm22 Aug 5, 2017
9c0838c
- Implemented parseEnum method in the StubParser the same way as pars…
Bohdankm22 Aug 6, 2017
54524aa
Merge pull request #2 from Bohdankm22/javaparser
Bohdankm22 Aug 6, 2017
0a2f0fe
Merge branch 'master' of https://github.com/typetools/checker-framework
Bohdankm22 Aug 6, 2017
5041cdb
Remove stubparser from list of projects, since it will be removed [ci…
mernst Aug 6, 2017
b3322c4
- Added array annotations test.
Bohdankm22 Aug 6, 2017
a617728
Merge branch 'master' of https://github.com/typetools/checker-framework
Bohdankm22 Aug 6, 2017
19fbf8a
Merge remote-tracking branch 'origin/master'
Bohdankm22 Aug 6, 2017
19898ef
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Aug 6, 2017
18c362b
- Added error expectations in multi-dimention array annot test.
Bohdankm22 Aug 6, 2017
a3e9654
- Fixed errors that expected in the test.
Bohdankm22 Aug 6, 2017
a341421
- Removed commented code.
Bohdankm22 Aug 7, 2017
e60188a
- Temporary disabled downstream job that should be fixed in checker-f…
Bohdankm22 Aug 7, 2017
4428ab7
- Fixed error msg in the test.
Bohdankm22 Aug 7, 2017
ce2e000
- Added more checks in test on multidimentional arrays.
Bohdankm22 Aug 7, 2017
e8af087
- Moved variables declaration to one place. Assignments will happen i…
Bohdankm22 Aug 8, 2017
38080a8
- Added documentation to the Multidimentional annotation tests.
Bohdankm22 Aug 8, 2017
543444e
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Aug 8, 2017
19da5fe
Merge branch 'master' of https://github.com/typetools/checker-framework
Bohdankm22 Aug 8, 2017
e296908
- Added array annotations test.
Bohdankm22 Aug 6, 2017
67bcf1f
- Added error expectations in multi-dimention array annot test.
Bohdankm22 Aug 6, 2017
ddfdbcc
- Fixed errors that expected in the test.
Bohdankm22 Aug 6, 2017
18f372b
- Removed commented code.
Bohdankm22 Aug 7, 2017
03b6ac1
- Temporary disabled downstream job that should be fixed in checker-f…
Bohdankm22 Aug 7, 2017
e198676
- Fixed error msg in the test.
Bohdankm22 Aug 7, 2017
ce01cf4
- Added more checks in test on multidimentional arrays.
Bohdankm22 Aug 7, 2017
3398777
- Moved variables declaration to one place. Assignments will happen i…
Bohdankm22 Aug 8, 2017
6a363b8
- Added documentation to the Multidimentional annotation tests.
Bohdankm22 Aug 8, 2017
0316e0b
Merge branch 'stubtests' of https://github.com/Bohdankm22/checker-fra…
Bohdankm22 Aug 8, 2017
d79ee32
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Aug 8, 2017
9d872fa
Merge branch 'master' of https://github.com/typetools/checker-framework
Bohdankm22 Aug 8, 2017
777a2c5
Merge branch 'master' into stubtests
Bohdankm22 Aug 8, 2017
c4e34f1
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Aug 8, 2017
f1736ab
Merge branch 'master' of https://github.com/typetools/checker-framework
Bohdankm22 Aug 8, 2017
f90d498
Merge branch 'master' into stubtests
Bohdankm22 Aug 8, 2017
e2c36fd
- Improved the documentation about the stub file format in the manual.
Bohdankm22 Aug 8, 2017
4687d27
- Added stub parsing errors reporting if problems encountered. (#1371)
Bohdankm22 Aug 8, 2017
3a401e7
- Unskipped the test for the issue with annotations on varargs. (#798)
Bohdankm22 Aug 8, 2017
0e389d7
- Skipped the test.
Bohdankm22 Aug 8, 2017
aa74b5f
Avoid reassignment
mernst Aug 8, 2017
c9ed1dc
- Addressed requested changes in documentation and stub parse error r…
Bohdankm22 Aug 8, 2017
ba29b07
- Addressed requested changes in documentation and stub parse error r…
Bohdankm22 Aug 8, 2017
7e271f8
- Improved the report msg when the error occured while parsing a stub…
Bohdankm22 Aug 8, 2017
23864fa
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Aug 9, 2017
34a4d1c
- Moving javaparser-core.jar lib from the checker to the framework mo…
Bohdankm22 Aug 9, 2017
af500b8
Adjust version number
mernst Aug 9, 2017
b036a8a
- Removing the stubparser module as now the dependency is on the fram…
Bohdankm22 Aug 9, 2017
be352bb
Remove unnecessary text, add placeholder for JavaParser bug report [c…
mernst Aug 9, 2017
e5f7ff5
Increment JDK versions
mernst Aug 9, 2017
6aff749
Update travis.yml for downstream jobs
mernst Aug 9, 2017
d343b88
Change order of jobs [ci skip]
mernst Aug 9, 2017
464cfae
Use more canonical names
mernst Aug 9, 2017
ce7568c
- Removing the stubparser from build.xml of the Checker Framework.
Bohdankm22 Aug 9, 2017
4024240
Merge branch 'remove-stub' into stubtests
Bohdankm22 Aug 9, 2017
f6168fe
Remove section about Stub file reader limitations
mernst Aug 9, 2017
5f5ac64
Merge branch 'stubtests' of github.com:Bohdankm22/checker-framework i…
mernst Aug 9, 2017
103768a
Improvements from code review
mernst Aug 10, 2017
2292cdf
Merge github.com:typetools/checker-framework into stubtests
mernst Aug 10, 2017
6159b1a
- Annotating constructor parameters.
Bohdankm22 Aug 10, 2017
d58ab59
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Aug 11, 2017
9c62cce
- Adding test on parsing arrays and varargs parameters passed to the …
Bohdankm22 Aug 11, 2017
c9baa58
- Renamed parameters in test;
Bohdankm22 Aug 11, 2017
d7c6191
- Fixed the test varargConstructorParameterAnnotaion
Bohdankm22 Aug 11, 2017
ad01b2f
- Removed the entire section about declaring an enum declaration as i…
Bohdankm22 Aug 11, 2017
d5bb6e6
Merge branch 'master' of https://github.com/typetools/checker-framewo…
Bohdankm22 Aug 12, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ matrix:
env:
## Jobs used when downloading JDK during testing.
## all-tests = junit + nonjunit + demos. Separately, test building the JDK.
- BUILDJDK=downloadjdk JDKVER=jdk7 GROUP=all-tests
- BUILDJDK=downloadjdk JDKVER=jdk7 GROUP=jdk.jar
- BUILDJDK=downloadjdk JDKVER=jdk8 GROUP=all-tests
- BUILDJDK=downloadjdk JDKVER=jdk8 GROUP=jdk.jar
- BUILDJDK=downloadjdk JDKVER=jdk7 GROUP=downstream
- BUILDJDK=downloadjdk JDKVER=jdk8 GROUP=downstream
#TODO - BUILDJDK=downloadjdk JDKVER=jdk9 GROUP=all-tests
#TODO - BUILDJDK=downloadjdk JDKVER=jdk9 GROUP=jdk.jar
#TODO - BUILDJDK=downloadjdk JDKVER=jdk9 GROUP=downstream
- BUILDJDK=downloadjdk JDKVER=jdkany GROUP=misc
## Jobs used when building JDK during testing.
# - BUILDJDK=buildjdk JDKVER=jdk7 GROUP=junit
# - BUILDJDK=buildjdk JDKVER=jdk7 GROUP=nonjunit
# - BUILDJDK=buildjdk JDKVER=jdk7 GROUP=demos
# - BUILDJDK=buildjdk JDKVER=jdk8 GROUP=junit
# - BUILDJDK=buildjdk JDKVER=jdk8 GROUP=nonjunit
# - BUILDJDK=buildjdk JDKVER=jdk8 GROUP=demos
# - BUILDJDK=buildjdk JDKVER=jdk7 GROUP=downstream
# - BUILDJDK=buildjdk JDKVER=jdk8 GROUP=downstream
# - BUILDJDK=buildjdk JDKVER=jdk9 GROUP=junit
# - BUILDJDK=buildjdk JDKVER=jdk9 GROUP=nonjunit
# - BUILDJDK=buildjdk JDKVER=jdk9 GROUP=demos
# - BUILDJDK=buildjdk JDKVER=jdk9 GROUP=downstream
# - BUILDJDK=buildjdk JDKVER=jdkany GROUP=misc


Expand Down
1 change: 0 additions & 1 deletion README-developers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ This repository contains several related projects:

framework the "framework" aspects of the Checker Framework
checker the type checkers provided with the Checker Framework
stubparser a parser for Java source code that supports type annotations
javacutil utilities for javac
dataflow a dataflow framework

Expand Down
7 changes: 3 additions & 4 deletions build-common.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ annotation-file-utilities.lib=${annotation-file-utilities.loc}/annotation-file-u

# The location and libraries for all sub-projects

stubparser.loc=${checkerframework}/stubparser
stubparser.lib=${stubparser.loc}/dist/stubparser.jar

javacutil.loc=${checkerframework}/javacutil
javacutil.lib=${javacutil.loc}/dist/javacutil.jar
javacutil.sources.lib=${javacutil.loc}/dist/javacutil-source.jar
Expand All @@ -59,9 +56,12 @@ framework.lib=${framework.loc}/dist/framework.jar

junit.lib=${framework.loc}/tests/junit-4.12.jar
hamcrest.lib=${framework.loc}/tests/hamcrest-core-1.3.jar
javaparser.core.lib=${framework.loc}/lib/javaparser-core.jar

checker.loc=${checkerframework}/checker
checker.lib=${checker.loc}/dist/checker.jar
# Place to store compilation results to avoid overwriting them.
checker.lib.tmp=${checker.loc}/dist/checker-tmp.jar
checker.qual.lib=${checker.loc}/dist/checker-qual.jar
checker.qual.sources.lib=${checker.loc}/dist/checker-qual-source.jar
checker.compat.qual.lib=${checker.loc}/dist/checker-compat-qual.jar
Expand All @@ -73,7 +73,6 @@ checker.javadoc.lib=${checker.loc}/dist/checker-javadoc.jar
checker.jdk8orhigher.sources=org/checkerframework/checker/nullness/Opt.java



# How to find the error-prone compiler
# TODO: currently you have to copy this .jar to ~/.ant/lib
# How can we set this from here?
Expand Down
4 changes: 2 additions & 2 deletions build-styleguide.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

<!-- These variables contain commands, not lists of files. -->
<!-- keep these two lists in sync -->
<property name="style.grep.files" value="--exclude-dir=.git --exclude-dir=annotated --exclude-dir=api --exclude-dir=bib --exclude-dir=bootstrap --exclude-dir=build --exclude-dir=jdk --exclude-dir=maven-artifacts --exclude-dir=stubparser --exclude='*.aux' --exclude='*.bib' --exclude='*.class' --exclude='*.dvi' --exclude='*.expected' --exclude='*.gif' --exclude='*.jar' --exclude='*.jtr' --exclude='*.log' --exclude='*.out' --exclude='*.patch' --exclude='*.pdf' --exclude='*.png' --exclude='*.sty' --exclude='*.xcf' --exclude='*~' --exclude='#*#' --exclude='CFLogo.ai' --exclude='logfile.log.rec.index' --exclude='manual.html' --exclude='manual.html-e' --exclude='junit*.properties' ."/>
<property name="style.find.files" value=". -not ( -name .git -prune ) -not ( -name annotated -prune ) -not ( -name api -prune ) -not ( -name bib -prune ) -not ( -name bootstrap -prune ) -not ( -name build -prune ) -not ( -name jdk -prune ) -not ( -path maven-artifacts -prune ) -not ( -path stubparser -prune ) -not ( -name '*.aux' ) -not ( -name '*.bib' ) -not ( -name '*.class' ) -not ( -name '*.dvi' ) -not ( -name '*.expected' ) -not ( -name '*.gif' ) -not ( -name '*.jar' ) -not ( -name '*.log' ) -not ( -name '*.out' ) -not ( -name '*.patch' ) -not ( -name '*.pdf' ) -not ( -name '*.png' ) -not ( -name 'junit*.properties' ) -not ( -name '*~' ) -not ( -name '#*#' ) -not ( -name 'manual.html' ) -not ( -name 'manual.html-e' ) -not ( -empty ) -type f"/>
<property name="style.grep.files" value="--exclude-dir=.git --exclude-dir=annotated --exclude-dir=api --exclude-dir=bib --exclude-dir=bootstrap --exclude-dir=build --exclude-dir=jdk --exclude-dir=maven-artifacts --exclude='*.aux' --exclude='*.bib' --exclude='*.class' --exclude='*.dvi' --exclude='*.expected' --exclude='*.gif' --exclude='*.jar' --exclude='*.jtr' --exclude='*.log' --exclude='*.out' --exclude='*.patch' --exclude='*.pdf' --exclude='*.png' --exclude='*.sty' --exclude='*.xcf' --exclude='*~' --exclude='#*#' --exclude='CFLogo.ai' --exclude='logfile.log.rec.index' --exclude='manual.html' --exclude='manual.html-e' --exclude='junit*.properties' ."/>
<property name="style.find.files" value=". -not ( -name .git -prune ) -not ( -name annotated -prune ) -not ( -name api -prune ) -not ( -name bib -prune ) -not ( -name bootstrap -prune ) -not ( -name build -prune ) -not ( -name jdk -prune ) -not ( -path maven-artifacts -prune ) -not ( -name '*.aux' ) -not ( -name '*.bib' ) -not ( -name '*.class' ) -not ( -name '*.dvi' ) -not ( -name '*.expected' ) -not ( -name '*.gif' ) -not ( -name '*.jar' ) -not ( -name '*.log' ) -not ( -name '*.out' ) -not ( -name '*.patch' ) -not ( -name '*.pdf' ) -not ( -name '*.png' ) -not ( -name 'junit*.properties' ) -not ( -name '*~' ) -not ( -name '#*#' ) -not ( -name 'manual.html' ) -not ( -name 'manual.html-e' ) -not ( -empty ) -type f"/>

<loadresource property="style.find.files.quoted">
<propertyresource name="style.find.files"/>
Expand Down
10 changes: 1 addition & 9 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@
<ant dir="javacutil">
<target name="javadoc"/>
</ant>
<ant dir="stubparser">
<target name="javadoc"/>
</ant>
</target>

<target name="javadoc-private"
Expand Down Expand Up @@ -156,7 +153,7 @@

<fileset id="formatted.java.files" dir="."
includes="**/*.java"
excludes="checker/jdk/,stubparser/,checker/tests/nullness-javac-errors/,framework/tests/whole-program-inference/annotated/"/>
excludes="checker/jdk/,checker/tests/nullness-javac-errors/,framework/tests/whole-program-inference/annotated/"/>

<import file="./build-styleguide.xml"/>

Expand All @@ -175,9 +172,6 @@
<ant dir="javacutil">
<target name="tags"/>
</ant>
<ant dir="stubparser">
<target name="tags"/>
</ant>
<exec executable="make" dir="docs/manual" failonerror="true">
<arg value="tags"/>
</exec>
Expand All @@ -191,8 +185,6 @@
<arg value="-i"/>
<arg value="javacutil/TAGS"/>
<arg value="-i"/>
<arg value="stubparser/TAGS"/>
<arg value="-i"/>
<arg value="docs/manual/TAGS"/>
</exec>
</target>
Expand Down
13 changes: 13 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
---------------------------------------------------------------------------

Version 2.2.0, ?? 2017

A Java 8 JVM is required to run the Checker Framework.
You can still typecheck and compile Java 7 (or earlier) code.

The stub file format has changed to be more similar to regular Java syntax.
Most notably, receiver annotations are written using standard Java 8 syntax
(a special first formal paramter named "this") and inner classes are written
using standard Java syntax (rather than at the top level using a name that
contains "$". You need to update your stub files to conform to the new syntax.

---------------------------------------------------------------------------

Version 2.1.14, 3 August 2017

Nullness Checker change to annotated JDK: The type argument to the Class,
Expand Down
2 changes: 1 addition & 1 deletion checker/bin-devel/git.pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set -e
# Need to keep checked files in sync with formatted.java.files in
# build.xml. Otherwise `ant reformat` might not reformat a file that this
# hook complains about.
CHANGED_JAVA_FILES=`git diff --staged --name-only --diff-filter=ACM | grep '\.java$' | grep -v '/jdk/' | grep -v '/stubparser/' | grep -v '/eclipse/' ` || true
CHANGED_JAVA_FILES=`git diff --staged --name-only --diff-filter=ACM | grep '\.java$' | grep -v '/jdk/' | grep -v '/eclipse/' ` || true
# echo CHANGED_JAVA_FILES "'"${CHANGED_JAVA_FILES}"'"
if [ ! -z "$CHANGED_JAVA_FILES" ]; then
ant -silent update-run-google-java-format
Expand Down
2 changes: 1 addition & 1 deletion checker/bin-devel/javac
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ annoToolsDir="${cfDir}"/../annotation-tools
# Put afu jar files last, as they might contain out-of-date CF files.
# Put "checker" after the other sub-projects, as "ant bindist" puts
# other projects into the checker/build directory.
buildDirs="${cfDir}"/dataflow/build:"${cfDir}"/javacutil/build:"${cfDir}"/stubparser/build:"${cfDir}"/framework/build:"${cfDir}"/checker/build:"${annoToolsDir}"/scene-lib/bin:"${annoToolsDir}"/annotation-file-utilities/annotation-file-utilities.jar
buildDirs="${cfDir}"/dataflow/build:"${cfDir}"/javacutil/build:"${cfDir}"/framework/build:"${cfDir}"/checker/build:"${cfDir}"/checker/lib/javaparser-core.jar:"${annoToolsDir}"/scene-lib/bin:"${annoToolsDir}"/annotation-file-utilities/annotation-file-utilities.jar
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the "${cfDir}"/checker/lib/javaparser-core.jar forgotten here from some older version of this change?
I just got a little bit confused by this addition. Not really a problem, but perhaps better clean it up.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@panacekcz , the pull request removed the stub parser source code from the Checker Framework repository and added, in its place, a dependency on a .jar file built from an external repository. So, adding that dependence is correct.

@feliperodri , should we rename the javaparser-core.jar file to stubparser-core.jar, to emphasize that this is not the real JavaParser but our modified version of it? (However, all the package names are not changed, so it isn't currently possible to use real JavaParser at the same time as the Stub Parser.)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mernst , I would definitely suggest you rename the javaparser-core.jar file to stubparser-core.jar. Futures developers might find this confusing, so it is better to make clear it's a different version (even though it isn't possible to use both at the same time right now.)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, that question should have been aimed at @Bohdankm22 . My mistake.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mernst In that case, I think the path should be changed to "${cfDir}"/framework/lib/javaparser-core.jar and added to javac-debug as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@panacekcz, @mernst it's true, the path should be changed because the lib is in the framework/lib/. I will change it and rename to the stubparser-core.jar.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And keep javac in sync with javac-debug, as Vlastimil pointed out. (Thanks; I missed that in my review.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mernst, sure.
Doing the changes in #1451


## Preserve quoting and spaces in arguments, which would otherwise be lost
## due to being passed through the shell twice.
Expand Down
2 changes: 1 addition & 1 deletion checker/bin-devel/javac-debug
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ annoToolsDir="${cfDir}"/../annotation-tools
# Put afu jar files last, as they might contain out-of-date CF files.
# Put "checker" after the other sub-projects, as "ant bindist" puts
# other projects into the checker/build directory.
buildDirs="${cfDir}"/dataflow/build:"${cfDir}"/javacutil/build:"${cfDir}"/stubparser/build:"${cfDir}"/framework/build:"${cfDir}"/checker/build:"${annoToolsDir}"/scene-lib/bin:"${annoToolsDir}"/annotation-file-utilities/annotation-file-utilities.jar
buildDirs="${cfDir}"/dataflow/build:"${cfDir}"/javacutil/build:"${cfDir}"/framework/build:"${cfDir}"/checker/build:"${annoToolsDir}"/scene-lib/bin:"${annoToolsDir}"/annotation-file-utilities/annotation-file-utilities.jar

## Preserve quoting and spaces in arguments, which would otherwise be lost
## due to being passed through the shell twice.
Expand Down
34 changes: 10 additions & 24 deletions checker/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,6 @@
<!-- Exclude ManualTaglet to not depend on javadoc. -->
<exclude name="**/javacutil/dist/**"/>
</fileset>
<!-- Do not re-compile the stubparser, as it is not lint clean.
<fileset dir="${stubparser.loc}/${src}">
<include name="**/*.java"/>
</fileset>
-->
<fileset dir="${dataflow.loc}/${src}">
<include name="**/*.java"/>
</fileset>
Expand All @@ -225,7 +220,7 @@
<echo message="${src.files.spaceseparated}" file="${tmpdir}/srcfiles-checker.txt"/>
<java fork="true"
failonerror="true"
classpath="${javac.lib}:${framework.lib}:${junit.lib}:${hamcrest.lib}:${annotation-file-utilities.lib}"
classpath="${javac.lib}:${framework.lib}:${javaparser.core.lib}:${junit.lib}:${hamcrest.lib}:${annotation-file-utilities.lib}"
classname="com.sun.tools.javac.Main">
<jvmarg value="-Xbootclasspath/p:${javac.lib}"/>
<arg value="-g"/>
Expand Down Expand Up @@ -292,7 +287,7 @@
<!-- With Ant 1.9.4 or later, add to each javadoc task:
failonwarning="true"
but Travis is stuck on Ant 1.8.2 as of 6/2016 -->
<javadoc sourcepath="${javacutil.loc}/${src}:${dataflow.loc}/${src}:${stubparser.loc}/${src}:${framework.loc}/${src}:${annotation-file-utilities.loc}/${src}"
<javadoc sourcepath="${javacutil.loc}/${src}:${dataflow.loc}/${src}:${framework.loc}/${src}:${annotation-file-utilities.loc}/${src}"
destdir="${api.doc}"
private="${javadoc.private}"
encoding="UTF-8"
Expand All @@ -305,7 +300,6 @@

<package name="org.checkerframework.javacutil.*"/>
<package name="org.checkerframework.dataflow.*"/>
<package name="org.checkerframework.stubparser.*"/>
<package name="org.checkerframework.framework.*"/>
<package name="org.checkerframework.common.*"/>
<package name="org.checkerframework.checker.*"/>
Expand Down Expand Up @@ -354,7 +348,6 @@
<fileset dir="${framework.loc}/${src}"/>
<fileset dir="${dataflow.loc}/${src}"/>
<fileset dir="${javacutil.loc}/${src}"/>
<fileset dir="${stubparser.loc}/${src}"/>
</copy>

<jar destfile="${checker.sources.lib}" basedir="${checker-sources-tmp}"/>
Expand All @@ -366,22 +359,22 @@

<mkdir dir="dist" />

<!-- Only unjar the afu and stubparser - everything else is recompiled. -->

<!-- jar up compilation results to protect against being
overwritten by unjarring annotation-file-utilities.lib.
See https://github.com/typetools/checker-framework/issues/894 -->
<jar destfile="${checker.lib}" basedir="${build}" excludes="polyall/,tests/,lubglb/,jtreg/,reports/"/>

<!-- Only unjar the stubparser and afu - everything else is recompiled. -->
<jar destfile="${checker.lib.tmp}" basedir="${build}" excludes="polyall/,tests/,lubglb/,jtreg/,reports/"/>
<unjar src="${annotation-file-utilities.lib}" dest="${build}" />
<!-- Also delete anything in the org/checkerframework package in case it has be removed
from the framework-->
<delete includeemptydirs="true">
<fileset dir="${build}/org/checkerframework"/>
</delete>

<unjar src="${stubparser.lib}" dest="${build}" />
<!-- Work-around for Issue 894, see above. -->
<unjar src="${checker.lib}" dest="${build}" />
<unjar src="${checker.lib.tmp}" dest="${build}" />

<unjar src="${javaparser.core.lib}" dest="${build}" />

<jar destfile="${checker.lib}" basedir="${build}" excludes="polyall/,tests/,lubglb/,jtreg/,reports/">
<manifest>
Expand Down Expand Up @@ -1274,13 +1267,6 @@ So, use our own archived version.
<exclude name="**/javacutil/dist/**"/>
</fileset>

<fileset dir="${stubparser.loc}/${src}">
<include name="**/*.java"/>
<!-- Ignore the huge, auto-generated parser.
TODO: might be a nice benchmark for performance optimization? -->
<exclude name="**/AST*.java"/>
<exclude name="**/Token.java"/>
</fileset>
<!-- Do not check dataflow, it doesn't have all purity
annotations. TODO: should be easy to fix. Or solved
once we inherit those annotations.
Expand Down Expand Up @@ -1434,8 +1420,8 @@ So, use our own archived version.
<javac failonerror="true"
includeantruntime="false"
debug="true"
classpath="${checker.lib}:${junit.lib}:${hamcrest.lib}"
srcdir="${framework.loc}/${src}:${dataflow.loc}/${src}:${javacutil.loc}/${src}:${stubparser.loc}/${src}:${src}"
classpath="${checker.lib}:${javaparser.core.lib}:${junit.lib}:${hamcrest.lib}"
srcdir="${framework.loc}/${src}:${dataflow.loc}/${src}:${javacutil.loc}/${src}:${src}"
includes="**/*.java"
excludes="**/javacutil/dist/**"
compiler="com.google.errorprone.ErrorProneAntCompilerAdapter"
Expand Down
2 changes: 1 addition & 1 deletion checker/eclipse/Checkers - Interning.launch
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER&quot; javaProject=&quot;jsr308-langtools&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;org.checkerframework.checker&quot; type=&quot;1&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;jsr308-langtools&quot; type=&quot;1&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;stubparser&quot; type=&quot;1&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot; type=&quot;1&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;&#10;&lt;memento exportedEntriesOnly=&quot;false&quot; project=&quot;jsr308-langtools&quot;/&gt;&#10;&lt;/runtimeClasspathEntry&gt;&#10;"/>
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
Expand Down
2 changes: 1 addition & 1 deletion checker/eclipse/Checkers - Nullness.launch
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER&quot; javaProject=&quot;jsr308-langtools&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;org.checkerframework.checker&quot; type=&quot;1&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;jsr308-langtools&quot; type=&quot;1&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;stubparser&quot; type=&quot;1&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot; type=&quot;1&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;&#10;&lt;memento exportedEntriesOnly=&quot;false&quot; project=&quot;jsr308-langtools&quot;/&gt;&#10;&lt;/runtimeClasspathEntry&gt;&#10;"/>
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
Expand Down
4 changes: 2 additions & 2 deletions checker/jtreg/nullness/issue824/Class1.astub
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ import org.checkerframework.checker.nullness.qual.Nullable;

public <F extends @NonNull Object> void wildcardExtends(Gen<? extends F> class1);
public <F extends @NonNull Object> void wildcardSuper(Gen<@NonNull ? super F> class1);
}

class Class1$Gen<F extends @NonNull Object> {}
class Gen<F extends @NonNull Object> {}
}
8 changes: 4 additions & 4 deletions checker/jtreg/nullness/issue824/First.astub
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import org.checkerframework.checker.nullness.qual.Nullable;

public class First {
public static <T extends @Nullable Object> void method(Supplier<T> supplier, Callable<@Nullable ? super T> callable) {}
}
public static <T extends @Nullable Object> void method(Supplier<T> supplier, Callable<@Nullable ? super T> callable) {}

public interface First$Supplier<T extends @Nullable Object> {}
public interface Supplier<T extends @Nullable Object> {}

public interface First$Callable<T extends @Nullable Object> {}
public interface Callable<T extends @Nullable Object> {}
}