-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restores the previous binary reader implementation's local symbol tab…
…le handling behavior for several edge cases.
- Loading branch information
Showing
9 changed files
with
147 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.amazon.ion.impl; | ||
|
||
import com.amazon.ion.SymbolTable; | ||
|
||
interface _Private_LocalSymbolTable extends SymbolTable { | ||
|
||
/** | ||
* @return a mutable copy of the symbol table. | ||
*/ | ||
_Private_LocalSymbolTable makeCopy(); | ||
|
||
/** | ||
* Returns the imported symbol tables without making a copy. | ||
* <p> | ||
* <b>Note:</b> Callers must not modify the resulting SymbolTable array! | ||
* This will violate the immutability property of this class. | ||
* | ||
* @return | ||
* the imported symtabs, as-is; the first element is a system | ||
* symtab, the rest are non-system shared symtabs | ||
* | ||
* @see SymbolTable#getImportedTables() | ||
*/ | ||
SymbolTable[] getImportedTablesNoCopy(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters