diff options
author | albert-github <albert.tests@gmail.com> | 2021-05-11 13:52:50 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2021-05-11 13:52:50 (GMT) |
commit | 333d6e67cde82ceed413fa7fb2e18c1232279e1b (patch) | |
tree | 5895d484d1b8dd8ee576d5e9d7c991fb49c70a39 | |
parent | cd998a7164e30cee896cccd190846b79ebb4355f (diff) | |
download | Doxygen-333d6e67cde82ceed413fa7fb2e18c1232279e1b.zip Doxygen-333d6e67cde82ceed413fa7fb2e18c1232279e1b.tar.gz Doxygen-333d6e67cde82ceed413fa7fb2e18c1232279e1b.tar.bz2 |
issue #8541 avadoc: external links to classes in java.lang are not resolved
Adding the default packages from "java.lang"
From the standard "The Java® Language, Specification, Java SE 16 Edition" ,Chapter 7, Packages and Modules:
> Code in a compilation unit automatically has access to all classes and interfaces
> declared in its package and also automatically imports all of the public classes and
> interfaces declared in the predefined package java.lang.
-rw-r--r-- | src/scanner.l | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l index 00fa3b4..b5a9c05 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -7561,6 +7561,16 @@ static void parseMain(yyscan_t yyscanner, { BEGIN( FindMembersPHP ); } + else if ( yyextra->insideJava ) + { + QCString scope="java.lang.*"; + yyextra->current->name=removeRedundantWhiteSpace(substitute(scope.left(scope.length()-1),".","::")); + yyextra->current->fileName = yyextra->yyFileName; + yyextra->current->section=Entry::USINGDIR_SEC; + yyextra->current_root->moveToSubEntryAndRefresh(yyextra->current); + initEntry(yyscanner); + BEGIN( FindMembers ); + } else { BEGIN( FindMembers ); |