]> source.dussan.org Git - aspectj.git/commit
LangUtil: remove methods like 'is11VMOrGreater', 'is1dot5VMOrGreater'
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Mon, 19 Feb 2024 03:22:10 +0000 (10:22 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Mon, 19 Feb 2024 04:21:19 +0000 (11:21 +0700)
commit198957fd26d1e5cd347c0c1c3a0c9100295af4cf
tree38e4be75f6abf612b04cf4a938607a5acbe5f370
parent08d0c4435b61512f55f8d0e357b09496fdbe155a
LangUtil: remove methods like 'is11VMOrGreater', 'is1dot5VMOrGreater'

Replace them by a uniform method 'isVMGreaterOrEqual(double)', also
overloaded for int.

This gets rid of one 'AspectJ_JDK_Update' tag. One less place to check
and update with each newly supported Java version. :-)

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
61 files changed:
ajde.core/src/test/java/org/aspectj/ajde/core/TestCompilerConfiguration.java
ajde/src/test/java/org/aspectj/ajde/ui/utils/TestCompilerConfiguration.java
ajdoc/src/main/java/org/aspectj/tools/ajdoc/HtmlDecorator.java
ajdoc/src/main/java/org/aspectj/tools/ajdoc/Main.java
ajdoc/src/test/java/org/aspectj/tools/ajdoc/AjdocOutputChecker.java
ajdoc/src/test/java/org/aspectj/tools/ajdoc/AjdocTestCase.java
ajdoc/src/test/java/org/aspectj/tools/ajdoc/CoverageTestCase.java
ajdoc/src/test/java/org/aspectj/tools/ajdoc/DeclareFormsTest.java
bridge/src/test/java/org/aspectj/bridge/VersionTest.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/ajc/BuildArgParser.java
org.aspectj.ajdt.core/src/test/java/org/aspectj/ajdt/internal/compiler/batch/CommandTestCase.java
org.aspectj.ajdt.core/src/test/java/org/aspectj/tools/ajc/AjcTestCase.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/reflect/ReflectionWorld.java
org.aspectj.matcher/src/test/java/org/aspectj/matcher/tools/CommonAdvancedPointcutExpressionTests.java
org.aspectj.matcher/src/test/java/org/aspectj/matcher/tools/CommonPointcutExpressionTests.java
testing/src/test/java/org/aspectj/testing/AjcTest.java
testing/src/test/java/org/aspectj/testing/AntSpec.java
testing/src/test/java/org/aspectj/testing/RunSpec.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava10OrLater.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava11OrLater.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava12OrLater.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava13OrLater.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava14Only.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava14OrLater.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava15Only.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava15OrLater.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava16Only.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava16OrLater.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava17Only.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava17OrLater.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava18Only.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava18OrLater.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava19Only.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava19OrLater.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava20Only.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava20OrLater.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava21Only.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava21OrLater.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCaseForJava9OrLater.java
testing/src/test/java/org/aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java
tests/src/test/java/org/aspectj/systemtest/ajc150/GenericsTests.java
tests/src/test/java/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java
tests/src/test/java/org/aspectj/systemtest/ajc190/ModuleTests.java
tests/src/test/java/org/aspectj/systemtest/ajc1919/AllTestsAspectJ1919.java
tests/src/test/java/org/aspectj/systemtest/ajc1920/AllTestsAspectJ1920.java
tests/src/test/java/org/aspectj/systemtest/ajc1921/AllTestsAspectJ1921.java
tests/src/test/java/org/aspectj/systemtest/ajc195/AllTestsAspectJ195.java
tests/src/test/java/org/aspectj/systemtest/ajc196/AllTestsAspectJ196.java
tests/src/test/java/org/aspectj/systemtest/ajc197/AllTestsAspectJ197.java
tests/src/test/java/org/aspectj/systemtest/ajc198/AllTestsAspectJ198.java
tests/src/test/java/org/aspectj/systemtest/ajc199/AllTestsAspectJ199.java
tests/src/test/java/org/aspectj/systemtest/apt/AptTests.java
tests/src/test/java/org/aspectj/systemtest/incremental/tools/MultiProjTestCompilerConfiguration.java
tests/src/test/java/org/aspectj/tests/TestsModuleTests.java
util/src/main/java/org/aspectj/util/LangUtil.java
util/src/test/java/org/aspectj/util/LangUtilTest.java
weaver/src/main/java/org/aspectj/weaver/bcel/ClassPathManager.java
weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java
weaver/src/test/java/org/aspectj/weaver/WeaverModuleTests.java
weaver/src/test/java/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXTestCase.java
weaver/src/test/java/org/aspectj/weaver/bcel/JImageTestCase.java