Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1536 commits
Select commit Hold shift + click to select a range
a05d162
Match module without resolving graph if possible
mickaelistria Jul 24, 2025
69e1f76
Ignore modules when reading module-info from jar
mickaelistria Jul 24, 2025
92fd2b6
Do not match method name as field
mickaelistria Jul 24, 2025
d9ca4a9
Do not put corrupt jar in class/module path
mickaelistria Jul 24, 2025
ed9d27a
Better match level for method declarations with generics
mickaelistria Jul 24, 2025
e9c722c
Fix completion and relevance for super field
datho7561 Jul 24, 2025
79e60a0
Fix `CompletionTests.testBug385858c` (bad context expected type signa…
datho7561 Jul 24, 2025
d5814ab
Fix fine grain matching permitted types reference
mickaelistria Jul 24, 2025
53bb8d5
Match import module
mickaelistria Jul 24, 2025
de6c2b8
Assorted completion bug fixes
datho7561 Jul 24, 2025
838f2d3
Fix read/write match check for fields
mickaelistria Jul 25, 2025
6b2c6d8
Improve naming of java files from jar
mickaelistria Jul 29, 2025
83c18ff
Suggest package name for all inner classes outside current one
datho7561 Jul 29, 2025
3428a73
Fixes JavaSearchMultipleProjectsTests.testPackageReference1
robstryker Jul 30, 2025
e086f75
Improve matching/filtering anonymous types
mickaelistria Jul 30, 2025
8b2fe7c
Display type arguments of method parameters in method completion
datho7561 Jul 30, 2025
eb24d5f
Do not match methodInvocations without bindings
mickaelistria Jul 30, 2025
ea97704
Protected members from class in same package should be suggested
datho7561 Jul 30, 2025
641d46b
Fix testTypeReference35 and others
robstryker Jul 23, 2025
4c4dd7b
Refine setting local element
mickaelistria Jul 30, 2025
ec48a2c
Avoid exception converting AST with empty variable fragments
mickaelistria Jul 31, 2025
2b942a5
Fix matched IJavaElement for record component
mickaelistria Jul 31, 2025
51e0c42
Fix for `CompletionTests.testBug574982`
datho7561 Jul 25, 2025
f52d39e
Better detect record components bindings
mickaelistria Jul 31, 2025
a3eff05
Don't convert module when using Java 8
datho7561 Jul 31, 2025
0df8f39
Better match reference to record components
mickaelistria Aug 1, 2025
198c20d
Fix completion of variables from an instanceof expression on same line
datho7561 Jul 31, 2025
ee313eb
Fix package in tests
mickaelistria Aug 4, 2025
b523e0a
Do not match package binding as type reference
mickaelistria Aug 4, 2025
fd5f7fa
Do not set module source path is module-info.java doesn't exist
mickaelistria Aug 4, 2025
63c4588
Fix ranges for module-qualified member reference
mickaelistria Aug 4, 2025
ef29562
Don't match RecordDeclaration name
mickaelistria Aug 4, 2025
88657a3
Ignore completion tests for the moment
mickaelistria Aug 4, 2025
371fde8
Process possibleMatch.getSimilarMatch() for binary
mickaelistria Aug 4, 2025
8c95c05
Second attempt at fixing testConstructorReferencesStringPatternSingle…
robstryker Aug 4, 2025
7c0a206
Fix NPE
robstryker Aug 4, 2025
efd275b
Get rid of SearchMatchUtility
mickaelistria Aug 5, 2025
60d7532
Filter condition to allow matching recovered package as potential type
mickaelistria Aug 5, 2025
cfdf531
Resolve module symbol for `import module`
mickaelistria Aug 5, 2025
5387b95
Match implicit/synthetic references to super constructors
mickaelistria Aug 5, 2025
0765fed
DeclarationOfSentMessage to report MethodDeclarationMatch
mickaelistria Aug 5, 2025
6ec87d6
Fix matching declarationOfReferencedTypes
mickaelistria Aug 5, 2025
5a5aeca
Fix resolution of binary type bindings
mickaelistria Aug 6, 2025
598ecc4
Ignore more Javac-specific warnings in tests
mickaelistria Aug 6, 2025
1179d80
Return JavaElement for binary anonymous type binding
mickaelistria Aug 6, 2025
8ed4cef
Avoid repeated calls to methods by storing results in variable and other
robstryker Aug 6, 2025
0fae0ce
Ignore a test
robstryker Aug 7, 2025
37910d7
Separate out call and store result for easier debugging
robstryker Aug 7, 2025
b1b072b
Raw methods matching everything except type params should be accurate…
robstryker Aug 7, 2025
e185a94
Only set SUPER flavor when actually resolving super
mickaelistria Aug 7, 2025
291774d
Find unresolved patterns via searching in certain circumstances
robstryker Aug 7, 2025
f9b98b5
Match constructor refs in Javadoc
mickaelistria Aug 7, 2025
e684aa1
Fix test, since javadoc cannot process this file anyway
mickaelistria Aug 7, 2025
d0be8af
Fix testFieldReference03
robstryker Jul 23, 2025
952888e
Disable bad tests
robstryker Aug 13, 2025
9ccea81
Isolate common logic in utility method
robstryker Aug 13, 2025
917e380
Extract logic to new method for clarity
robstryker Aug 14, 2025
53f528b
Fix testFieldReference12
robstryker Aug 13, 2025
1ee7639
Fix ASTConverter15Test.test0026 - wrong start position for anonymous …
robstryker Aug 14, 2025
98334ec
Fix test0082
robstryker Aug 14, 2025
d8f10a4
Fix for testFieldReference09
robstryker Aug 13, 2025
fa782db
Fix test0162 - boxing and unboxing
robstryker Aug 18, 2025
66d4b30
Fix test0132 - extended dimensions after varargs is malformed
robstryker Aug 19, 2025
a8e3cc3
Fix test0175
robstryker Aug 19, 2025
9fdd415
Access restriction tree scanner
datho7561 Aug 12, 2025
f8252fe
Fix test0310
robstryker Aug 20, 2025
14d2f6f
Fix test0308
robstryker Aug 20, 2025
8d219cd
Fixes test0300
robstryker Aug 21, 2025
0abebc4
Fix test test0088
robstryker Aug 22, 2025
17eb86e
Fixes test0166
robstryker Aug 22, 2025
e0867bb
Fix test0298
robstryker Aug 22, 2025
1634330
Don't match TypeParameter as type reference
mickaelistria Aug 25, 2025
515c522
Ignore whitespaces for EnumConstantDecl with anonymous class
mickaelistria Aug 26, 2025
9d5fe4b
Revert "Ignore whitespaces for EnumConstantDecl with anonymous class"
mickaelistria Aug 26, 2025
18bd81d
Don't delete JavaSearch and JavaSearch15 test projects
mickaelistria Aug 26, 2025
951a907
Fixes test0168
robstryker Aug 26, 2025
cfa9b9e
Allow to resolve variableBinding to JavaElement when in initializer
mickaelistria Aug 26, 2025
5761079
Fix bugs with access restriction reporting
datho7561 Aug 20, 2025
10cab42
Fix test0177
robstryker Aug 26, 2025
5f7a6b9
Fix regressions
robstryker Aug 27, 2025
1a45a5b
Fix regressions
robstryker Aug 27, 2025
ea400a9
Ignore extra constructors params generated by Javac
mickaelistria Aug 28, 2025
8a45283
Do not trim args from enum loaded from source
mickaelistria Aug 28, 2025
371cb46
Fix sourceName for anonymous types to be `new A(){}`
mickaelistria Aug 27, 2025
7b3dba8
Avoid stackOverflow
mickaelistria Aug 28, 2025
a61787e
Prevent NPE in bindingResolver
mickaelistria Aug 28, 2025
a2d4b2e
Map some more problems
mickaelistria Aug 28, 2025
a0b0973
Fix test0261 by commenting out irrelevant part of test
robstryker Aug 28, 2025
553f9bf
Comment out various assertions counting problem count
robstryker Aug 28, 2025
081002e
Avoid some NPEs
mickaelistria Aug 28, 2025
3bd792c
Fix test0276 - finding declaring node for annotation binding
robstryker Aug 28, 2025
1d3526f
Avoid using PossibleMatch in HashMap
mickaelistria Aug 28, 2025
e5a35d4
Fix potential NPE for recovered annotation types
mickaelistria Aug 29, 2025
4b1129d
Map more problem
mickaelistria Aug 29, 2025
1c96ee3
Keep order for imports
mickaelistria Aug 29, 2025
0cc5280
Order declaredMethods
mickaelistria Aug 29, 2025
389c820
Use more EitherOrMultiPattern when expected
mickaelistria Sep 1, 2025
96cca17
JavacTypeBinding.getDeclaredMethods() order
mickaelistria Sep 1, 2025
ad16935
Use baseSymbol to better resolve JavacMethodBinding.getJavaElement()
mickaelistria Sep 1, 2025
7c46b36
Fix not reporting reference to java.lang.Object
datho7561 Aug 29, 2025
b342475
Fix JavacMethodBinding,getMethodDeclaration()
mickaelistria Sep 2, 2025
8e89da4
Handle DeclarationOfReferencedMethodsPattern in search
datho7561 Sep 2, 2025
1345ba2
Fix for test0268
robstryker Aug 29, 2025
a207d2c
Better pass custom Java lib
mickaelistria Sep 2, 2025
3e01fca
Fix/Update JCL
mickaelistria Sep 3, 2025
65587ac
JavacTypeBinding.getJavaElement() return null (as spec'd) for primitives
mickaelistria Sep 3, 2025
2a0ddf6
Fix test0222 and several other javadoc tests
robstryker Sep 4, 2025
03ef091
Fix some AST tests
mickaelistria Sep 4, 2025
dbbe6d9
Improve getKey for wildcards
mickaelistria Sep 5, 2025
5a06f5b
Fix getKey for arrays
mickaelistria Sep 5, 2025
5a7f7cd
As spec'd in Javadoc, make getErasure() return this for generic types
mickaelistria Sep 5, 2025
a7b4300
Remove useless imports in tests
mickaelistria Sep 5, 2025
fdee544
Fix missing import in test
mickaelistria Sep 5, 2025
9591064
Fix issue with isCapture - test0169
robstryker Sep 5, 2025
a372b6b
createASTs with binding key also notify null without CUs
mickaelistria Sep 5, 2025
2a25d84
Update javac poms after master rebase
robstryker Sep 8, 2025
9948dfc
Fix test0204c - issue with key for inner classes
robstryker Sep 5, 2025
59198f5
Fix testModuleImportPatternReferences
robstryker Sep 10, 2025
bad1930
Fix test564049_009
robstryker Sep 10, 2025
27a522f
Skip unused/restricted access checks when lint isn't requested
mickaelistria Sep 11, 2025
0be131f
Better map UnsafeGenericCast
mickaelistria Sep 12, 2025
94fd472
Map NotAnnotationType
mickaelistria Sep 12, 2025
017da65
Null binding for unresolved annotations
mickaelistria Sep 12, 2025
f335ea0
Better handle incomplete try/catch/finally
mickaelistria Sep 12, 2025
5b7df70
Revert unnecessary parts of Fix test564049_009
robstryker Sep 12, 2025
65fa3c3
Partial fix for testIssue708_1 - better dom tree support for switch /…
robstryker Sep 12, 2025
dae5480
Match UndefinedAnnotationMember in tests
mickaelistria Sep 14, 2025
dfd1785
annotation with unknown type have null binding
mickaelistria Sep 14, 2025
49e1727
In complex type, resolve names to erasure
mickaelistria Sep 15, 2025
5e1e4ed
Match "This instance method cannot override the static method from X" in
mickaelistria Sep 15, 2025
71fd363
Return null for error types without recovery
mickaelistria Sep 15, 2025
8102171
Match "This static method cannot hide the instance method from X" in
mickaelistria Sep 15, 2025
ee0f377
Fix getBinaryName() for TypeVariable
mickaelistria Sep 15, 2025
36dbd8c
Use occurence count when getting IJavaElement for local or anon type
datho7561 Sep 12, 2025
a1f610e
Use pattern match instead of String.equals for package binding
datho7561 Sep 15, 2025
26f692a
Allow passing value from AST to a MemberValuePairBinding
mickaelistria Sep 15, 2025
5499b06
Fix search for methods in classes in jars
datho7561 Sep 2, 2025
d72fe4c
Fix JavacTypeVariableBinding.getBinaryName()
mickaelistria Sep 15, 2025
d5cbebe
Ignore unresolved annotations when not recovering
mickaelistria Sep 15, 2025
209f1a8
Basic JavacRecoveredTypeBinding
mickaelistria Sep 16, 2025
944d0cf
Fix test case related to using IJavaElement to find package references
datho7561 Sep 16, 2025
25f0f7c
Improve recovery for ParameterizedType
mickaelistria Sep 16, 2025
dd9433a
Add stubbed out impl for new API in IModuleBinding
robstryker Sep 17, 2025
c531be3
Re-remove currently unused "Build and Test" CI stage
mickaelistria Sep 17, 2025
371a006
Improve JavaRecoveredTypeBinding methods
mickaelistria Sep 16, 2025
72a498d
Factorize/improve recovered type bindings
mickaelistria Sep 18, 2025
1945cbd
Adapt 1 test to Javac (which recovered parsing better)
mickaelistria Sep 18, 2025
ac0eb2d
Do not always return a recovered binding for type.resolveBinding
mickaelistria Sep 18, 2025
7f8d2d1
Limit results to search scope
datho7561 Sep 16, 2025
0c90ee9
Trim ';` from try resources
mickaelistria Sep 18, 2025
c7aa1ef
Propagate malformed
mickaelistria Sep 18, 2025
c949d21
Fix errors related to recovered type bindings without binding symbol
datho7561 Sep 18, 2025
d836195
Improve recovery for missing type argument
mickaelistria Sep 19, 2025
f8251de
Set up for java 25 (#1756)
robstryker Sep 19, 2025
9413c0d
Fix testIssue3308b
robstryker Sep 19, 2025
ef45164
Higher Java version for GitHub workflows
mickaelistria Sep 19, 2025
b703c67
Add exceptions with | to method keys
mickaelistria Sep 19, 2025
e6b0ca6
Properly return annotations for parameterized method
mickaelistria Sep 19, 2025
fcda7cb
Use TreeInfo.getEndPos() for blocks
mickaelistria Sep 22, 2025
0d1f40a
Use TreeInfo.endPos() for block
mickaelistria Sep 22, 2025
282ea59
Improve getKey for inner static member type in generic
mickaelistria Sep 22, 2025
6ebf937
Set useSource when re-reading Javadoc
mickaelistria Sep 22, 2025
ad06c21
Fix bugs related to searching for type refs of type in default package
datho7561 Sep 22, 2025
aa8ff13
Fix testBug209996_c22_3 - issue with annotation matches
robstryker Sep 22, 2025
bca6a2c
Recover blocks
mickaelistria Sep 22, 2025
b263bdc
Fix IJavaElement for local classes in jars
datho7561 Sep 22, 2025
0e59512
Fix bug testBug295894c4
robstryker Sep 23, 2025
edf7816
Fix testBug90915
robstryker Sep 24, 2025
cec7b90
Use ExecutableType instead of MethodType to allow generic ForAll
mickaelistria Sep 24, 2025
f8fd4f2
Pass ExecutableType instead of MethodType
mickaelistria Sep 24, 2025
413e628
Use line number for local type's key
mickaelistria Sep 25, 2025
ec0f2ca
Avoid NPE in JavacTypes
mickaelistria Oct 1, 2025
269c704
Fixes testBug108088: A workaround to fix missing types in javac task
robstryker Sep 25, 2025
a9ba0df
Avoid NPE using wildcardType.bound
mickaelistria Oct 1, 2025
e8df8bf
Test referencing auxiliary type without .class
mickaelistria Sep 29, 2025
a968d65
Avoid NPE on JavacRecoveredTypeBinding.isDeprecated()
mickaelistria Oct 2, 2025
6d4ff42
Fix testEnum03
robstryker Oct 2, 2025
e1c91dd
Trim out annotations for type names in model
mickaelistria Oct 2, 2025
139033e
Do not cache erroneous types
mickaelistria Oct 3, 2025
61a23f8
Map compiler.err.cant.ref.non.effectively.final.var
mickaelistria Oct 3, 2025
9e5f511
Improve how methods with errorTypes are handled
mickaelistria Oct 3, 2025
64a84f0
Avoid NPE in JavacRecoveredTypeBinding.getName()
mickaelistria Oct 4, 2025
91dab5f
Minor fixes to no fail at completing captures
mickaelistria Oct 6, 2025
65b4c32
Improve support for captures in completion
mickaelistria Oct 6, 2025
9219075
Avoid possible NPE
mickaelistria Oct 7, 2025
c6b6628
Fix generating signatures from bindings
mickaelistria Oct 7, 2025
c64b9ea
Fix some bounds and signatures
mickaelistria Oct 7, 2025
230b875
Avoid NPE on isRawType()
mickaelistria Oct 8, 2025
7db22b4
Fail back to symbol name as type key
mickaelistria Oct 9, 2025
af93459
Map some more problems
mickaelistria Oct 9, 2025
5aa90da
Mark `JavaSearchBugs8Tests.testBug400899g36` as investigated
datho7561 Oct 9, 2025
e4ac8fe
Avoid NPE in ProceedOnErrorGen
mickaelistria Oct 10, 2025
9f56157
Fix NPE when typeSymbol is null (recovered)
mickaelistria Oct 10, 2025
6ad8799
Try to add support for missing constructors
robstryker Oct 1, 2025
26acd1f
Continue work
robstryker Oct 2, 2025
4f2d82d
Prevent useless logging when FS is not expected class
mickaelistria Oct 13, 2025
e1726f9
Populate "small" numbers as Integers in the symbol cache
mickaelistria Oct 13, 2025
634aace
Prevent StackOverflowError with thrown type variables
mickaelistria Oct 13, 2025
39d6c62
Avoid exception when trying to find whether unnamed object is used
mickaelistria Oct 13, 2025
e87e253
Prevent AbortCompilation for AccessRestrictionTreeScanner
mickaelistria Oct 13, 2025
8211e18
Attempt to fix random java model exception errors cluttering log duri…
robstryker Oct 14, 2025
5ef4cf1
Undo single change to see if it fixes regressions
robstryker Oct 14, 2025
8d01187
Partial Fix for testAnonymousTypeMethodReferenceSearchGh432_part1
robstryker Oct 14, 2025
fee1533
Fix StackOverflow in parameterized method binding key
datho7561 Oct 10, 2025
15c4b98
Fix key for wildcard/extends type
mickaelistria Oct 15, 2025
babe36e
Fix testMethodDeclarationsElementPatternMultipleParamArguments05
robstryker Oct 17, 2025
5b143e6
Fix testIssue708_1
robstryker Oct 18, 2025
23828da
Honer classpath from ASTParser.setEnvironment
mickaelistria Oct 18, 2025
34f9211
Avoid InvalidSignatureException for intersection types
mickaelistria Oct 18, 2025
8ec05b5
Attempt skipping extra analysis when problems are not requested
mickaelistria Oct 20, 2025
8c3c5d6
fix testStringParameterizedMultipleArguments01
robstryker Oct 21, 2025
df09fef
ignore compiler.note.deprecated.recompile
mickaelistria Oct 21, 2025
18452eb
Attempt to fix testFieldReference07
robstryker Oct 22, 2025
76709c4
Stub implementation for JavacPackageBinding
robstryker Oct 24, 2025
c881eba
Fix testTypeDeclaration01
robstryker Oct 24, 2025
d72d794
Fix NPE
robstryker Oct 24, 2025
72dec5e
Skip AccessRestriction checks if not linting
mickaelistria Oct 20, 2025
eb9a0eb
Remove irrelevant content when focalPoint is set
mickaelistria Nov 2, 2025
a3e2d64
Really remove irrelevant content when focalPoint is set
mickaelistria Nov 2, 2025
643a709
Fix testTypeReference22
robstryker Oct 24, 2025
059154a
Remove irrelevant Javadoc when focalPoint is set
mickaelistria Nov 3, 2025
7916ee2
Skip doclint with focalPoint (unless focalPoint in Javadoc)
mickaelistria Nov 4, 2025
420921e
Fix testBug221081 and others
robstryker Nov 4, 2025
0efa752
Fix testBug306223a
robstryker Nov 4, 2025
19231d9
Ignore "generated" types
mickaelistria Nov 4, 2025
2cc4b84
Build type completion proposal directly from match
mickaelistria Nov 5, 2025
8ef969a
Honor ignoreMethodBodies
mickaelistria Nov 7, 2025
0e9c843
Fix testBug123836j
robstryker Nov 6, 2025
43bddf4
Fix testBug286379a
robstryker Nov 10, 2025
91c09b3
Fix testBug110336b
robstryker Nov 10, 2025
9e7532d
Attempt to fix testBug120816a
robstryker Nov 11, 2025
14438b3
Regressions on lambda expressions
robstryker Nov 11, 2025
c859141
Use existing index for listCompilationUnitsWithMultipleTopLevelClasses
mickaelistria Nov 7, 2025
a7b89d4
Fix testBug83230_Explicit01
robstryker Nov 11, 2025
77b3e0d
Fix testBug148215_Fields
robstryker Nov 11, 2025
2876e97
Fix testBug148215_Messages
robstryker Nov 12, 2025
d30a7c5
Loosen testBug164791 as result tested is too specific
robstryker Nov 14, 2025
b94bc73
Partial fix for testBug209778
robstryker Nov 14, 2025
313812d
Fix testMethodReferencesElementPatternMultipleTypeParameter01 in Java…
robstryker Nov 18, 2025
c822b18
Fix testMethodReferencesElementPatternSingleTypeParameter05
robstryker Nov 19, 2025
0b282b5
Fix testMethodReferencesElementPatternMultipleParamArguments01
robstryker Nov 19, 2025
897b11d
A Preference page to control usage of Javac backend
mickaelistria Nov 20, 2025
9c4d56d
Update category.xml with new feature id
mickaelistria Nov 20, 2025
bb85cfc
Fix testMethodReferencesElementPatternSingleParamArguments04 and others
robstryker Nov 20, 2025
48e7a60
Partial Fix for testMethodReferencesElementPatternMultipleTypeParamet…
robstryker Nov 21, 2025
01b5e37
Fix NPE
robstryker Nov 21, 2025
c683d2c
Fix NPE
robstryker Nov 21, 2025
e8c9b55
Fixes testBug431357_015
robstryker Nov 24, 2025
411dfec
Fix testBug521240_001
robstryker Nov 24, 2025
6f1e0ae
Fix testGH902_whenTypeReferenceIsUnknownButQualified_expectToBeFound
robstryker Nov 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .github/workflows/auto-author-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Auto Author Assign

on:
pull_request_target:
types: [ opened, reopened ]

permissions:
pull-requests: write

jobs:
assign-author:
runs-on: ubuntu-latest
steps:
- uses: toshimaru/[email protected]
68 changes: 68 additions & 0 deletions .github/workflows/ci-dom-javac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Continuous Integration with DOM/Javac
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-dom
cancel-in-progress: true

on:
push:
branches: [ 'dom-with-javac' ]
pull_request:
branches: [ 'dom-with-javac' ]

jobs:
build-dom-javac:
runs-on: ubuntu-latest
steps:
- name: Install xmllint
shell: bash
run: |
sudo apt update
sudo apt install -y libxml2-utils
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Set up JDKs ☕
uses: actions/setup-java@v4
with:
java-version: |
8
17
21
24
25
mvn-toolchain-id: |
JavaSE-1.8
JavaSE-17
JavaSE-21
JavaSE-24
JavaSE-25
distribution: 'temurin'
- name: Set up Maven
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.9
- name: Build with Maven 🏗️
run: |
mvn install --batch-mode -DskipTests -Pbree-libs -Dtycho.buildqualifier.format="'z'yyyyMMdd-HHmm" -Dproject.build.sourceEncoding=UTF-8 -pl org.eclipse.jdt.core.javac,org.eclipse.jdt.core.javac.feature,org.eclipse.jdt.core.tests.model,org.eclipse.jdt.core.tests.compiler
mvn verify --batch-mode -f org.eclipse.jdt.core.tests.javac --fail-at-end -Ptest-on-javase-24 -Pbree-libs -DfailIfNoTests=false -DexcludedGroups=org.junit.Ignore -DproviderHint=junit47 -Papi-check -Dproject.build.sourceEncoding=UTF-8 -Dmaven.test.failure.ignore=true -Dmaven.test.error.ignore=true
- name: 'Upload Artifact'
if: success() || failure() # run this step even if previous step failed
uses: actions/upload-artifact@v4
with:
name: Test results
path: '*/target/surefire-reports/TEST-*.xml'
- name: Test Report
if: success() || failure() # run this step even if previous step failed
run: |
message="▶️ TESTS RUN: $(xmllint --xpath 'string(/testsuite/@tests)' */target/surefire-reports/TEST-*.xml | awk '{n += $1}; END{print n}' -)
❌ FAILURES: $(xmllint --xpath 'string(/testsuite/@failures)' */target/surefire-reports/TEST-*.xml | awk '{n += $1}; END{print n}' -)
💥 ERRORS: $(xmllint --xpath 'string(/testsuite/@errors)' */target/surefire-reports/TEST-*.xml | awk '{n += $1}; END{print n}' -)
🛑 SKIPPED: $(xmllint --xpath 'string(/testsuite/@skipped)' */target/surefire-reports/TEST-*.xml | awk '{n += $1}; END{print n}' -)"
echo "$message"
echo "$message" >> $GITHUB_STEP_SUMMARY
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: '*/target/surefire-reports/TEST-*.xml'
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ concurrency:

on:
push:
branches: '**'
branches: ['**']

jobs:
event_file:
Expand Down
19 changes: 19 additions & 0 deletions JCL/converterJclMin10/src/java/lang/Boolean.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package java.lang;


public class Boolean {
public static final Boolean TRUE = new Boolean(true);
public static final Boolean FALSE = new Boolean(false);
public Boolean(boolean b) {
}
}
45 changes: 45 additions & 0 deletions JCL/converterJclMin10/src/java/lang/Byte.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package java.lang;


public class Byte extends Number implements Comparable<Byte> {
private static final long serialVersionUID = 8750891329089001085L;
public Byte(byte b) {
}
/* (non-Javadoc)
* @see java.lang.Number#doubleValue()
*/
public double doubleValue() {
return 0;
}
/* (non-Javadoc)
* @see java.lang.Number#floatValue()
*/
public float floatValue() {
return 0;
}
/* (non-Javadoc)
* @see java.lang.Number#intValue()
*/
public int intValue() {
return 0;
}
/* (non-Javadoc)
* @see java.lang.Number#longValue()
*/
public long longValue() {
return 0;
}
public int compareTo(Byte b) {
return 0;
}
}
39 changes: 39 additions & 0 deletions JCL/converterJclMin10/src/java/lang/Character.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package java.lang;

public class Character {
public Character(char c) {
}
public static char toLowerCase(char c) {
return ' ';
}

public static int getNumericValue(char c) {
return 0;
}

public static int digit(char ch, int radix) {
return 0;
}
public static boolean isWhitespace(char c) {
return false;
}
public static boolean isJavaIdentifierStart(char c) {
return false;
}
public static boolean isJavaIdentifierPart(char c) {
return false;
}
public static boolean isDigit(char c) {
return false;
}
}
59 changes: 59 additions & 0 deletions JCL/converterJclMin10/src/java/lang/Integer.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package java.lang;

public class Integer extends Number implements Comparable<Integer> {
private static final long serialVersionUID = 6462609062775655000L;

public Integer(int i) {
}
public Integer(String s) {
}
public static final int MAX_VALUE= 2147483647;
public static final int MIN_VALUE= -2147483647;

public static int parseInt(String s) throws NumberFormatException {
return 0;
}
public static String toHexString(int i) {
return null;
}
public static String toString(int i) {
return null;
}
/* (non-Javadoc)
* @see java.lang.Number#doubleValue()
*/
public double doubleValue() {
return 0;
}
/* (non-Javadoc)
* @see java.lang.Number#floatValue()
*/
public float floatValue() {
return 0;
}
/* (non-Javadoc)
* @see java.lang.Number#intValue()
*/
public int intValue() {
return 0;
}
/* (non-Javadoc)
* @see java.lang.Number#longValue()
*/
public long longValue() {
return 0;
}
public int compareTo(Integer i) {
return 0;
}
}
46 changes: 46 additions & 0 deletions JCL/converterJclMin10/src/java/lang/Long.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/*******************************************************************************
* Copyright (c) 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package java.lang;

public class Long extends Number implements Comparable<Long> {
private static final long serialVersionUID = 7046418566711138668L;
public static final long MIN_VALUE = 0x8000000000000000L;
public static final long MAX_VALUE = 0x7fffffffffffffffL;
public Long(long l) {
}
/* (non-Javadoc)
* @see java.lang.Number#doubleValue()
*/
public double doubleValue() {
return 0;
}
/* (non-Javadoc)
* @see java.lang.Number#floatValue()
*/
public float floatValue() {
return 0;
}
/* (non-Javadoc)
* @see java.lang.Number#intValue()
*/
public int intValue() {
return 0;
}
/* (non-Javadoc)
* @see java.lang.Number#longValue()
*/
public long longValue() {
return 0;
}
public int compareTo(Long l) {
return 0;
}
}
26 changes: 26 additions & 0 deletions JCL/converterJclMin10/src/java/lang/Number.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package java.lang;


public abstract class Number implements java.io.Serializable {
private static final long serialVersionUID = 3166984097235214156L;
public abstract int intValue();
public abstract long longValue();
public abstract float floatValue();
public abstract double doubleValue();
public byte byteValue() {
return (byte) intValue();
}
public short shortValue() {
return (short) intValue();
}
}
16 changes: 16 additions & 0 deletions JCL/converterJclMin10/src/java/lang/NumberFormatException.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package java.lang;


public class NumberFormatException extends RuntimeException {
private static final long serialVersionUID = 9070730590112500498L;
}
45 changes: 45 additions & 0 deletions JCL/converterJclMin10/src/java/lang/Short.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package java.lang;


public class Short extends Number implements Comparable<Short> {
private static final long serialVersionUID = -8044450932684282285L;
public Short(short s) {
}
/* (non-Javadoc)
* @see java.lang.Number#doubleValue()
*/
public double doubleValue() {
return 0;
}
/* (non-Javadoc)
* @see java.lang.Number#floatValue()
*/
public float floatValue() {
return 0;
}
/* (non-Javadoc)
* @see java.lang.Number#intValue()
*/
public int intValue() {
return 0;
}
/* (non-Javadoc)
* @see java.lang.Number#longValue()
*/
public long longValue() {
return 0;
}
public int compareTo(Short s) {
return 0;
}
}
Loading
Loading